:root {
  --ink: #0b1f2d;
  --muted: #576b78;
  --line: #d6e0e6;
  --paper: #f4f7f8;
  --white: #ffffff;
  --navy: #061d2e;
  --navy-soft: #0b3449;
  --teal: #006d80;
  --teal-dark: #044f60;
  --cyan: #2da6b8;
  --gold: #c79b42;
  --whatsapp: #23c466;
  --whatsapp-dark: #128a4b;
  --mist: #e9f0f3;
  --danger: #b83b3b;
  --shadow: 0 18px 46px rgba(6, 29, 46, 0.15);
  --logo-paper: #fbfcf7;
  --logo-paper-soft: #f6f8f2;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef4f6 0, var(--paper) 420px),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.sticky-search-panel {
  position: sticky;
  top: 88px;
  z-index: 19;
  padding: 7px clamp(18px, 5vw, 64px);
  background: rgba(246, 249, 250, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(6, 29, 46, 0.06);
  backdrop-filter: blur(16px);
}

.sticky-search-panel .search-box {
  max-width: 900px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--navy-soft));
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 125, 143, 0.18);
}

.brand-mark.logo-mark {
  overflow: hidden;
  padding: 0;
  background: transparent;
  width: 288px;
  height: auto;
  aspect-ratio: 720 / 150;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
  isolation: isolate;
}

.brand-mark.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}

.brand-mark.logo-mark + span {
  display: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: 24px;
  color: #344b5a;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--teal);
}

.main-nav a[aria-current="page"] {
  color: var(--teal);
  font-weight: 800;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switcher select {
  min-height: 38px;
  max-width: 168px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.button,
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary,
.header-action {
  color: #fff;
  background: var(--teal-dark);
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.primary:hover,
.header-action:hover {
  background: var(--teal-dark);
}

.primary.whatsapp-link,
.header-action.whatsapp-link {
  color: #fff;
  background: var(--whatsapp-dark);
  box-shadow: 0 12px 26px rgba(18, 138, 75, 0.22);
}

.primary.whatsapp-link:hover,
.header-action.whatsapp-link:hover {
  background: #0d7640;
}

.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.whatsapp-link {
  gap: 8px;
}

.email-link {
  gap: 8px;
}

.whatsapp-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.02 3.2A12.72 12.72 0 0 0 5.06 22.4L3.2 29.1l6.86-1.8a12.74 12.74 0 1 0 5.96-24.1Zm0 2.55a10.18 10.18 0 0 1 8.7 15.47 10.15 10.15 0 0 1-12.82 3.7l-.49-.24-4.07 1.06 1.1-3.96-.27-.51a10.18 10.18 0 0 1 7.85-15.52Zm-4.37 5.33c-.23 0-.6.08-.92.43-.31.34-1.2 1.17-1.2 2.86 0 1.68 1.23 3.31 1.4 3.54.17.23 2.38 3.82 5.86 5.2 2.9 1.15 3.49.92 4.12.86.63-.06 2.02-.82 2.3-1.62.29-.8.29-1.48.2-1.62-.09-.14-.32-.23-.67-.4-.34-.17-2.02-1-2.33-1.11-.31-.12-.54-.17-.77.17-.23.34-.88 1.11-1.08 1.34-.2.23-.4.26-.74.09-.34-.17-1.45-.53-2.76-1.7-1.02-.91-1.71-2.04-1.91-2.38-.2-.34-.02-.53.15-.7.16-.15.34-.4.51-.6.17-.2.23-.34.34-.57.11-.23.06-.43-.03-.6-.09-.17-.77-1.85-1.05-2.54-.28-.66-.56-.57-.77-.58h-.65Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.02 3.2A12.72 12.72 0 0 0 5.06 22.4L3.2 29.1l6.86-1.8a12.74 12.74 0 1 0 5.96-24.1Zm0 2.55a10.18 10.18 0 0 1 8.7 15.47 10.15 10.15 0 0 1-12.82 3.7l-.49-.24-4.07 1.06 1.1-3.96-.27-.51a10.18 10.18 0 0 1 7.85-15.52Zm-4.37 5.33c-.23 0-.6.08-.92.43-.31.34-1.2 1.17-1.2 2.86 0 1.68 1.23 3.31 1.4 3.54.17.23 2.38 3.82 5.86 5.2 2.9 1.15 3.49.92 4.12.86.63-.06 2.02-.82 2.3-1.62.29-.8.29-1.48.2-1.62-.09-.14-.32-.23-.67-.4-.34-.17-2.02-1-2.33-1.11-.31-.12-.54-.17-.77.17-.23.34-.88 1.11-1.08 1.34-.2.23-.4.26-.74.09-.34-.17-1.45-.53-2.76-1.7-1.02-.91-1.71-2.04-1.91-2.38-.2-.34-.02-.53.15-.7.16-.15.34-.4.51-.6.17-.2.23-.34.34-.57.11-.23.06-.43-.03-.6-.09-.17-.77-1.85-1.05-2.54-.28-.66-.56-.57-.77-.58h-.65Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.email-icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 2v.35l8 5.15 8-5.15V7H4Zm0 2.7V17h16V9.7l-7.46 4.8a1 1 0 0 1-1.08 0L4 9.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 2v.35l8 5.15 8-5.15V7H4Zm0 2.7V17h16V9.7l-7.46 4.8a1 1 0 0 1-1.08 0L4 9.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.danger {
  color: var(--danger);
  background: #fff;
  border-color: #efc7c7;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 29, 0.96), rgba(5, 34, 50, 0.78) 52%, rgba(4, 24, 38, 0.28)),
    linear-gradient(180deg, rgba(3, 18, 29, 0.06), rgba(3, 18, 29, 0.72)),
    url("assets/hero-marine-spares.jpg") center / cover;
}

.hero-content {
  position: relative;
  width: min(860px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 7vw, 86px) clamp(18px, 5vw, 64px);
}

.eyebrow,
.section-kicker,
.product-category {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
}

.quote-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin-top: 26px;
  padding: 16px 18px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 138, 75, 0.98), rgba(7, 93, 58, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.quote-ribbon-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: var(--whatsapp-dark);
  background: #fff;
  border-radius: 8px;
}

.quote-ribbon strong,
.floating-quote strong {
  display: block;
  line-height: 1.18;
}

.quote-ribbon strong {
  font-size: clamp(19px, 2vw, 28px);
}

.quote-ribbon small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.hero-actions,
.footer-actions,
.admin-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
  font-size: 25px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.search-band,
.support-strip,
.section,
.service-section,
.site-footer {
  padding: clamp(42px, 7vw, 76px) clamp(18px, 5vw, 64px);
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: #d7e1e6;
  border-bottom: 1px solid var(--line);
}

.support-strip article {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f6f9fa);
}

.support-strip span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.support-strip strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.support-strip p {
  margin: 0;
  color: var(--muted);
}

.search-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 24px;
  align-items: end;
  background:
    linear-gradient(180deg, #ffffff 0, #f7fafb 100%);
  border-top: 1px solid rgba(6, 29, 46, 0.04);
  border-bottom: 1px solid var(--line);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 420px;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 29, 0.96), rgba(5, 34, 50, 0.76) 54%, rgba(4, 24, 38, 0.26)),
    linear-gradient(180deg, rgba(3, 18, 29, 0.08), rgba(3, 18, 29, 0.72)),
    url("assets/hero-marine-spares.jpg") center / cover;
  content: "";
}

.page-hero-content {
  position: relative;
  width: min(900px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.02;
}

.page-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.page-section {
  padding: clamp(42px, 7vw, 76px) clamp(18px, 5vw, 64px);
}

.page-section.alt {
  background: #fff;
}

.section-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-card-grid,
.contact-grid,
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.contact-card,
.fact-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid rgba(0, 109, 128, 0.25);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 29, 46, 0.055);
}

.service-card span,
.contact-card span,
.fact-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.contact-card h3,
.fact-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.service-card p,
.contact-card p,
.fact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card .button {
  width: fit-content;
  margin-top: 8px;
}

.trust-section {
  background:
    linear-gradient(180deg, #ffffff 0, #f7fafb 100%);
  border-top: 1px solid rgba(0, 109, 128, 0.08);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid rgba(0, 109, 128, 0.32);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 29, 46, 0.055);
}

.trust-card span {
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--navy);
  background: rgba(207, 164, 62, 0.16);
  border: 1px solid rgba(207, 164, 62, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.trust-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-confidence {
  background:
    linear-gradient(180deg, #f7fafb 0, #ffffff 100%);
  border-top: 1px solid rgba(6, 29, 46, 0.06);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.order-steps article {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 29, 46, 0.05);
}

.order-steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.order-steps h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.order-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.order-notice {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #0b3b52);
  border-radius: 8px;
}

.order-notice strong {
  font-size: 18px;
}

.order-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-checklist li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.page-checklist li::before {
  float: left;
  width: 18px;
  margin-left: -28px;
  color: var(--teal);
  content: "✓";
}

h2,
h1,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box.compact {
  grid-template-columns: auto minmax(260px, 1fr) 128px;
  gap: 10px;
  align-items: center;
}

.search-box.compact > span:first-child {
  color: var(--ink);
  white-space: nowrap;
}

.search-field {
  position: relative;
  display: block;
}

.search-box input,
.admin-search,
.product-form input,
.product-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.search-box input,
.admin-search {
  min-height: 48px;
  padding: 0 16px;
}

.search-box.compact input {
  min-height: 38px;
}

.search-box input {
  padding-right: 54px;
  box-shadow: inset 0 1px 0 rgba(6, 29, 46, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-pulse {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.72;
}

.search-pulse::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  background: var(--teal);
  border-radius: 999px;
  content: "";
  transform: rotate(45deg);
}

.search-field::before {
  position: absolute;
  inset: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(45, 166, 184, 0.12), transparent);
  border-radius: 8px;
  content: "";
  opacity: 0;
  transform: translateX(-45%);
}

.search-box.is-searching input {
  border-color: rgba(0, 109, 128, 0.58);
  box-shadow: 0 0 0 3px rgba(0, 109, 128, 0.09);
}

.search-box.is-searching .search-pulse {
  animation: searchSpin 700ms linear infinite;
}

.search-box.is-searching .search-field::before {
  animation: searchSweep 720ms ease both;
}

.search-status {
  min-height: 18px;
  min-width: 128px;
  overflow: hidden;
  color: var(--teal);
  text-overflow: ellipsis;
  white-space: nowrap;
}

section[id] {
  scroll-margin-top: 150px;
}

@keyframes searchSpin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes searchSweep {
  0% {
    opacity: 0;
    transform: translateX(-55%);
  }

  25%,
  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(55%);
  }
}

.section-heading,
.admin-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.product-heading-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.product-heading-actions > .button {
  min-height: 38px;
  padding: 0 14px;
}

.category-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #445869;
  cursor: pointer;
}

.category-tabs .is-active {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.brand-section {
  background:
    linear-gradient(180deg, #eef5f6, #f7fafb);
  border-top: 1px solid rgba(0, 109, 128, 0.08);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 8px;
}

.brand-card {
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 12px 8px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.brand-card:hover,
.brand-card.is-active {
  border-color: hsl(var(--brand-hue, 190) 72% 34%);
  box-shadow: 0 12px 28px rgba(6, 29, 46, 0.1);
  transform: translateY(-2px);
}

.brand-card.is-active {
  background: linear-gradient(180deg, #fff, hsl(var(--brand-hue, 190) 65% 96%));
}

.brand-card-more {
  border-style: dashed;
  background: hsl(var(--brand-hue, 190) 70% 97%);
}

.brand-logo {
  display: grid;
  width: 62px;
  height: 40px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, hsl(var(--brand-hue, 190) 72% 32%), hsl(calc(var(--brand-hue, 190) + 34) 58% 43%));
  border-radius: 8px;
  font-weight: 900;
}

.brand-logo.has-image {
  padding: 7px;
  background: #fff;
  border: 1px solid rgba(20, 32, 43, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.brand-logo.has-image.needs-dark {
  background: #102838;
  border-color: rgba(16, 40, 56, 0.16);
}

.brand-logo.has-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-logo span {
  display: block;
  max-width: 48px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo.is-small {
  width: 42px;
  height: 30px;
  flex: 0 0 42px;
  border-radius: 6px;
}

.brand-logo.is-small.has-image {
  padding: 4px;
}

.brand-logo.is-small span {
  max-width: 28px;
  font-size: 11px;
}

.brand-name {
  min-width: 0;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.15;
}

.brand-count {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.seo-catalog-hero {
  min-height: 360px;
}

.seo-catalog {
  background: #f7fafb;
}

.seo-catalog-count {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.seo-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-product-row {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(0, 109, 128, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 29, 46, 0.05);
}

.seo-product-link {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.24;
}

.seo-product-link:hover {
  color: var(--teal);
}

.seo-product-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.seo-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.seo-pagination span {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.seo-pagination a:last-child {
  justify-self: end;
}

.product-grid.is-updating .product-card {
  animation: none;
}

@keyframes cardRefresh {
  0% {
    opacity: 0.55;
  }

  100% {
    opacity: 1;
  }
}

.result-count {
  margin: -12px 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.product-card,
.admin-panel,
.service-steps article,
.admin-product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 29, 46, 0.055);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 430px;
  border-top: 2px solid rgba(0, 109, 128, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(0, 109, 128, 0.3);
  border-top-color: var(--teal);
  box-shadow: 0 14px 34px rgba(6, 29, 46, 0.11);
  transform: translateY(-2px);
}

.product-image,
.admin-thumb {
  position: relative;
  display: grid;
  place-items: center;
  background: #fff;
}

.product-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f7fafb);
  border-bottom: 1px solid rgba(6, 29, 46, 0.06);
}

.product-image img,
.admin-thumb img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.product-placeholder {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  font-size: 34px;
  font-weight: 800;
}

.product-content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  min-width: 0;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.product-content h3 {
  margin: 0;
  min-height: 66px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-content h3 a:hover {
  color: var(--teal);
}

.product-content p {
  color: var(--muted);
  font-size: 14px;
}

.product-content > p:not(.product-category):not(.product-model) {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-model {
  margin: 8px 0;
  font-weight: 700;
  min-height: 38px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-meta a {
  color: var(--whatsapp-dark);
  font-weight: 800;
}

.product-rfq {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #fff !important;
  background: var(--whatsapp-dark);
  border: 1px solid rgba(18, 138, 75, 0.18);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(18, 138, 75, 0.18);
  font-size: 13px;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  background:
    linear-gradient(135deg, var(--navy), #0b3b52);
  color: #fff;
}

.service-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.service-steps {
  display: grid;
  gap: 14px;
}

.service-steps article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.service-steps span {
  color: var(--gold);
  font-weight: 800;
}

.service-steps h3 {
  margin: 8px 0;
}

.service-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.about {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 28px;
  background: var(--white);
}

.about > p,
.about-list {
  color: var(--muted);
  font-size: 17px;
}

.about-list {
  margin: 0;
  padding-left: 20px;
}

.about-list li + li {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  color: #fff;
  background:
    linear-gradient(135deg, var(--navy), #0b3442);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-email {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
}

.footer-email:hover {
  color: var(--gold);
}

.legal-disclaimer {
  max-width: 1180px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-disclaimer h2,
.legal-disclaimer h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-disclaimer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.page-section.legal-disclaimer {
  max-width: none;
  border-top-color: rgba(6, 29, 46, 0.14);
}

.page-section.legal-disclaimer h2 {
  color: var(--ink);
}

.page-section.legal-disclaimer p {
  color: var(--muted);
}

.detail-disclaimer {
  margin: 0 clamp(18px, 5vw, 64px) 92px;
  padding: 18px 0 0;
  border-top-color: rgba(20, 32, 43, 0.14);
}

.detail-disclaimer h2 {
  color: var(--ink);
}

.detail-disclaimer p {
  color: var(--muted);
}

.mobile-contact-bar {
  display: none;
}

.floating-quote {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 28;
  display: inline-flex;
  align-items: center;
  max-width: 330px;
  padding: 14px 16px;
  color: #fff;
  background: var(--whatsapp-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(7, 31, 49, 0.28);
}

.floating-quote .whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.floating-quote:hover {
  background: #0d7640;
  transform: translateY(-2px);
}

.is-rtl .hero-content {
  margin-right: clamp(18px, 5vw, 64px);
  margin-left: 0;
}

.is-rtl .section-heading,
.is-rtl .site-footer {
  text-align: right;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.admin-body {
  background: #edf3f5;
}

.admin-body .admin-header {
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.admin-body .brand-mark {
  box-shadow: 0 8px 18px rgba(0, 124, 137, 0.18);
}

.admin-body.is-locked .admin-header,
.admin-body.is-locked .admin-app {
  display: none !important;
}

.admin-body.is-locked .admin-login {
  min-height: 100vh;
}

.admin-body.is-authenticated .admin-login {
  display: none !important;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-actions {
  justify-content: flex-end;
}

.admin-actions .button,
.admin-actions a {
  min-height: 40px;
  padding-inline: 16px;
  white-space: nowrap;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), rgba(237, 243, 245, 0.72) 36%, transparent 60%),
    linear-gradient(135deg, rgba(0, 124, 137, 0.1), transparent 32%),
    linear-gradient(315deg, rgba(200, 146, 58, 0.1), transparent 30%),
    #edf3f5;
}

.login-card {
  width: min(480px, 100%);
  margin: auto;
  border-color: rgba(180, 198, 205, 0.72);
  box-shadow: 0 24px 70px rgba(14, 39, 58, 0.14);
}

.login-card[hidden] {
  display: none !important;
}

.login-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(180, 198, 205, 0.55);
  text-align: center;
}

.login-brand img {
  display: block;
  width: min(280px, 86%);
  height: auto;
}

.login-brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-card h1 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.15;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f6;
}

.login-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.login-tabs button.is-active {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 6px 14px rgba(25, 49, 67, 0.1);
}

.login-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.login-card input,
.product-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-app {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  padding: 20px clamp(18px, 4vw, 42px) 42px;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  align-self: start;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-sidebar button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.admin-sidebar button.is-active {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.admin-panel-stack,
.admin-panel-view {
  min-width: 0;
}

.admin-panel-view {
  display: none;
}

.admin-panel-view.is-active {
  display: block;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.overview-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 49, 67, 0.05);
}

.overview-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.overview-card strong {
  font-size: 26px;
  line-height: 1;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 18px;
}

.admin-panel {
  padding: 20px;
  align-self: start;
}

.admin-panel.wide {
  min-width: 0;
}

.product-form {
  display: grid;
  gap: 14px;
}

.product-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-form input,
.product-form textarea,
.product-form select {
  padding: 11px 12px;
  color: var(--ink);
}

.product-form input:disabled,
.product-form textarea:disabled,
.product-form select:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.file-button input {
  display: none;
}

.admin-product-list {
  display: grid;
  gap: 10px;
}

.admin-product {
  display: grid;
  grid-template-columns: 82px minmax(280px, 1fr) minmax(120px, auto);
  gap: 14px;
  align-items: center;
  padding: 10px;
  box-shadow: none;
}

.admin-product h3,
.admin-product p {
  margin: 0;
}

.admin-product h3 {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.admin-product-main {
  min-width: 0;
}

.admin-product-main p {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.admin-product-metrics span {
  padding: 3px 7px;
  border: 1px solid rgba(0, 125, 143, 0.14);
  border-radius: 999px;
  background: #f5fbfb;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-product-source {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-product-source a {
  overflow: hidden;
  color: var(--teal-dark);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-product-tags span {
  max-width: 190px;
  overflow: hidden;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef5f6;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-price {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.admin-thumb {
  width: 82px;
  height: 66px;
  overflow: hidden;
  border-radius: 8px;
}

.admin-thumb .product-placeholder {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2 / -1;
  gap: 8px;
  justify-content: flex-start;
}

.row-actions .button,
.row-actions a {
  min-height: 36px;
  padding-inline: 12px;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card,
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chart-card {
  padding: 18px;
  min-width: 0;
}

.chart-card h3 {
  margin: 0 0 14px;
}

.chart-card canvas {
  width: 100%;
  max-width: 100%;
  height: 260px;
}

.insight-list {
  display: grid;
  gap: 8px;
  max-height: 330px;
  overflow: auto;
}

.insight-row {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.insight-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.region-list,
.visit-table,
.user-table {
  display: grid;
  gap: 8px;
}

.region-row,
.visit-row,
.user-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.region-row {
  grid-template-columns: 1fr auto;
}

.visit-row {
  grid-template-columns: 1fr 1fr 1fr;
  color: var(--muted);
  font-size: 13px;
}

.user-row {
  grid-template-columns: 1fr auto;
}

.user-row strong,
.region-row strong {
  display: block;
}

.user-row span,
.region-row span {
  color: var(--muted);
  font-size: 13px;
}

.user-actions {
  display: flex;
  gap: 8px;
}

.permissions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.permissions-grid legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.permissions-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.invoice-panel {
  min-width: 0;
}

.invoice-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: 18px;
  align-items: start;
}

.invoice-form {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.invoice-form h3 {
  margin: 18px 0 10px;
  font-size: 16px;
}

.invoice-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.invoice-customer-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.invoice-customer-tools label {
  min-width: 0;
}

.invoice-items-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.invoice-search-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.invoice-search-results,
.invoice-items {
  display: grid;
  gap: 8px;
}

.invoice-search-row,
.invoice-item-row,
.invoice-item-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.invoice-search-row strong,
.invoice-item-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-search-row span,
.invoice-item-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.invoice-item-head,
.invoice-item-row {
  grid-template-columns: minmax(220px, 1fr) 72px 108px 112px 94px;
}

.invoice-item-head {
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.invoice-item-row input {
  width: 100%;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.invoice-totals {
  display: grid;
  gap: 8px;
  margin-left: auto;
  width: min(360px, 100%);
  padding-top: 10px;
}

.invoice-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.invoice-grand-total {
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 900;
}

.invoice-preview {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.invoice-preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.invoice-preview-heading h3 {
  margin: 0;
  font-size: 18px;
}

.invoice-preview-frame {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-header {
  position: static;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 700;
}

.product-detail-page {
  padding: clamp(24px, 5vw, 64px) clamp(18px, 5vw, 64px);
}

.product-detail-page .detail-quote {
  max-width: 100%;
  margin: 0 0 26px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.product-detail-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 14px;
}

.product-detail-copy {
  padding-top: 10px;
}

.product-detail-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.product-detail-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.product-specs {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.product-specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.product-specs dt {
  color: var(--muted);
  font-weight: 700;
}

.product-specs dd {
  margin: 0;
  font-weight: 800;
}

.product-assurance {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-top: clamp(28px, 5vw, 48px);
  align-items: stretch;
}

.assurance-copy,
.assurance-panel {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 29, 46, 0.055);
}

.assurance-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.assurance-copy p,
.assurance-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.assurance-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.assurance-list li {
  padding: 12px 12px 12px 38px;
  color: var(--ink);
  background: #f7fafb;
  border: 1px solid rgba(0, 109, 128, 0.1);
  border-radius: 8px;
  font-weight: 800;
}

.assurance-list li::before {
  float: left;
  width: 22px;
  margin-left: -28px;
  color: var(--teal);
  content: "✓";
}

.assurance-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #0b3b52);
  border-color: rgba(255, 255, 255, 0.12);
}

.assurance-panel > span {
  width: fit-content;
  padding: 5px 9px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.assurance-panel h3 {
  margin: 0;
  font-size: 26px;
}

.assurance-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.assurance-panel .button {
  width: fit-content;
}

@media (max-width: 1180px) {
  .brand-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .brand-card {
    min-height: 132px;
    padding: 14px 10px;
  }

  .brand-logo {
    width: 72px;
    height: 46px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-count {
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .floating-quote {
    display: none;
  }

  .search-band,
  .support-strip,
  .service-section,
  .about,
  .product-detail,
  .product-assurance,
  .service-card-grid,
  .contact-grid,
  .facts-grid,
  .trust-grid,
  .trust-grid.compact,
  .order-steps,
  .admin-app,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-main,
  .admin-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .category-tabs {
    justify-content: flex-start;
  }

  .product-heading-actions {
    justify-items: start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-product-list {
    grid-template-columns: 1fr;
  }

  .support-strip {
    grid-template-columns: 1fr;
  }

  .support-strip article {
    min-height: 0;
    padding: 20px 18px;
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }

  .sticky-search-panel {
    top: 76px;
  }

  .brand-mark.logo-mark {
    width: 248px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .admin-sidebar {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-product {
    grid-template-columns: 86px minmax(0, 1fr) minmax(112px, auto);
    gap: 10px 12px;
    align-items: start;
  }

  .admin-thumb {
    width: 86px;
    height: 86px;
  }

  .admin-product-price {
    align-self: start;
    text-align: right;
    white-space: nowrap;
  }

  .row-actions {
    display: grid;
    grid-column: 2 / -1;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    width: 100%;
  }

  .invoice-layout {
    grid-template-columns: 1fr;
  }

  .invoice-form {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .invoice-item-head,
  .invoice-item-row {
    grid-template-columns: minmax(180px, 1fr) 70px 100px 108px 92px;
  }

  .row-actions .button,
  .row-actions a {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .admin-layout .admin-panel.wide {
    order: -1;
  }

  .admin-overview,
  .metric-grid,
  .chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .permissions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-search-panel {
    top: 76px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 86px;
  }

  .site-header,
  .admin-header {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    position: static;
    gap: 10px;
  }

  .sticky-search-panel {
    top: 0;
    padding: 6px 12px;
  }

  .brand-mark.logo-mark {
    width: 224px;
  }

  .search-box.compact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .search-box.compact > span:first-child {
    display: none;
  }

  .search-box.compact .search-status {
    min-height: 0;
    min-width: 0;
    font-size: 0;
  }

  .seo-pagination {
    grid-template-columns: 1fr;
  }

  .seo-pagination a,
  .seo-pagination a:last-child {
    justify-self: stretch;
  }

  section[id] {
    scroll-margin-top: 76px;
  }

  .brand {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .brand strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .header-action {
    width: auto;
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .language-switcher {
    width: auto;
    justify-content: space-between;
  }

  .language-switcher select {
    flex: 1;
    max-width: none;
    min-width: 0;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    margin-right: 18px;
    margin-bottom: 34px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .quote-ribbon {
    align-items: flex-start;
    width: 100%;
    padding: 14px;
  }

  .quote-ribbon-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .quote-ribbon strong {
    font-size: 18px;
  }

  .quote-ribbon small {
    font-size: 13px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .admin-overview {
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .overview-card {
    min-height: 76px;
    padding: 10px;
  }

  .overview-card strong {
    font-size: 22px;
  }

  .overview-card span {
    font-size: 10px;
  }

  .brand-section {
    overflow: hidden;
  }

  .brand-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 82vw);
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(78px, auto));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .brand-grid::-webkit-scrollbar {
    height: 6px;
  }

  .brand-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 124, 137, 0.28);
    border-radius: 999px;
  }

  .brand-card {
    grid-template-columns: 54px 1fr auto;
    min-height: 78px;
    padding: 10px;
    justify-items: start;
    scroll-snap-align: start;
    text-align: left;
  }

  .is-rtl .brand-card {
    text-align: right;
  }

  .brand-card .brand-logo {
    width: 58px;
    height: 42px;
  }

  .brand-count {
    font-size: 12px;
  }

  .admin-header {
    gap: 8px;
    padding: 10px 16px;
  }

  .admin-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-actions .button,
  .admin-actions a {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .admin-user-chip {
    grid-column: 1 / -1;
    min-height: 30px;
  }

  .admin-app {
    padding: 12px;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-list-heading h2 {
    font-size: 28px;
  }

  .admin-product {
    grid-template-columns: 76px minmax(0, 1fr) minmax(102px, auto);
    gap: 9px 10px;
    padding: 10px;
  }

  .admin-thumb {
    width: 76px;
    height: 76px;
  }

  .admin-product-price {
    text-align: right;
  }

  .row-actions,
  .admin-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .row-actions .button,
  .row-actions a,
  .admin-actions .button,
  .admin-actions a {
    flex: 1;
  }

  .admin-user-chip {
    justify-content: center;
    width: 100%;
  }

  .admin-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-sidebar button {
    min-height: 40px;
    padding: 0 8px;
    text-align: center;
  }

  .search-band,
  .support-strip,
  .section,
  .service-section,
  .page-section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero {
    min-height: 520px;
  }

  .page-hero-content {
    margin-right: 18px;
    margin-bottom: 34px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .product-content {
    padding: 16px;
  }

  .product-content h3,
  .product-model,
  .product-content > p:not(.product-category):not(.product-model) {
    min-height: 0;
  }

  .product-detail-copy h1 {
    font-size: 30px;
  }

  .product-specs div {
    grid-template-columns: 1fr;
  }

  .product-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .chart-grid,
  .permissions-grid,
  .invoice-customer-tools,
  .invoice-form-grid,
  .visit-row,
  .user-row {
    grid-template-columns: 1fr;
  }

  .invoice-item-head {
    display: none;
  }

  .invoice-item-row {
    grid-template-columns: 1fr 1fr;
  }

  .invoice-item-row > div,
  .invoice-item-row > strong {
    grid-column: 1 / -1;
  }

  .invoice-preview-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .invoice-preview-frame {
    min-height: 680px;
  }

  .admin-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-rfq {
    justify-content: center;
    min-height: 42px;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .floating-quote {
    display: none;
  }

  .mobile-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
  }

  .mobile-contact-bar a:first-child {
    color: #fff;
    background: var(--whatsapp-dark);
  }

  .mobile-contact-bar a:last-child {
    color: var(--ink);
    background: #eef5f5;
  }
}
