/* ============================================================
   abpackIndia.com — design system
   Light + dark themes driven entirely by CSS custom properties.
   ============================================================ */

/* ---------------------------------------------------- 1. tokens */
:root {
  /* brand */
  --brand:        #0f766e;
  --brand-600:    #0d6560;
  --brand-700:    #115e59;
  --brand-soft:   #ccfbf1;
  --accent:       #f59e0b;
  --accent-soft:  #fef3c7;

  /* surfaces */
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-soft:      #f1f5f9;
  --surface:      #ffffff;
  --surface-2:    #f8fafc;
  --overlay:      rgba(15, 23, 42, .55);

  /* text */
  --text:         #0f172a;
  --text-soft:    #475569;
  --text-muted:   #64748b;
  --text-invert:  #ffffff;

  /* lines */
  --border:       #e2e8f0;
  --border-strong:#cbd5e1;

  /* states */
  --ok:           #059669;
  --ok-soft:      #d1fae5;
  --err:          #dc2626;
  --err-soft:     #fee2e2;
  --warn:         #d97706;
  --warn-soft:    #fef3c7;
  --info:         #2563eb;
  --info-soft:    #dbeafe;

  /* shape */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* elevation */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --sh:    0 2px 8px rgba(15, 23, 42, .07);
  --sh-md: 0 6px 20px rgba(15, 23, 42, .09);
  --sh-lg: 0 16px 40px rgba(15, 23, 42, .12);

  /* layout */
  --container: 1240px;
  --gutter: 20px;
  --header-h: 72px;

  /* type */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
  --brand:        #2dd4bf;
  --brand-600:    #5eead4;
  --brand-700:    #99f6e4;
  --brand-soft:   #134e4a;
  --accent:       #fbbf24;
  --accent-soft:  #422006;

  --bg:           #0b1220;
  --bg-alt:       #111b2e;
  --bg-soft:      #16233b;
  --surface:      #121d31;
  --surface-2:    #18243c;
  --overlay:      rgba(2, 6, 23, .72);

  --text:         #e8eef7;
  --text-soft:    #aebcd0;
  --text-muted:   #8798b0;
  --text-invert:  #06131a;

  --border:       #243249;
  --border-strong:#33455f;

  --ok:           #34d399;
  --ok-soft:      #064e3b;
  --err:          #f87171;
  --err-soft:     #4c1111;
  --warn:         #fbbf24;
  --warn-soft:    #432c06;
  --info:         #60a5fa;
  --info-soft:    #10294d;

  --sh-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --sh:    0 2px 10px rgba(0, 0, 0, .45);
  --sh-md: 0 8px 24px rgba(0, 0, 0, .5);
  --sh-lg: 0 20px 48px rgba(0, 0, 0, .6);
}

/* ---------------------------------------------------- 2. reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.lang-hi, body.lang-hi .btn, body.lang-hi input, body.lang-hi select, body.lang-hi textarea {
  font-family: var(--font-hi);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--text);
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.18rem, 1rem + .6vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand-600); text-decoration: underline; }

ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: .35rem; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

small { font-size: .85em; }

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
}
code { padding: .12em .4em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection { background: var(--brand); color: #fff; }

/* skip link for keyboard users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------- 3. layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 820px; }
.container--mid    { max-width: 1040px; }

.section { padding: clamp(42px, 6vw, 78px) 0; }
.section--tight { padding: clamp(30px, 4vw, 48px) 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.flex { display: flex; gap: 12px; }
.flex--between { justify-content: space-between; align-items: center; }
.flex--center { justify-content: center; align-items: center; }
.flex--wrap { flex-wrap: wrap; }
.flex--mid { align-items: center; }

.stack > * + * { margin-top: 1rem; }

/* utilities */
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.muted { color: var(--text-muted); }
.soft  { color: var(--text-soft); }
.small { font-size: .875rem; }
.xsmall { font-size: .8rem; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.full { width: 100%; }

/* ---------------------------------------------------- 4. section headings */
.sec-head { max-width: 680px; margin: 0 auto clamp(26px, 4vw, 44px); text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 12px; border-radius: var(--r-full); margin-bottom: 14px;
}
.sec-head h2 { margin-bottom: .4rem; }
.sec-head p { color: var(--text-soft); font-size: 1.05rem; margin: 0; }

/* ---------------------------------------------------- 5. buttons */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 22px;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .12s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
  box-shadow: var(--sh-sm);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--sh); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

.btn--primary  { --btn-bg: var(--brand); --btn-fg: #fff; }
[data-theme="dark"] .btn--primary { --btn-fg: #06201d; }
.btn--accent   { --btn-bg: var(--accent); --btn-fg: #3b2500; }
.btn--dark     { --btn-bg: var(--text); --btn-fg: var(--bg); }
.btn--ghost    { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--border-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--outline  { --btn-bg: transparent; --btn-fg: var(--brand); border-color: var(--brand); box-shadow: none; }
.btn--outline:hover { background: var(--brand-soft); }
.btn--light    { --btn-bg: #fff; --btn-fg: #0f172a; }
.btn--danger   { --btn-bg: var(--err); --btn-fg: #fff; }
.btn--success  { --btn-bg: var(--ok); --btn-fg: #fff; }
.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #04331a; }

.btn--sm  { padding: 8px 14px; font-size: .85rem; border-radius: var(--r-sm); }
.btn--lg  { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--icon { padding: 10px; aspect-ratio: 1; border-radius: var(--r); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------- 6. badges & pills */
.badge {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  background: var(--bg-soft); color: var(--text-soft);
  white-space: nowrap;
}
.badge--ok    { background: var(--ok-soft);   color: var(--ok); }
.badge--err   { background: var(--err-soft);  color: var(--err); }
.badge--warn  { background: var(--warn-soft); color: var(--warn); }
.badge--info  { background: var(--info-soft); color: var(--info); }
.badge--brand { background: var(--brand-soft); color: var(--brand); }
.badge--accent{ background: var(--accent-soft); color: var(--warn); }
.badge--muted { background: var(--bg-soft); color: var(--text-muted); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: var(--surface);
  font-size: .875rem; font-weight: 500; color: var(--text-soft);
  transition: all .15s var(--ease);
}
.pill:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="dark"] .pill.is-active { color: #06201d; }

/* ---------------------------------------------------- 7. cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card--pad { padding: clamp(18px, 2.2vw, 28px); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.card--flat { box-shadow: none; }

.card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface-2);
}
.card-head h3, .card-head h2 { margin: 0; font-size: 1.05rem; }
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* ---------------------------------------------------- 8. header */
.topbar {
  background: var(--brand-700);
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
}
[data-theme="dark"] .topbar { background: #0a1a2b; border-bottom: 1px solid var(--border); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-md); }
.header-main {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo img { max-height: 46px; width: auto; }
.logo-mark {
  width: 42px; height: 42px; border-radius: var(--r);
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; letter-spacing: -.04em;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 1.22rem; font-weight: 800; color: var(--text); letter-spacing: -.03em; }
.logo-text span { font-size: .68rem; color: var(--text-muted); letter-spacing: .07em; text-transform: uppercase; }

/* search */
.header-search { flex: 1; max-width: 460px; position: relative; }
.header-search form { display: flex; }
.header-search input {
  width: 100%; padding: 11px 44px 11px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--r-full);
  background: var(--bg-alt); color: var(--text); font: inherit; font-size: .92rem;
}
.header-search input:focus { background: var(--surface); border-color: var(--brand); outline: none; }
.header-search button {
  position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px;
  border: 0; border-radius: var(--r-full); background: var(--brand); color: #fff;
  cursor: pointer; display: grid; place-items: center;
}
[data-theme="dark"] .header-search button { color: #06201d; }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: var(--r);
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent; color: var(--text-soft);
  cursor: pointer; text-decoration: none;
  transition: all .15s var(--ease);
}
.icon-btn:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: var(--r-full);
  background: var(--accent); color: #3b2500;
  font-size: .68rem; font-weight: 800; line-height: 19px; text-align: center;
}

/* language + theme switchers */
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: var(--r-full); overflow: hidden; }
.lang-switch a {
  padding: 6px 12px; font-size: .8rem; font-weight: 700; color: var(--text-muted);
  background: transparent; text-decoration: none; line-height: 1.3;
}
.lang-switch a.is-active { background: var(--brand); color: #fff; }
[data-theme="dark"] .lang-switch a.is-active { color: #06201d; }
.lang-switch a:hover:not(.is-active) { background: var(--bg-soft); color: var(--text); }

.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ---------------------------------------------------- 9. navigation */
.site-nav { border-top: 1px solid var(--border); background: var(--surface); }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 13px 14px;
  font-size: .93rem; font-weight: 600; color: var(--text-soft);
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .15s var(--ease);
}
.nav-list > li > a:hover,
.nav-list > li.is-open > a { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.nav-list > li.is-active > a { color: var(--brand); border-bottom-color: var(--brand); }
.nav-list .caret { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.nav-list > li.is-open .caret { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; z-index: 80;
  min-width: 260px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s var(--ease);
}
.nav-list > li:hover > .dropdown,
.nav-list > li.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 9px 13px; border-radius: var(--r-sm);
  font-size: .9rem; color: var(--text-soft); text-decoration: none;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.dropdown .dd-head {
  padding: 8px 13px 4px; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
}
.dropdown .dd-sub a { padding-left: 26px; font-size: .86rem; color: var(--text-muted); }
.dropdown .dd-sep { height: 1px; background: var(--border); margin: 6px 4px; }

/* mega dropdown for Products */
.dropdown--mega {
  min-width: min(760px, 92vw);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  padding: 16px;
}

/* mobile nav */
.nav-toggle { display: none; }
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; z-index: 120;
  width: min(340px, 86vw);
  background: var(--surface); border-left: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  transform: translateX(100%);
  transition: transform .26s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--surface); z-index: 2;
}
.mobile-nav-body { padding: 10px 14px 30px; }
.mobile-nav a { display: block; padding: 11px 8px; color: var(--text); font-weight: 500; border-radius: var(--r-sm); }
.mobile-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.mnav-group > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 11px 8px; background: none; border: 0; border-radius: var(--r-sm);
  font: inherit; font-weight: 600; color: var(--text); cursor: pointer; text-align: left;
}
.mnav-group > button:hover { background: var(--bg-soft); }
.mnav-group ul { list-style: none; padding: 0 0 0 14px; margin: 0; display: none; }
.mnav-group.is-open ul { display: block; }
.mnav-group.is-open > button svg { transform: rotate(180deg); }
.mnav-group > button svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.mobile-nav hr { margin: 12px 0; }
.mnav-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px; }
.mnav-lang > span { font-size: .85rem; color: var(--text-muted); }
.mnav-lang .lang-switch a { padding: 7px 16px; }

.backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: var(--overlay); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s;
}
.backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------------------------------------------------- 10. hero / slider */
.hero { position: relative; background: var(--bg-alt); overflow: hidden; }
.slider { position: relative; }
.slide {
  display: none;
  position: relative;
  min-height: clamp(400px, 52vw, 580px);
}
.slide.is-active { display: block; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.slide-media { position: absolute; inset: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 47, 45, .93) 0%, rgba(8, 47, 45, .78) 42%, rgba(8, 47, 45, .35) 100%);
}
[data-theme="dark"] .slide-media::after {
  background: linear-gradient(100deg, rgba(2, 10, 20, .96) 0%, rgba(2, 10, 20, .85) 45%, rgba(2, 10, 20, .5) 100%);
}

.slide-inner {
  position: relative; z-index: 2;
  min-height: inherit;
  display: flex; align-items: center;
  padding: clamp(44px, 6vw, 80px) 0;
}
.slide-content { max-width: 620px; color: #fff; }
.slide-content .eyebrow {
  display: inline-block; margin-bottom: 16px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.slide-content h1 { color: #fff; margin-bottom: .5rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.slide-content p { font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: rgba(255, 255, 255, .92); margin-bottom: 1.6rem; max-width: 52ch; }

.slider-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 5; }
.slider-dots button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .8); background: transparent; cursor: pointer;
  transition: all .18s var(--ease);
}
.slider-dots button.is-active { background: #fff; width: 30px; border-radius: var(--r-full); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .15s var(--ease);
}
.slider-arrow:hover { background: rgba(255, 255, 255, .3); }
.slider-arrow--prev { left: 16px; }
.slider-arrow--next { right: 16px; }

/* trust strip under the hero */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-strip .grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item {
  display: flex; align-items: center; gap: 13px;
  padding: 20px 18px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: 0; }
.trust-item .ic {
  width: 42px; height: 42px; border-radius: var(--r);
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.trust-item b { display: block; font-size: .95rem; line-height: 1.3; }
.trust-item span { font-size: .8rem; color: var(--text-muted); }

/* ---------------------------------------------------- 11. page hero */
.page-hero {
  position: relative;
  padding: clamp(36px, 5vw, 62px) 0 clamp(30px, 4vw, 46px);
  background: linear-gradient(135deg, var(--brand-700), var(--brand));
  color: #fff;
  overflow: hidden;
}
[data-theme="dark"] .page-hero { background: linear-gradient(135deg, #0a2a2c, #0d3b3a); }
.page-hero::before {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.page-hero::after {
  content: ""; position: absolute; right: 120px; bottom: -160px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .35rem; }
.page-hero p { color: rgba(255, 255, 255, .9); max-width: 62ch; margin: 0; }

/* breadcrumbs */
.breadcrumb { font-size: .84rem; margin-bottom: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 7px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-hero .breadcrumb li[aria-current] { color: #fff; font-weight: 600; }
.breadcrumb--plain { padding: 14px 0; color: var(--text-muted); }
.breadcrumb--plain a { color: var(--text-soft); }

/* ---------------------------------------------------- 12. category cards */
.cat-card {
  position: relative; display: block;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); text-decoration: none; }
.cat-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.cat-card:hover .cat-card-media img { transform: scale(1.06); }
.cat-card-body { padding: 16px 18px; }
.cat-card-body h3 { font-size: 1.05rem; margin-bottom: .2rem; color: var(--text); }
.cat-card:hover .cat-card-body h3 { color: var(--brand); }
.cat-card-body p { font-size: .86rem; color: var(--text-muted); margin: 0; }
.cat-card-count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(15, 23, 42, .78); color: #fff; backdrop-filter: blur(4px);
  padding: 4px 11px; border-radius: var(--r-full); font-size: .74rem; font-weight: 700;
}
.cat-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cat-card-tags span {
  font-size: .72rem; padding: 2px 8px; border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--text-muted);
}

/* ---------------------------------------------------- 13. product cards */
.product-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.product-card-media {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft);
  display: block;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.product-card-body { padding: 15px 16px 0; flex: 1; }
.product-card-cat { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.product-card-body h3 { font-size: .98rem; line-height: 1.35; margin: 5px 0 6px; }
.product-card-body h3 a { color: var(--text); }
.product-card-body h3 a:hover { color: var(--brand); text-decoration: none; }
.product-card-desc { font-size: .84rem; color: var(--text-muted); margin: 0 0 10px; }
.product-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.product-card-foot { padding: 0 16px 16px; }
.product-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; min-height: 28px; }

.price { font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.price--request { font-size: .95rem; font-weight: 700; color: var(--brand); }
.price-unit { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.price-mrp { font-size: .86rem; color: var(--text-muted); text-decoration: line-through; }
.price-off { font-size: .76rem; font-weight: 800; color: var(--ok); background: var(--ok-soft); padding: 2px 7px; border-radius: var(--r-sm); }

.product-card-actions { display: flex; gap: 8px; }
.product-card-actions .btn { flex: 1; }

/* list view */
.products-list .product-card { flex-direction: row; }
.products-list .product-card-media { width: 210px; aspect-ratio: auto; flex-shrink: 0; }
.products-list .product-card-body { padding: 18px; }
.products-list .product-card-foot { padding: 0 18px 18px; }

/* ---------------------------------------------------- 14. product detail */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); }

.gallery-main {
  position: relative;
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--border);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumb {
  aspect-ratio: 1; border-radius: var(--r); overflow: hidden; cursor: pointer;
  border: 2px solid var(--border); background: var(--bg-soft); padding: 0;
  transition: border-color .15s var(--ease);
}
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { margin-bottom: .6rem; }
.product-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.product-price-box {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px; margin: 20px 0;
}
.product-price-box .price { font-size: 1.85rem; }
.product-price-note { font-size: .84rem; color: var(--text-muted); margin-top: 4px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--text-soft); background: var(--surface-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.qty-box { display: inline-flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.qty-box button {
  width: 42px; border: 0; background: var(--bg-soft); color: var(--text);
  font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.qty-box button:hover { background: var(--border); }
.qty-box input {
  width: 72px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  text-align: center; font: inherit; font-weight: 600; background: var(--surface); color: var(--text);
  padding: 10px 4px; -moz-appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* tabs */
.tabs { border-bottom: 1px solid var(--border); display: flex; gap: 4px; overflow-x: auto; }
.tabs button {
  padding: 13px 18px; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .94rem; color: var(--text-muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs button:hover { color: var(--text); }
.tabs button.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel { display: none; padding-top: 24px; }
.tab-panel.is-active { display: block; }

.prose { font-size: 1rem; line-height: 1.75; color: var(--text-soft); max-width: 75ch; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--r); margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose blockquote {
  margin: 1.5rem 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brand); color: var(--text); font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose a { text-decoration: underline; }

/* ---------------------------------------------------- 15. features / why us */
.feature {
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.feature .ic {
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 15px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.feature p { font-size: .9rem; color: var(--text-muted); margin: 0; }

.feature--alt .ic { background: var(--accent-soft); color: var(--warn); }

/* numbered steps */
.step { display: flex; gap: 16px; }
.step-num {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
}
[data-theme="dark"] .step-num { color: #06201d; }
.step h4 { margin-bottom: .2rem; }
.step p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.stat { text-align: center; padding: 18px 12px; }
.stat b { display: block; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; color: var(--brand); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: .88rem; color: var(--text-muted); }

/* ---------------------------------------------------- 16. testimonials & clients */
.testimonial {
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  display: flex; flex-direction: column; height: 100%;
}
.testimonial .stars { color: var(--accent); font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 16px; font-size: .96rem; line-height: 1.7; color: var(--text-soft); flex: 1; }
.testimonial blockquote::before { content: "“"; font-size: 2.2rem; line-height: 0; color: var(--brand); vertical-align: -.35em; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img, .testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800;
}
.testimonial-author b { display: block; font-size: .92rem; }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }

.client-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; align-items: center; }
.client-logo {
  display: grid; place-items: center; padding: 18px 14px; min-height: 86px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
}
.client-logo img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .2s var(--ease); }
.client-logo:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .client-logo img { filter: grayscale(1) invert(.88) brightness(1.4); }
[data-theme="dark"] .client-logo:hover img { filter: invert(.88) brightness(1.4); }

/* ---------------------------------------------------- 16b. home video */
.video-section { background: var(--bg-alt); }

.video-frame {
  position: relative;
  max-width: 940px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}
.video-frame video,
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  object-fit: cover;
}

/* click-to-play facade for YouTube / Vimeo */
.video-facade {
  position: absolute; inset: 0;
  width: 100%; height: 100%; padding: 0;
  border: 0; cursor: pointer; background: #000;
  display: block; overflow: hidden;
}
.video-facade img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
  opacity: .82;
}
.video-facade:hover img { transform: scale(1.04); opacity: .7; }

.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  transition: transform .18s var(--ease), background .18s var(--ease);
  padding-left: 5px;  /* optically centre the triangle */
}
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-facade:focus-visible .video-play { outline: 3px solid #fff; outline-offset: 4px; }

.video-facade-label {
  position: absolute; left: 0; right: 0; bottom: 20px;
  text-align: center; color: #fff;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

@media (max-width: 760px) {
  .video-play { width: 62px; height: 62px; }
  .video-play svg { width: 27px; height: 27px; }
  .video-facade-label { font-size: .82rem; bottom: 14px; }
}

/* ---------------------------------------------------- 17. CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-700), var(--brand));
  color: #fff;
  padding: clamp(36px, 5vw, 60px) 0;
}
[data-theme="dark"] .cta-band { background: linear-gradient(120deg, #0a2a2c, #0f4542); }
.cta-band::before {
  content: ""; position: absolute; left: -60px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.cta-band > .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 58ch; }

/* ---------------------------------------------------- 18. forms */
.field { margin-bottom: 16px; }
.field label, .label {
  display: block; margin-bottom: 6px;
  font-size: .875rem; font-weight: 600; color: var(--text-soft);
}
.field .req { color: var(--err); }
.hint { display: block; margin-top: 5px; font-size: .8rem; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="url"], input[type="date"], input[type="search"],
input[type="datetime-local"], select, textarea {
  width: 100%; padding: 11px 14px;
  font: inherit; font-size: .95rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: .8; }
input[disabled], select[disabled], textarea[disabled] { background: var(--bg-soft); cursor: not-allowed; opacity: .7; }
input.is-error, select.is-error, textarea.is-error { border-color: var(--err); }
.field-error { margin-top: 5px; font-size: .82rem; color: var(--err); font-weight: 500; }

/* file input */
.file-drop {
  position: relative; display: block;
  padding: 24px 18px; text-align: center; cursor: pointer;
  background: var(--bg-alt); border: 2px dashed var(--border-strong); border-radius: var(--r-lg);
  transition: all .15s var(--ease);
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--brand); background: var(--brand-soft); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop .ic { color: var(--brand); margin: 0 auto 8px; }
.file-drop b { display: block; font-size: .95rem; }
.file-drop span { font-size: .82rem; color: var(--text-muted); }
.file-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; background: var(--bg-soft); border-radius: var(--r-sm); font-size: .85rem;
  list-style: none; margin: 0;
}

/* checkbox & radio */
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }
.check span { color: var(--text-soft); }

.radio-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 16px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r);
  transition: all .15s var(--ease);
}
.radio-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.radio-card input { margin: 2px 0 0; accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.radio-card.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.radio-card b { display: block; font-size: .95rem; }
.radio-card small { color: var(--text-muted); font-size: .82rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .field--full { grid-column: 1 / -1; }

/* ---------------------------------------------------- 19. alerts */
.alert {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 16px; margin-bottom: 16px;
  border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--r);
  background: var(--surface); font-size: .92rem; line-height: 1.55;
}
.alert svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.alert--ok   { background: var(--ok-soft);   border-color: var(--ok);   color: var(--ok); }
.alert--err  { background: var(--err-soft);  border-color: var(--err);  color: var(--err); }
.alert--warn { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.alert--info { background: var(--info-soft); border-color: var(--info); color: var(--info); }
.alert strong { color: inherit; }
.alert a { color: inherit; text-decoration: underline; font-weight: 600; }

#toast-area {
  position: fixed; right: 16px; bottom: 90px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px; max-width: min(360px, 90vw);
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand);
  box-shadow: var(--sh-lg); font-size: .9rem;
  animation: toastIn .25s var(--ease);
}
.toast--ok  { border-left-color: var(--ok); }
.toast--err { border-left-color: var(--err); }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------- 20. tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table thead th {
  background: var(--surface-2); font-weight: 700; font-size: .78rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table--compact th, .table--compact td { padding: 8px 11px; }

/* ---------------------------------------------------- 21. cart & checkout */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 3vw, 34px); align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-media { width: 92px; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-size: .98rem; margin-bottom: 3px; }
.cart-item-opts { font-size: .8rem; color: var(--text-muted); }
.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .93rem; color: var(--text-soft); }
.summary-row--total {
  border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px;
  font-size: 1.15rem; font-weight: 800; color: var(--text);
}
.summary-row b { color: var(--text); font-weight: 600; }

.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; font-size: .86rem; color: var(--text-muted); }
.steps li::after { content: ""; width: 28px; height: 1.5px; background: var(--border); }
.steps li:last-child::after { display: none; }
.steps .n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--text-muted); font-size: .78rem; font-weight: 800;
}
.steps li.is-done .n { background: var(--ok); color: #fff; }
.steps li.is-current .n { background: var(--brand); color: #fff; }
.steps li.is-current { color: var(--text); font-weight: 600; }

.bank-box {
  background: var(--brand-soft); border: 1px solid var(--brand); border-radius: var(--r);
  padding: 15px 17px; font-size: .9rem;
}
.bank-box pre { background: none; margin: 8px 0 0; white-space: pre-wrap; font-family: inherit; font-size: .9rem; }

/* order success */
.success-mark {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--ok-soft); color: var(--ok); display: grid; place-items: center;
}
.success-mark svg { width: 40px; height: 40px; }

/* order tracker */
.tracker { display: flex; gap: 0; margin: 26px 0; overflow-x: auto; padding-bottom: 6px; }
.tracker-step { flex: 1; min-width: 108px; text-align: center; position: relative; }
.tracker-step::before {
  content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0;
}
.tracker-step:first-child::before { left: 50%; }
.tracker-step:last-child::before { right: 50%; }
.tracker-step.is-done::before { background: var(--ok); }
.tracker-step .dot {
  position: relative; z-index: 1;
  width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--bg-soft); border: 2px solid var(--border); color: var(--text-muted);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.tracker-step.is-done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.tracker-step.is-current .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.tracker-step span { font-size: .8rem; color: var(--text-muted); display: block; padding: 0 4px; }
.tracker-step.is-current span, .tracker-step.is-done span { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------- 22. account area */
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(20px, 3vw, 34px); align-items: start; }
.account-nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.account-nav-head { padding: 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.account-nav-head b { display: block; font-size: .98rem; }
.account-nav-head span { font-size: .8rem; color: var(--text-muted); word-break: break-all; }
.account-nav a {
  display: flex; align-items: center; gap: 11px; padding: 12px 18px;
  font-size: .92rem; font-weight: 500; color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.account-nav a:last-child { border-bottom: 0; }
.account-nav a:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
.account-nav a.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.account-nav svg { width: 18px; height: 18px; }

.auth-card { max-width: 460px; margin: 0 auto; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.auth-aside {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(145deg, var(--brand-700), var(--brand)); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
[data-theme="dark"] .auth-aside { background: linear-gradient(145deg, #0a2a2c, #0f4542); }
.auth-aside h2 { color: #fff; }
.auth-aside ul { list-style: none; padding: 0; margin: 18px 0 0; }
.auth-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: rgba(255, 255, 255, .92); margin-bottom: 12px; }
.auth-aside li svg { flex-shrink: 0; margin-top: 3px; }
.auth-form { padding: clamp(26px, 3.5vw, 40px); }

/* ---------------------------------------------------- 23. filters sidebar */
.catalog-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.filter-group { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 11px; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin: 0; }
.filter-list a {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 7px 0; font-size: .9rem; color: var(--text-soft);
}
.filter-list a:hover { color: var(--brand); text-decoration: none; }
.filter-list a.is-active { color: var(--brand); font-weight: 700; }
.filter-list .count { font-size: .76rem; color: var(--text-muted); background: var(--bg-soft); padding: 1px 7px; border-radius: var(--r-full); }
.filter-list .sub { padding-left: 14px; font-size: .86rem; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 20px;
  padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
}
.toolbar-left { font-size: .9rem; color: var(--text-muted); }
.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar select { padding: 8px 32px 8px 12px; font-size: .88rem; width: auto; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { padding: 7px 10px; border: 0; background: var(--surface); color: var(--text-muted); cursor: pointer; display: grid; place-items: center; }
.view-toggle button.is-active { background: var(--brand); color: #fff; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 7px 5px 12px; border-radius: var(--r-full);
  background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 600;
}
.chip a { color: inherit; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .08); }
.chip a:hover { background: rgba(0, 0, 0, .18); text-decoration: none; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 34px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: grid; place-items: center; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface);
  font-size: .9rem; font-weight: 600; color: var(--text-soft);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="dark"] .pagination .is-active { color: #06201d; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------- 24. blog */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.post-card-body h3 a { color: var(--text); }
.post-card-body h3 a:hover { color: var(--brand); text-decoration: none; }
.post-meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 9px; }
.post-card-body p { font-size: .88rem; color: var(--text-muted); flex: 1; }

/* ---------------------------------------------------- 25. FAQ accordion */
.accordion { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: 0; }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-weight: 600; font-size: .98rem; color: var(--text);
}
.acc-head:hover { background: var(--surface-2); }
.acc-head svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); transition: transform .2s var(--ease); }
.acc-item.is-open .acc-head svg { transform: rotate(45deg); }
.acc-body { display: none; padding: 0 20px 18px; font-size: .93rem; color: var(--text-soft); line-height: 1.7; }
.acc-item.is-open .acc-body { display: block; }

/* ---------------------------------------------------- 26. contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(22px, 3.5vw, 40px); align-items: start; }
.contact-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: var(--r); flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.contact-item b { display: block; font-size: .92rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: .9rem; color: var(--text-soft); }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); line-height: 0; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------------------------------------------- 27. footer */
.site-footer { background: #0a1522; color: #94a3b8; margin-top: auto; }
[data-theme="dark"] .site-footer { background: #070e18; border-top: 1px solid var(--border); }
.footer-main { padding: clamp(40px, 5vw, 62px) 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(22px, 3vw, 44px); }
.site-footer h4 {
  color: #fff; font-size: .82rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; font-size: .9rem; }
.footer-about p { font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-text b { color: #fff; }
.footer-logo .logo-text span { color: #64748b; }
.footer-logo img { max-height: 44px; }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--brand); }

.social-row { display: flex; gap: 9px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07); color: #cbd5e1;
  display: grid; place-items: center; transition: all .15s var(--ease);
}
.social-row a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; font-size: .9rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r); color: #fff;
}
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form input:focus { border-color: var(--brand); background: rgba(255, 255, 255, .1); box-shadow: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 18px 0;
  font-size: .85rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.payment-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payment-icons span {
  font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08); color: #cbd5e1; letter-spacing: .04em;
}

/* ---------------------------------------------------- 28. floating actions */
.float-actions {
  position: fixed; right: 16px; bottom: 16px; z-index: 95;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; box-shadow: var(--sh-lg); border: 0; cursor: pointer;
  transition: transform .15s var(--ease);
}
.float-btn:hover { transform: scale(1.07); text-decoration: none; color: #fff; }
.float-btn svg { width: 27px; height: 27px; }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--brand); display: none; }
.float-btn--top { background: var(--text); color: var(--bg); opacity: 0; visibility: hidden; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }
.float-btn--top svg { width: 22px; height: 22px; }

/* ---------------------------------------------------- 29. empty states */
.empty { text-align: center; padding: clamp(36px, 6vw, 70px) 20px; }
.empty .ic {
  width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--bg-soft); color: var(--text-muted); display: grid; place-items: center;
}
.empty .ic svg { width: 38px; height: 38px; }
.empty h2, .empty h3 { margin-bottom: .4rem; }
.empty p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 20px; }

/* skeleton shimmer for lazy images */
.img-ph { background: var(--bg-soft); position: relative; overflow: hidden; }

/* ---------------------------------------------------- 30. responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .site-nav, .header-search { display: none; }
  .nav-toggle { display: grid; }
  .cart-layout, .contact-layout, .product-detail, .account-layout, .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .summary { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.is-open { display: block; }
  .dropdown--mega { grid-template-columns: 1fr 1fr; }
  .account-layout .account-nav { order: 2; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .topbar-item--hide-sm { display: none; }
  .topbar .container { min-height: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .products-list .product-card { flex-direction: column; }
  .products-list .product-card-media { width: 100%; aspect-ratio: 1; }
  .float-btn--call { display: grid; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .cta-band > .container { flex-direction: column; text-align: center; }
  .cta-band .btn-row { justify-content: center; }
  .slide { min-height: 440px; }
  .slider-arrow { display: none; }
  .map-wrap iframe { height: 300px; }
  .tabs button { padding: 11px 13px; font-size: .88rem; }
}

@media (max-width: 620px) {
  /* The header has to fit a logo, a language switcher, three icons and the menu
     button. Below this width the switcher moves into the drawer instead. */
  .header-actions .lang-switch { display: none; }
  .logo-text b { font-size: 1.05rem; }
  .logo-text span { display: none; }
  .logo img { max-height: 38px; }
  .logo-mark { width: 36px; height: 36px; font-size: .95rem; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .header-actions { gap: 2px; }
}

@media (max-width: 580px) {
  :root { --gutter: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--auto-sm { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item-media { width: 70px; }
  .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .btn--lg { padding: 13px 22px; font-size: 1rem; }
  .btn-row > .btn { flex: 1 1 100%; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .trust-strip .grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
  #toast-area { right: 10px; left: 10px; bottom: 80px; max-width: none; }
}

/* ---------------------------------------------------- 31. motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .site-footer, .float-actions, .topbar, .breadcrumb, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .card, .table-wrap { border-color: #999; box-shadow: none; }
  a { color: #000; text-decoration: none; }
  .section { padding: 12px 0; }
}
