:root {
  /* Colors */
  --border: 231 229 228;
  --input: 231 229 228;
  --ring: 4 120 87;
  --background: 250 250 249;
  --foreground: 28 25 23;

  --primary: 4 120 87;
  --primary-foreground: 255 255 255;

  --secondary: 217 119 6;
  --secondary-foreground: 255 255 255;

  --destructive: 239 68 68;
  --destructive-foreground: 255 255 255;

  --muted: 245 245 244;
  --muted-foreground: 120 113 108;

  --accent: 254 243 199;
  --accent-foreground: 180 83 9;

  --success: 16 185 129;
  --success-foreground: 255 255 255;

  --popover: 255 255 255;
  --popover-foreground: 28 25 23;

  --card: 255 255 255;
  --card-foreground: 28 25 23;

  /* Fonts */
  --font-sans: 'Poppins', 'Inter', sans-serif;
  --font-heading: 'Manrope', sans-serif;
}

/* Dark mode variables (if applied to html.dark) */
.dark {
  --border: 41 37 36;
  --input: 41 37 36;
  --background: 12 10 9;
  --foreground: 250 250 249;
  --muted: 41 37 36;
  --muted-foreground: 168 162 158;
  --card: 28 25 23;
  --card-foreground: 250 250 249;
  --popover: 28 25 23;
  --popover-foreground: 250 250 249;
}

/* Basic Reset (Tailwind Preflight replacement) */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: rgb(var(--border));
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-sans);
  font-feature-settings: normal;
  font-variation-settings: normal;
}

body {
  margin: 0;
  line-height: inherit;
  background-color: rgb(var(--background));
  color: rgb(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: rgb(var(--muted-foreground));
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin 3s linear infinite;
}

/* Layout Components */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 300ms;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .navbar-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.navbar-content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 50;
}

.navbar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: rgb(var(--primary));
  letter-spacing: -0.025em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 150ms, background-color 150ms;
  position: relative;
  color: rgb(var(--muted-foreground));
}

.nav-link:hover {
  color: rgb(var(--foreground));
  background-color: rgb(var(--muted));
}

.nav-link.active {
  color: rgb(var(--primary));
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem;
  color: rgb(var(--foreground));
}

.theme-toggle:hover {
  background-color: rgb(var(--muted));
}

.icon-sun {
  height: 1.25rem;
  width: 1.25rem;
  transition: all 150ms;
}

.dark .icon-sun {
  display: none;
}

.icon-moon {
  height: 1.25rem;
  width: 1.25rem;
  transition: all 150ms;
  display: none;
}

.dark .icon-moon {
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  background-color: rgb(var(--foreground));
  color: rgb(var(--background));
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms;
  box-shadow: 0 10px 15px -3px rgb(4 120 87 / 0.25);
}

.btn-primary:hover {
  background-color: rgba(28, 25, 23, 0.9);
}

.dark .btn-primary:hover {
  background-color: rgba(250, 250, 249, 0.9);
}

.quote-btn {
  display: none;
}

@media (min-width: 768px) {
  .quote-btn {
    display: flex;
  }
}

.icon-phone {
  margin-right: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background-color: rgb(var(--muted));
}

.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 50;
  width: 300px;
  background-color: rgb(var(--background));
  border-left: 1px solid rgb(var(--border));
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: translateX(100%);
  transition: transform 300ms;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  padding: 0.5rem;
  border-radius: 9999px;
}

.mobile-menu-close:hover {
  background-color: rgb(var(--muted));
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgb(var(--muted-foreground));
  transition: color 150ms;
}

.mobile-nav-link:hover {
  color: rgb(var(--foreground));
}

.mobile-nav-link.active {
  color: rgb(var(--primary));
}

.mobile-quote-btn {
  width: 100%;
  margin-top: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.hover-pause:hover {
  animation-play-state: paused;
}
/* Beautiful Custom Table Styles for Product Technical Data */
#detailed-description-text table {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #475569;
}

:is(.dark #detailed-description-text table) {
  border-color: #334155;
  color: #cbd5e1;
}

#detailed-description-text table tr {
  transition: background-color 0.15s;
}

#detailed-description-text table tr:not(:last-child) td,
#detailed-description-text table tr:not(:last-child) th {
  border-bottom: 1px solid #e2e8f0;
}

:is(.dark #detailed-description-text table tr:not(:last-child) td),
:is(.dark #detailed-description-text table tr:not(:last-child) th) {
  border-bottom-color: #334155;
}

#detailed-description-text table tr:hover {
  background-color: #f8fafc;
}

:is(.dark #detailed-description-text table tr:hover) {
  background-color: rgba(30, 41, 59, 0.5);
}

#detailed-description-text table td,
#detailed-description-text table th {
  padding: 0.75rem 1rem;
  vertical-align: top;
}

#detailed-description-text table td:first-child {
  font-weight: 500;
  color: #0f172a;
  width: 30%;
}

:is(.dark #detailed-description-text table td:first-child) {
  color: #f8fafc;
}



/* Fix missing top border for the wrapper if needed */
#detailed-description-text .mart {
  border-radius: 0.5rem;
  overflow-x: auto;
}
