/* ============================================================
   VAZIRMATN FONT FACES
   ============================================================ */

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TABARESTAN-INSPIRED STOREFRONT LAYER
   The supplied reference is a mobile recording. These rules keep
   the existing content and routes while matching its visual system.
   ============================================================ */

:root {
  --color-teal: #0756a5;
  --color-teal-dark: #06478a;
  --color-teal-deeper: #04366b;
  --color-navy: #06356f;
  --color-navy-light: #0b4e98;
  --color-gold: #ff8a00;
  --color-gold-dark: #e87500;
  --color-surface: #f3f4f6;
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: clamp(24px, 3.5vw, 34px);
  --text-3xl: clamp(24px, 3.5vw, 34px);
  --text-4xl: clamp(30px, 5vw, 52px);
  --shadow-card: 0 2px 5px rgba(6,53,111,.08), 0 9px 24px rgba(6,53,111,.12);
  --shadow-card-hover: 0 4px 9px rgba(6,53,111,.12), 0 16px 34px rgba(6,53,111,.18);
  --shadow-btn: 0 4px 14px rgba(7,86,165,.28);
}

.logo-text,
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.logo-brand-fa,
.footer-brand-fa { font-size: 20px; font-weight: 900; color: #fff; }
.logo-brand-lat,
.footer-brand-lat { font-size: 13px; color: rgba(255,255,255,.72); direction: ltr; }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.hamburger-btn { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--color-gold); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.hamburger-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.mobile-nav-overlay { position: fixed; inset: 0; z-index: 1090; background: rgba(2,20,48,.55); opacity: 0; visibility: hidden; transition: .25s ease; }
.mobile-nav-overlay.is-visible { opacity: 1; visibility: visible; }
.mobile-nav { position: fixed; inset-block: 0; right: 0; z-index: 1100; width: min(86vw,360px); padding: 1rem; background: #fff; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s cubic-bezier(.16,1,.3,1); box-shadow: -18px 0 45px rgba(6,53,111,.22); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: .35rem .25rem 1rem; border-bottom: 1px solid #e7ebf1; }
.mobile-nav-brand { color: var(--color-navy); font-weight: 900; font-size: 20px; }
.mobile-nav-close { display: flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 4px; padding: 9px; border-radius: 50%; background: var(--color-navy); }
.mobile-nav-list { padding-block: 1rem; display: grid; gap: .25rem; }
.mobile-nav-link { min-height: 48px; display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 10px; color: var(--color-navy); font-size: 15px; font-weight: 700; }
.mobile-nav-link:hover { background: #eef5fc; color: var(--color-teal); }
.mobile-nav-footer { margin-top: auto; }

.hero { min-height: min(680px, calc(100vh - 76px)); background: var(--color-navy); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,38,82,.38), rgba(3,38,82,.9)); }
.hero-headline-accent { color: #fff; }
.hero-stats { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.25rem; padding: 1rem 1.25rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; backdrop-filter: blur(10px); }
.hero-stat { display: grid; text-align: center; }
.hero-stat-num { color: #fff; font-weight: 900; font-size: 22px; font-variant-numeric: tabular-nums; }
.hero-stat-label { color: rgba(255,255,255,.76); font-size: 13px; }
.hero-stat-divider { width: 1px; height: 34px; background: rgba(255,255,255,.2); }
.hero-scroll-indicator { position: absolute; bottom: 18px; left: 50%; width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.scroll-dot { display: block; width: 4px; height: 7px; margin: 6px auto; border-radius: 5px; background: #fff; }

.trust-strip { background: #fff; border-bottom: 1px solid #e7ebf1; padding-block: 1.35rem; }
.trust-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; }
.trust-item { display: flex; justify-content: center; align-items: center; gap: .75rem; color: var(--color-navy); }
.trust-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--color-teal); border-radius: 50%; color: var(--color-teal); }
.trust-text { display: flex; flex-direction: column; }
.trust-title { font-size: 14px; }
.trust-sub { font-size: 13px; color: var(--color-text-secondary); }
.trust-divider { width: 1px; height: 42px; background: #e2e8f0; }

.section-products,
.section-shipping { padding-block: clamp(56px,8vw,88px); background: #f5f6f8; }
.section-title { margin-top: .2rem; font-size: var(--text-2xl); }
.section-subtitle { color: var(--color-text-secondary); margin-bottom: 2rem; }
.product-card-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(145deg,#0756a5 0 72%,#fff 72%); }
.product-card-img { width: 100%; height: 100%; object-fit: contain; padding: 8%; filter: drop-shadow(0 12px 12px rgba(2,26,62,.24)); transition: transform .45s ease; }
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-capacity-badge { position: absolute; top: .65rem; right: .65rem; display: flex; align-items: baseline; gap: .2rem; padding: .3rem .65rem; background: #fff; color: var(--color-navy); border-radius: 999px; box-shadow: 0 3px 12px rgba(0,0,0,.14); }
.capacity-num { font-weight: 900; font-variant-numeric: tabular-nums; }
.capacity-unit { font-size: 12px; }
.product-card-cat { color: var(--color-text-muted); font-size: 13px; }
.product-card-title { font-size: 18px; line-height: 1.65; }
.product-card-name-link:hover { color: var(--color-teal); }
.product-card-price { margin-top: auto; color: var(--color-navy); font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.product-card-actions { display: flex; gap: .5rem; padding-top: .6rem; }
.product-card-actions > * { flex: 1; }
.product-card-actions .btn { width: 100%; padding-inline: .65rem; }
.products-cta { display: flex; justify-content: center; margin-top: 2rem; }
.products-empty { padding: 2rem; text-align: center; border-radius: 14px; background: #fff; }

.section-why { padding-block: clamp(56px,8vw,88px); color: #fff; background: linear-gradient(135deg,#062e65,#0756a5); }
.section-title--light,
.why-card-title { color: #fff; }
.section-eyebrow--light { color: #ffd195; }
.why-grid { margin-top: 2rem; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.why-card { padding: 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.08); }
.why-icon-wrap { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--color-gold); border-radius: 50%; background: rgba(255,255,255,.1); }
.why-card-title { font-size: 20px; }
.why-card-text { color: rgba(255,255,255,.78); font-size: 14px; }
.why-stat { margin-top: .75rem; color: #fff; font-weight: 900; font-size: 22px; }

.shipping-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,6vw,5rem); }
.shipping-desc { color: var(--color-text-secondary); }
.shipping-stats { display: flex; gap: .75rem; margin-block: 1.5rem; }
.shipping-stat { flex: 1; padding: 1rem; text-align: center; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.shipping-stat-num { display: block; color: var(--color-teal); font-size: 24px; font-weight: 900; }
.shipping-stat-label { font-size: 13px; color: var(--color-text-secondary); }
.shipping-img-wrap { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-card-hover); }
.shipping-img { width: 100%; aspect-ratio: 6/5; object-fit: cover; }

.about-teaser-bg { position: absolute; inset: 0; }
.section-about-teaser { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.about-teaser-img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,35,75,.55),rgba(3,35,75,.94)); }
.about-teaser-content { position: relative; z-index: 1; }
.about-teaser-title { color: #fff; font-size: var(--text-2xl); }
.about-teaser-text { max-width: 58ch; color: rgba(255,255,255,.82); margin-block: 1rem 1.5rem; }
.cta-band { padding-block: 2.5rem; background: var(--color-gold); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band-title { font-size: var(--text-xl); }
.cta-band-actions { display: flex; gap: .75rem; }
.mobile-tabbar { display: none; }

@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .site-header { position: sticky; background: var(--color-teal); }
  .header-inner { min-height: 62px; padding-block: .55rem; }
  .site-logo { order: 2; margin-inline: auto; }
  .logo-icon { display: none; }
  .logo-brand-fa { font-size: 22px; }
  .logo-brand-lat { display: none; }
  .header-actions { order: 1; gap: .45rem; }
  .header-account-btn { display: none; }
  .cart-btn { width: 42px; height: 42px; justify-content: center; padding: 0; background: var(--color-gold); }
  .hamburger-btn { display: flex; }
  .header-phone-btn { display: none; }
  .site-nav { display: none; }

  .hero { min-height: 470px; align-items: flex-end; }
  .hero-content { max-width: none; gap: .75rem; padding-block: 3.25rem 4rem; }
  .hero-scrim { background: linear-gradient(0deg,rgba(2,29,66,.96),rgba(2,29,66,.22)); }
  .hero-badge { align-self: flex-start; letter-spacing: 0; }
  .hero-headline { font-size: clamp(30px,9vw,42px); }
  .hero-sub { font-size: 15px; }
  .hero-sub br { display: none; }
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { width: auto; flex: 1; padding: .75rem .6rem; font-size: 14px; }
  .hero-stats { width: 100%; justify-content: space-between; gap: .5rem; padding: .7rem .85rem; }
  .hero-stat-num { font-size: 18px; }
  .hero-scroll-indicator { display: none; }

  .trust-strip { padding-block: 1.15rem; overflow: hidden; }
  .trust-grid { grid-template-columns: repeat(4,minmax(110px,1fr)); gap: .8rem; overflow-x: auto; padding-bottom: .35rem; scroll-snap-type: x mandatory; }
  .trust-item { flex-direction: column; gap: .4rem; scroll-snap-align: start; }
  .trust-text { align-items: center; }
  .trust-title { white-space: nowrap; }
  .trust-sub { display: none; }
  .trust-divider { display: none; }

  .section-products { padding-block: 42px; }
  .section-products .section-eyebrow,
  .section-products .section-title,
  .section-products .section-subtitle { text-align: center; }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .product-card { border-radius: 8px; }
  .product-card-body { padding: .7rem; gap: .25rem; }
  .product-card-title { font-size: 14px; }
  .product-card-price { font-size: 13px; }
  .product-capacity-badge { top: .4rem; right: .4rem; padding: .15rem .45rem; font-size: 12px; }
  .product-card-actions { flex-direction: column; }
  .product-card-actions .btn { min-height: 38px; font-size: 13px; }

  .why-grid,
  .shipping-layout { grid-template-columns: 1fr; }
  .why-grid { gap: .75rem; }
  .shipping-img-wrap { order: -1; }
  .section-about-teaser { min-height: 480px; }
  .cta-band-inner { flex-direction: column; align-items: stretch; }
  .cta-band-actions { flex-direction: column; }

  .mobile-tabbar { position: fixed; display: grid; grid-template-columns: repeat(5,1fr); inset-inline: 0; bottom: 0; z-index: 1080; min-height: 62px; padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #dbe3ed; box-shadow: 0 -5px 20px rgba(6,53,111,.13); backdrop-filter: blur(12px); }
  .mobile-tabbar-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; color: #536276; font-size: 11px; line-height: 1.45; }
  .mobile-tabbar-link:hover,
  .mobile-tabbar-link:focus-visible { color: var(--color-teal); }
  .mobile-tabbar-cart { color: var(--color-navy); }
  .mobile-tabbar-icon { position: relative; }
  .mobile-tabbar-badge { position: absolute; top: -7px; right: -9px; display: grid; place-items: center; min-width: 17px; height: 17px; padding-inline: 3px; color: #fff; background: var(--color-gold); border: 2px solid #fff; border-radius: 999px; font-size: 9px; }
  .site-footer { margin-bottom: 0; }
}

@media (max-width: 390px) {
  .container { padding-inline: 14px; }
  .hero-ctas { gap: .45rem; }
  .hero-stats { gap: .35rem; }
  .hero-stat-label { font-size: 11px; }
  .shipping-stats { gap: .4rem; }
  .shipping-stat { padding: .7rem .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   CSS RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}


/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Brand colours */
  --color-teal:          #00BFA6;
  --color-teal-dark:     #009e88;
  --color-teal-deeper:   #007d6b;
  --color-navy:          #0B1E3D;
  --color-navy-light:    #132747;
  --color-gold:          #F5A320;
  --color-gold-dark:     #d98c10;
  --color-white:         #FFFFFF;
  --color-surface:       #F0F6F5;

  /* Text */
  --color-text-primary:  #0B1E3D;
  --color-text-secondary:#4a5568;
  --color-text-muted:    #718096;

  /* Radius system */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-full: 9999px;

  /* Shadows — multi-stop brand-tinted */
  --shadow-card:
    0 2px  6px  rgba(0, 191, 166, 0.06),
    0 6px  20px rgba(11,  30,  61, 0.10),
    0 12px 32px rgba(11,  30,  61, 0.06);
  --shadow-card-hover:
    0 4px  10px rgba(0, 191, 166, 0.10),
    0 12px 32px rgba(11,  30,  61, 0.18),
    0 20px 48px rgba(11,  30,  61, 0.10);
  --shadow-btn:
    0 2px  8px  rgba(0, 191, 166, 0.20),
    0 4px  16px rgba(0, 191, 166, 0.12);
  --shadow-header:
    0 2px  8px  rgba(11, 30, 61, 0.30),
    0 4px  24px rgba(0, 191, 166, 0.08);

  /* Spacing */
  --section-padding: clamp(64px, 10vw, 120px);
  --container-px:    clamp(1rem, 5vw, 3rem);
  --container-max:   1200px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.20s ease;
  --transition-slow:   0.35s ease;

  /* Z-index scale */
  --z-social:  900;
  --z-header: 1000;
  --z-overlay: 1100;

  /* Typography scale */
  --text-xs:   clamp(0.75rem,  1.5vw, 0.8rem);
  --text-sm:   clamp(0.85rem,  2vw,   0.95rem);
  --text-base: clamp(1rem,     2.5vw, 1.05rem);
  --text-lg:   clamp(1.1rem,   2.5vw, 1.25rem);
  --text-xl:   clamp(1.25rem,  3vw,   1.5rem);
  --text-2xl:  clamp(1.5rem,   3.5vw, 2rem);
  --text-3xl:  clamp(1.8rem,   4vw,   2.5rem);
  --text-4xl:  clamp(2.4rem,   5vw,   3.8rem);
}


/* ============================================================
   HTML & BODY BASE
   ============================================================ */

html {
  direction: rtl;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 2;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   CUSTOM SELECTION
   ============================================================ */

::selection {
  background-color: rgba(0, 191, 166, 0.25);
  color: var(--color-navy);
}

::-moz-selection {
  background-color: rgba(0, 191, 166, 0.25);
  color: var(--color-navy);
}


/* ============================================================
   RTL TYPOGRAPHY BASE
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy);
  direction: rtl;
  text-align: right;
}

p {
  line-height: 2;
  direction: rtl;
  text-align: right;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-px);
}


/* ============================================================
   SECTION HELPER
   ============================================================ */

.section {
  padding-block: var(--section-padding);
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--color-navy);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  padding-block: 0.875rem;
}

.site-logo {
  color: var(--color-teal);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.2;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.85;
}

.site-logo:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  direction: rtl;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background-color var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-teal);
  background-color: rgba(0, 191, 166, 0.10);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  color: var(--color-teal);
}

.nav-link:active {
  background-color: rgba(0, 191, 166, 0.18);
}

.nav-link.active {
  color: var(--color-teal);
}

/* Cart button */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  flex-shrink: 0;
}

.cart-btn:hover {
  background-color: var(--color-teal-dark);
  box-shadow: var(--shadow-btn);
}

.cart-btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  background-color: var(--color-teal-dark);
}

.cart-btn:active {
  background-color: var(--color-teal-deeper);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-navy);
  font-weight: 900;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base);
  flex-shrink: 0;
}

.hamburger:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: var(--color-navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: var(--color-white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.mobile-nav-close:hover {
  background-color: rgba(255, 255, 255, 0.10);
}

.mobile-nav-close:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.mobile-nav .nav-list {
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.mobile-nav .nav-link {
  font-size: var(--text-xl);
  padding: 0.75rem 2.5rem;
  display: block;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroZoom 12s ease-in-out alternate infinite;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 30, 61, 0.85) 0%,
    rgba(11, 30, 61, 0.55) 60%,
    rgba(11, 30, 61, 0.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: clamp(4rem, 8vw, 8rem);
  width: 100%;
  max-width: 700px;
  margin-inline-start: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-gold);
  color: var(--color-navy);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero-headline {
  color: var(--color-white);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.4;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.80);
  font-size: 1.1rem;
  line-height: 2;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  direction: rtl;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  cursor: pointer;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  direction: rtl;
}

.btn:active {
  transform: translateY(1px);
}

/* Teal */
.btn-teal {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

.btn-teal:hover {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  box-shadow: var(--shadow-btn);
}

.btn-teal:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  background-color: var(--color-teal-dark);
}

.btn-teal:active {
  background-color: var(--color-teal-deeper);
  border-color: var(--color-teal-deeper);
}

/* Gold */
.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  box-shadow:
    0 2px 8px  rgba(245, 163, 32, 0.25),
    0 4px 16px rgba(245, 163, 32, 0.15);
}

.btn-gold:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  background-color: var(--color-gold-dark);
}

.btn-gold:active {
  background-color: #c07a0c;
  border-color: #c07a0c;
}

/* Outline gold */
.btn-outline-gold {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-navy);
}

.btn-outline-gold:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  background-color: rgba(245, 163, 32, 0.10);
}

.btn-outline-gold:active {
  background-color: var(--color-gold-dark);
  color: var(--color-navy);
  border-color: var(--color-gold-dark);
}

/* Outline navy */
.btn-outline {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
  border-width: 1px;
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-outline:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 3px;
}

.btn-outline:active {
  background-color: var(--color-navy-light);
  color: var(--color-white);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}


/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  background-color: var(--color-gold);
  padding-block: 1.5rem;
}

.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-navy);
  font-weight: 700;
}

.trust-icon {
  width: 40px;
  height: 40px;
  color: var(--color-navy);
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}


/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.products-section {
  background-color: var(--color-white);
  padding-block: var(--section-padding);
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  line-height: 1.4;
}

.section-heading {
  color: var(--color-navy);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.section-intro {
  color: var(--color-text-secondary);
  max-width: 60ch;
  line-height: 2;
  font-size: var(--text-base);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}


/* ============================================================
   PRODUCT CARD
   ============================================================ */

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(0, 191, 166, 0.08);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product-card:focus-within {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-surface);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-capacity {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.5;
}

.product-cat {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background-color: rgba(245, 163, 32, 0.10);
  color: var(--color-gold-dark);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  width: fit-content;
}

.product-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-gold);
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.product-actions form {
  display: inline;
}


/* ============================================================
   WHY US SECTION
   ============================================================ */

.why-section {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding-block: var(--section-padding);
}

.why-section .section-heading {
  color: var(--color-white);
}

.why-section .section-eyebrow {
  color: rgba(255, 255, 255, 0.70);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.why-icon-wrap {
  width: 72px;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background-color var(--transition-base);
}

.why-item:hover .why-icon-wrap {
  background-color: rgba(255, 255, 255, 0.30);
}

.why-stat {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.why-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 600;
  line-height: 1.4;
}

.why-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.8;
}


/* ============================================================
   SHIPPING SECTION
   ============================================================ */

.shipping-section {
  background-color: var(--color-white);
  padding-block: var(--section-padding);
}

.shipping-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: center;
}

.shipping-img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.shipping-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shipping-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}


/* ============================================================
   ABOUT TEASER
   ============================================================ */

.about-teaser {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-teaser-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-teaser-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(11, 30, 61, 0.75) 0%,
    rgba(11, 30, 61, 0.75) 70%,
    transparent 100%
  );
}

.about-teaser-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.about-teaser-content .section-heading {
  color: var(--color-white);
}

.about-teaser-content p {
  color: rgba(255, 255, 255, 0.80);
  max-width: 50ch;
  text-align: center;
}


/* ============================================================
   FLOATING SOCIAL BAR
   ============================================================ */

.social-float {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: var(--z-social);
}

.social-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  color: var(--color-white);
  box-shadow:
    0 2px 8px  rgba(0, 0, 0, 0.20),
    0 4px 16px rgba(0, 0, 0, 0.12);
}

.social-float-btn:hover {
  transform: scale(1.12);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 6px 24px rgba(0, 0, 0, 0.15);
}

.social-float-btn:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}

.social-float-btn:active {
  transform: scale(0.96);
}

.social-float-btn.instagram {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-float-btn.whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

.social-float-btn.phone {
  background-color: var(--color-teal);
  color: var(--color-white);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-block: var(--section-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  color: var(--color-teal);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity var(--transition-fast);
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-heading {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-inline-end: 0.75rem;
  border-inline-end: 3px solid var(--color-gold);
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.70);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-base);
  line-height: 1.8;
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-link:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 2px;
  color: var(--color-teal);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

.footer-contact-item a:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-contact-icon {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-link {
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  transition: color var(--transition-base),
              border-color var(--transition-base),
              background-color var(--transition-base);
}

.social-link:hover {
  color: var(--color-teal);
  border-color: var(--color-teal);
  background-color: rgba(0, 191, 166, 0.10);
}

.social-link:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  color: var(--color-teal);
}

.social-link:active {
  background-color: rgba(0, 191, 166, 0.20);
}


/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  line-height: 1.4;
}

input,
textarea,
select {
  min-height: 48px;
  border: 1px solid #dde3ec;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  direction: rtl;
  text-align: right;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

input:hover,
textarea:hover,
select:hover {
  border-color: #b0c4c0;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow:
    0 0 0 3px rgba(0, 191, 166, 0.15),
    0 1px 4px rgba(0, 191, 166, 0.10);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-inline-end: 2.5rem;
}


/* ============================================================
   PAGE STUBS
   ============================================================ */

.stub-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) var(--container-px);
  gap: 1.25rem;
}

.stub-icon {
  color: var(--color-teal);
  width: 64px;
  height: 64px;
}

.stub-heading {
  color: var(--color-navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
}

.stub-text {
  color: var(--color-text-secondary);
  max-width: 45ch;
  line-height: 2;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Text colours */
.text-teal  { color: var(--color-teal)  !important; }
.text-gold  { color: var(--color-gold)  !important; }
.text-navy  { color: var(--color-navy)  !important; }
.text-white { color: var(--color-white) !important; }
.text-muted { color: var(--color-text-muted) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }

/* Background colours */
.bg-teal  { background-color: var(--color-teal)    !important; }
.bg-navy  { background-color: var(--color-navy)    !important; }
.bg-gold  { background-color: var(--color-gold)    !important; }
.bg-surface { background-color: var(--color-surface) !important; }

/* Visually hidden — accessible */
.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;
}

/* Spacing utilities */
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem;  }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem;    }
.mt-6  { margin-top: 1.5rem;  }
.mt-8  { margin-top: 2rem;    }
.mt-12 { margin-top: 3rem;    }

.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem;  }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem;    }
.mb-6  { margin-bottom: 1.5rem;  }
.mb-8  { margin-bottom: 2rem;    }
.mb-12 { margin-bottom: 3rem;    }

.pt-1  { padding-top: 0.25rem; }
.pt-2  { padding-top: 0.5rem;  }
.pt-4  { padding-top: 1rem;    }
.pt-6  { padding-top: 1.5rem;  }
.pt-8  { padding-top: 2rem;    }

.pb-1  { padding-bottom: 0.25rem; }
.pb-2  { padding-bottom: 0.5rem;  }
.pb-4  { padding-bottom: 1rem;    }
.pb-6  { padding-bottom: 1.5rem;  }
.pb-8  { padding-bottom: 2rem;    }

/* Display helpers */
.d-flex         { display: flex; }
.flex-col       { flex-direction: column; }
.align-center   { align-items: center; }
.justify-center { justify-content: center; }
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem;  }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem;    }

/* Text alignment */
.text-center { text-align: center; }
.text-right  { text-align: right;  }
.text-left   { text-align: left;   }

/* Width */
.w-full { width: 100%; }


/* ============================================================
   RESPONSIVE: TABLET (≤ 900px)
   ============================================================ */

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .shipping-inner {
    grid-template-columns: 1fr;
  }

  .shipping-img {
    order: -1;
  }

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


/* ============================================================
   RESPONSIVE: MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  /* Products grid — 2 cols */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Why grid — 1 col */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Footer grid — 1 col */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Shipping — 1 col, image first */
  .shipping-inner {
    grid-template-columns: 1fr;
  }

  .shipping-img {
    order: -1;
  }

  /* Hero adjustments */
  .hero-headline {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
  }

  .hero-content {
    align-items: stretch;
    text-align: right;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Trust strip — 2 cols grid */
  .trust-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .trust-badge {
    text-align: center;
  }

  /* Hide floating social bar on mobile */
  .social-float {
    display: none;
  }

  /* Footer bottom stacks vertically */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Reduce section-header gap */
  .section-header {
    margin-bottom: 1.75rem;
  }

  /* Smaller stat rows */
  .stat-row {
    gap: 1.5rem;
  }
}


/* ============================================================
   RESPONSIVE: SMALL MOBILE (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  /* Products grid — 1 col */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Trust strip — 1 col */
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Header inner tighter */
  .header-inner {
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  /* Cart btn — icon only on very small screens */
  .cart-btn-label {
    display: none;
  }

  /* Full-width buttons */
  .hero-ctas .btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }

  /* Why grid stays 1 col */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Footer grid stays 1 col */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Nav in mobile overlay bigger taps */
  .mobile-nav .nav-link {
    font-size: var(--text-2xl);
    padding: 1rem 3rem;
  }
}

/* Mobile navigation compatibility fixes.
   The legacy full-screen .mobile-nav rules above conflict with the current drawer markup. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.mobile-nav {
  display: flex;
  inset-block: 0;
  inset-inline: auto 0;
  width: min(86vw, 360px);
  padding: 1rem;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  background: #fff;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.16,1,.3,1), visibility 0s linear .3s;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.mobile-nav-overlay {
  pointer-events: none;
}

.mobile-nav-overlay.is-visible {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .site-nav,
  .header-account-btn,
  .header-phone-btn {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  .site-header,
  .social-float,
  .hamburger,
  .mobile-nav,
  .hero-ctas,
  .cart-btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .container {
    max-width: 100%;
    padding-inline: 0;
  }

  a {
    text-decoration: underline;
  }
}


/* ============================================================
   PRODUCT GALLERY
   ============================================================ */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid #dde3ec;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.4s ease;
}

.gallery-main:hover img {
  transform: scale(1.04);
}

.gallery-main-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

.gallery-thumbs {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: var(--color-surface);
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
  padding: 0;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--color-teal);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category link */
.category-link {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Product stock status */
.product-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-stock-status--in {
  background: #d1fae5;
  color: #065f46;
}

.product-stock-status--out {
  background: #fee2e2;
  color: #991b1b;
}

/* Qty controls */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #dde3ec;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.qty-btn:hover {
  background: #dde3ec;
}

.qty-input {
  width: 56px !important;
  min-height: unset !important;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  text-align: center;
  font-weight: 700;
  font-size: var(--text-base);
  -moz-appearance: textfield;
  padding: 0 !important;
  box-shadow: none !important;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product specs */
.product-detail-specs {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.specs-table {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.25rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #f0f4f8;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key,
.spec-val {
  padding: 0.875rem 1.25rem;
  font-size: var(--text-sm);
}

.spec-key {
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-navy);
  border-inline-end: 1px solid #e2e8f0;
}

.spec-val {
  color: var(--color-text-secondary);
}


/* ============================================================
   AUTH PAGES (LOGIN / REGISTER)
   ============================================================ */

.auth-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) var(--container-px);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-white) 60%);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: clamp(2rem, 5vw, 3rem);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.auth-logo-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-navy) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 191, 166, 0.30);
}

.auth-card-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.auth-card-sub {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.auth-alt {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.auth-alt a {
  color: var(--color-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Header account button */
.header-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.10);
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.header-account-btn:hover {
  background: rgba(0, 191, 166, 0.25);
  color: var(--color-teal);
}


/* ============================================================
   ACCOUNT PAGE
   ============================================================ */

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.account-sidebar {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.account-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
  text-align: center;
}

.account-avatar-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-navy) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 191, 166, 0.30);
}

.account-name {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-navy);
}

.account-phone {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  direction: ltr;
  letter-spacing: 0.03em;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.account-nav-link:hover {
  background-color: rgba(0, 191, 166, 0.10);
  color: var(--color-teal);
}

.account-nav-link.is-active {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.account-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.account-section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-teal);
  margin-bottom: 1.25rem;
}

.order-card {
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.order-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #f0f4f8;
  margin-bottom: 0.875rem;
}

.order-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.order-id {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: monospace;
}

.order-date {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.order-status-badge {
  padding: 0.2rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
}

.status-pending    { background: #fef3c7; color: #92400e; }
.status-confirmed  { background: #d1fae5; color: #065f46; }
.status-shipped    { background: #dbeafe; color: #1e40af; }
.status-delivered  { background: #dcfce7; color: #14532d; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.order-item-qty {
  color: var(--color-text-muted);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f4f8;
}

.order-total-label {
  font-weight: 600;
  font-size: var(--text-sm);
}

.order-total-amount {
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-teal);
}


/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.checkout-section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-teal);
  margin-bottom: 1.5rem;
}

.checkout-summary-col {
  position: sticky;
  top: 6rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.checkout-summary-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #dde3ec;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8edf5;
  font-size: var(--text-sm);
}

.checkout-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.checkout-item-name {
  color: var(--color-text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.checkout-item-meta {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.checkout-item-price {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 2px solid var(--color-navy);
}

.checkout-total-label {
  font-weight: 700;
  font-size: var(--text-base);
}

.checkout-total-amount {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-teal);
}

.checkout-notice {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  background: rgba(0, 191, 166, 0.08);
  border-radius: var(--radius-sm);
  border-inline-end: 3px solid var(--color-teal);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: 1.25rem;
  line-height: 1.7;
}

.checkout-notice svg {
  flex-shrink: 0;
  color: var(--color-teal);
  margin-top: 0.125rem;
}

.checkout-success {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) var(--container-px);
  max-width: 560px;
  margin-inline: auto;
}

.checkout-success-icon {
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}

.checkout-success-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.checkout-success-text {
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 2rem;
}

.checkout-success-order {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 2;
}

.checkout-success-order strong {
  color: var(--color-navy);
}

/* Responsive for checkout + account */
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-col {
    position: static;
    order: -1;
  }

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

  .account-sidebar {
    position: static;
  }

  .spec-row {
    grid-template-columns: 140px 1fr;
  }
}


/* ============================================================
   ADMIN PANEL
   ============================================================ */

/* Login page */
.adm-login-body {
  background: var(--color-navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.adm-login-wrap {
  width: 100%;
  max-width: 420px;
}

.adm-login-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.adm-login-head {
  text-align: center;
  margin-bottom: 2rem;
}

.adm-login-logo {
  width: 64px;
  height: 64px;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  letter-spacing: -1px;
}

.adm-login-title {
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.adm-login-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Admin layout body */
.adm-body {
  background: #f0f4f8;
  min-height: 100vh;
}

/* Outer flex — sidebar right, main left (RTL: row-reverse puts DOM-first on right) */
.adm-layout {
  display: flex;
  flex-direction: row-reverse;
  min-height: 100vh;
}

/* Sidebar */
.adm-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--color-navy);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  transition: transform 0.3s ease;
}

.adm-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 1rem;
}

/* Brand */
.adm-brand {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.adm-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.adm-brand-badge {
  width: 38px;
  height: 38px;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.adm-brand-fa {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.adm-brand-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.2;
}

/* Nav */
.adm-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.875rem 0.625rem;
  gap: 0.2rem;
}

.adm-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.65rem 0.875rem;
  color: rgba(255,255,255,0.65);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.adm-nav-link:hover {
  color: var(--color-white);
  background: rgba(0,191,166,0.14);
}

.adm-nav-link--active {
  color: var(--color-white) !important;
  background: var(--color-teal) !important;
}

.adm-nav-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Sidebar footer */
.adm-sidebar-footer {
  padding: 0.875rem 0.875rem 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.adm-sidebar-user {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.25rem 0.375rem;
}

.adm-sidebar-uname {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.adm-logout-link,
.adm-site-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.adm-logout-link {
  color: rgba(255,100,100,0.8);
}

.adm-logout-link:hover {
  background: rgba(255,100,100,0.12);
  color: #ff6b6b;
}

.adm-site-link {
  color: rgba(255,255,255,0.4);
}

.adm-site-link:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
}

/* Mobile overlay */
.adm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
}

.adm-overlay--show {
  display: block;
}

/* Main wrap */
.adm-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Topbar (mobile only) */
.adm-topbar {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-white);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.adm-topbar-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

.adm-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 4px;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.adm-hamburger:hover {
  background: #f0f4f8;
}

.adm-ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}

/* Page content area */
.adm-content {
  flex: 1;
  padding: 1.75rem 1.5rem;
  max-width: 1080px;
  width: 100%;
}

/* Page header */
.adm-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.adm-page-title {
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin: 0;
  line-height: 1.2;
}

.adm-page-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.125rem;
}

/* Stat grid */
.adm-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.adm-stat-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 4px solid transparent;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.adm-stat-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.adm-stat--teal { border-right-color: var(--color-teal); }
.adm-stat--gold { border-right-color: var(--color-gold); }
.adm-stat--warn { border-right-color: #f59e0b; }

.adm-stat-icon {
  color: var(--color-teal);
  opacity: 0.85;
  /* CR#916: align the icon on the same edge as the number and give the card a
     single, even vertical rhythm (it used to sit on the opposite edge with
     uneven gaps). */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
}
.adm-stat-card { gap: 0.5rem; }
.adm-stat-body { display: flex; flex-direction: column; gap: 0.15rem; }
.adm-stat-num { line-height: 1.15; }
.adm-stat-lbl { margin-top: 0; }
.adm-stat-cta { margin-top: 0.85rem; }

.adm-stat--gold .adm-stat-icon { color: var(--color-gold); }
.adm-stat--warn .adm-stat-icon { color: #f59e0b; }

.adm-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
}

.adm-stat-lbl {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.adm-stat-cta {
  font-size: 0.75rem;
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: opacity var(--transition-fast);
}

.adm-stat-cta:hover { opacity: 0.75; }

/* Card */
.adm-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}

.adm-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f0f4f8;
}

.adm-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

/* Table */
.adm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.adm-table th {
  background: #f8fafc;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.75rem 1rem;
  text-align: right;
  border-bottom: 1px solid #e8edf2;
  white-space: nowrap;
}

.adm-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f4f8;
  color: var(--color-text-primary);
  vertical-align: middle;
}

.adm-table tbody tr:last-child td {
  border-bottom: none;
}

.adm-table tbody tr:hover td {
  background: #fafcff;
}

.adm-table tfoot td {
  padding: 0.875rem 1rem;
  background: #f8fafc;
  font-weight: 600;
  border-top: 2px solid #e8edf2;
}

.adm-row--unread td {
  background: #fffbeb;
}

.adm-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 2.5rem 1rem !important;
  font-style: italic;
}

/* Badges */
.adm-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.adm-badge--ok   { background: #d1fae5; color: #065f46; }
.adm-badge--warn { background: #fef3c7; color: #92400e; }
.adm-badge--info { background: #dbeafe; color: #1e40af; }
.adm-badge--err  { background: #fee2e2; color: #991b1b; }

/* Thumbnail */
.adm-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.adm-no-img {
  width: 48px;
  height: 48px;
  background: #f0f4f8;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.adm-slug {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  direction: ltr;
  display: inline-block;
}

/* Action buttons */
.adm-actions {
  white-space: nowrap;
}

.adm-btn-edit,
.adm-btn-del {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  vertical-align: middle;
}

.adm-btn-edit {
  background: #e0f2fe;
  color: #0369a1;
}

.adm-btn-edit:hover {
  background: #bae6fd;
}

.adm-btn-del {
  background: #fee2e2;
  color: #991b1b;
  margin-right: 0.25rem;
}

.adm-btn-del:hover {
  background: #fecaca;
}

/* Form grid */
.adm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1.5rem;
  padding: 1.25rem;
}

.adm-form-full {
  grid-column: 1 / -1;
}

.adm-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #f0f4f8;
}

.adm-req {
  color: #ef4444;
}

.adm-field-hint {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.25rem;
}

/* File input */
.adm-file-input {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-primary);
}

.adm-img-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.adm-img-prev-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.adm-img-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Checkbox label */
.adm-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.adm-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-teal);
}

/* Detail table (order view) */
.adm-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.adm-detail-table th {
  width: 130px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.6rem 1.25rem;
  text-align: right;
  vertical-align: top;
}

.adm-detail-table td {
  padding: 0.6rem 1.25rem;
  color: var(--color-text-primary);
  border-bottom: 1px solid #f0f4f8;
}

/* Detail grid */
.adm-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Filter bar */
.adm-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.adm-filter-btn {
  display: inline-flex;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.adm-filter-btn:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.adm-filter-btn--active {
  background: var(--color-teal);
  color: var(--color-white) !important;
  border-color: var(--color-teal);
}

/* btn-outline for admin */
.btn-outline {
  background: transparent;
  border: 1.5px solid #d1d5db;
  color: var(--color-text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

/* alert-success (not already in base) */
.alert-success {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  background: #d1fae5;
  color: #065f46;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  border: 1px solid #a7f3d0;
}

/* ── Admin responsive ── */
@media (max-width: 900px) {
  .adm-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adm-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .adm-layout {
    flex-direction: column;
  }

  .adm-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    transform: translateX(100%);
    z-index: 300;
  }

  .adm-sidebar--open {
    transform: translateX(0);
  }

  .adm-topbar {
    display: flex;
  }

  .adm-content {
    padding: 1.25rem 1rem;
  }

  .adm-form-grid {
    grid-template-columns: 1fr;
  }

  .adm-form-full {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .adm-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .adm-stat-card {
    padding: 1rem;
  }

  .adm-stat-num {
    font-size: 1.5rem;
  }
}

/* ============================================================
   INNER-PAGE COMPONENTS  (CR #903 / #904)
   The page templates were generated against a design system whose
   rules were never written: 133 classes used in about/contact/blog/
   cart/product/404/auth had no CSS at all, so those pages rendered
   as unstyled block flow. Everything below fills that gap using the
   tokens already defined in :root.
   ============================================================ */

/* ---------- layout primitives ---------- */
.section-pad { padding-block: var(--section-padding); }

.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.page-hero--sm { padding-block: clamp(2rem, 5vw, 3.25rem); }
.page-hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  margin: 0.5rem 0 0;
  color: var(--color-white);
}
.page-hero-sub {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-base);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-link { color: rgba(255, 255, 255, 0.75); transition: color var(--transition-fast); }
.breadcrumb-link:hover { color: var(--color-white); text-decoration: underline; }
.breadcrumb-sep { color: rgba(255, 255, 255, 0.4); }
.breadcrumb-current { color: var(--color-white); font-weight: 600; }

/* ---------- buttons ---------- */
.btn-block { display: flex; width: 100%; }
.btn-wa { background-color: #25D366; color: var(--color-white); border-color: #25D366; }
.btn-wa:hover { background-color: #1da851; border-color: #1da851; color: var(--color-white); }
.btn-white { background-color: var(--color-white); color: var(--color-navy); border-color: var(--color-white); }
.btn-white:hover { background-color: #eef2f7; }
.btn-outline-light { background: transparent; color: var(--color-white); border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--color-white); }

/* ---------- forms ---------- */
.form-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}
.required { color: #dc2626; margin-inline-start: 0.15rem; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #dde3ec;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.15);
}
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.8; }

.alert {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}
.alert-error { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

/* ---------- empty state ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: clamp(2.5rem, 8vw, 5rem) 1rem;
  color: var(--color-text-secondary);
}
.empty-state .empty-icon { color: #cbd5e1; }
.empty-title { font-size: var(--text-xl); font-weight: 800; color: var(--color-navy); margin: 0; }
.empty-state .btn { margin-top: 0.75rem; }

/* ---------- cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}
.cart-items {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead th {
  text-align: start;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 1rem;
  background: var(--color-surface);
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.cart-row td { padding: 1rem; border-bottom: 1px solid #f0f4f8; vertical-align: middle; }
.cart-row:last-child td { border-bottom: none; }
.cart-product-info { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-product-name { font-weight: 700; }
.cart-product-link { color: var(--color-navy); transition: color var(--transition-fast); }
.cart-product-link:hover { color: var(--color-teal); }
.cart-product-cap { font-size: var(--text-xs); color: var(--color-text-muted); }
.cart-cell-price,
.cart-cell-total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-cell-total { font-weight: 800; color: var(--color-navy); }
.cart-cell-qty { text-align: center; }
.cart-qty {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding-inline: 0.5rem;
  border: 1px solid #dde3ec;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-weight: 700;
}
.cart-cell-remove { width: 1%; text-align: center; }
.btn-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #f0d0d0;
  border-radius: var(--radius-sm);
  background: #fff5f5;
  color: #dc2626;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.btn-remove:hover { background: #fee2e2; border-color: #dc2626; }

.cart-summary {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h, 72px) + 1rem);
}
.cart-summary-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.cart-summary-total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  font-size: var(--text-base);
  color: var(--color-navy);
  font-weight: 700;
}
.cart-grand-total { font-size: var(--text-lg); font-weight: 900; color: var(--color-teal); }
.cart-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.9rem 0 1.15rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.7;
}
.cart-notice svg { flex-shrink: 0; margin-top: 2px; }
.cart-summary .btn { margin-bottom: 0.6rem; }
.cart-summary .btn:last-child { margin-bottom: 0; }

/* ---------- about ---------- */
.about-img-section { padding-block: 0; }
.about-img-full-wrap {
  position: relative;
  width: 100%;
  max-height: 460px;
  overflow: hidden;
}
.about-img-full { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; }
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,30,61,.05) 0%, rgba(11,30,61,.45) 100%);
  pointer-events: none;
}
.about-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.about-text {
  color: var(--color-text-secondary);
  line-height: 2.1;
  margin-bottom: 1rem;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
}
.about-stat-num { font-size: var(--text-2xl); font-weight: 900; color: var(--color-teal); line-height: 1.2; }
.about-stat-label { font-size: var(--text-xs); color: var(--color-text-muted); }
.about-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.about-side { display: flex; flex-direction: column; gap: 1.25rem; }
.about-cert-card,
.about-contact-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.about-cert-card { text-align: center; }
.about-cert-card .about-cert-icon { color: var(--color-gold); }
.about-cert-card h3 { margin: 0.5rem 0 0.15rem; font-size: var(--text-lg); color: var(--color-navy); }
.about-cert-card p { margin: 0; color: var(--color-text-muted); }
.about-cert-code {
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  display: inline-block;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-navy);
}
.about-contact-card h3 {
  margin: 0 0 1rem;
  font-size: var(--text-lg);
  color: var(--color-navy);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e2e8f0;
}
.about-contact-list { list-style: none; margin: 0 0 1.15rem; padding: 0; display: grid; gap: 0.85rem; }
.about-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.about-contact-list svg { flex-shrink: 0; color: var(--color-teal); margin-top: 3px; }
.about-contact-link { color: var(--color-text-secondary); transition: color var(--transition-fast); }
.about-contact-link:hover { color: var(--color-teal); }

/* ---------- contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-info-title,
.contact-form-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 1.25rem;
}
.contact-info-cards { display: grid; gap: 0.85rem; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.contact-info-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 191, 166, 0.1);
  color: var(--color-teal);
}
.contact-info-card-title {
  margin: 0 0 0.2rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}
.contact-info-card p { margin: 0; color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.8; }
.contact-phone-link,
.contact-email-link { color: var(--color-text-secondary); font-size: var(--text-sm); transition: color var(--transition-fast); }
.contact-phone-link:hover,
.contact-email-link:hover { color: var(--color-teal); }
.contact-wa-card { margin-top: 1rem; }
.contact-wa-card .btn { width: 100%; }
.contact-form-col {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 3vw, 2rem);
}

/* ---------- blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.blog-card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.35rem; flex: 1; }
.blog-card-date { font-size: var(--text-xs); color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.blog-card-title { margin: 0; font-size: var(--text-lg); font-weight: 800; line-height: 1.6; }
.blog-card-link { color: var(--color-navy); transition: color var(--transition-fast); }
.blog-card-link:hover { color: var(--color-teal); }
.blog-card-excerpt { margin: 0; color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 2; }
.blog-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- product detail ---------- */
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.5rem;
}
.product-detail-info { display: flex; flex-direction: column; }
.product-detail-title { font-size: var(--text-3xl); font-weight: 900; color: var(--color-navy); margin: 0.35rem 0 0.5rem; }
.product-detail-capacity { color: var(--color-text-secondary); margin-bottom: 0.5rem; }
.capacity-highlight { font-weight: 800; color: var(--color-teal); }
.product-detail-price {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-navy);
  margin-block: 0.5rem 0.75rem;
}
.product-detail-desc { color: var(--color-text-secondary); line-height: 2.1; margin-bottom: 1.25rem; }
.product-detail-desc p { margin-block: 0 1rem; }
.product-detail-desc p:last-child { margin-bottom: 0; }
.product-detail-desc-h {
  margin-block: 1.75rem .6rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-navy);
}
.product-detail-desc > *:first-child { margin-top: 0; }
.product-detail-specs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: .35rem .9rem;
  background: #f5f8fc;
  border: 1px solid #e2e9f2;
  border-radius: 10px;
}
.product-detail-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: .5rem;
  border-bottom: 1px dashed #e2e9f2;
  line-height: 1.9;
}
.product-detail-specs li:last-child { border-bottom: 0; }
.product-detail-point {
  margin-block: 0 .7rem;
  padding-inline-start: .9rem;
  border-inline-start: 3px solid var(--color-teal);
}
.product-detail-point b { color: var(--color-navy); }
.product-detail-specs span { color: var(--color-text-secondary); }
.product-detail-specs b { color: var(--color-navy); font-weight: 700; }
@media (max-width: 768px) {
  .product-detail-desc-h { font-size: 1rem; margin-block: 1.4rem .5rem; }
  .product-detail-specs { padding-inline: .75rem; }
}
.product-detail-form { display: flex; flex-direction: column; gap: 1rem; }
.qty-row { display: flex; align-items: center; gap: 0.85rem; }
.qty-label { font-size: var(--text-sm); font-weight: 700; color: var(--color-navy); }
.product-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}
.trust-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}
.trust-badge-sm svg { color: var(--color-teal); flex-shrink: 0; }
.product-card-img-link { display: block; }
.product-card-img-placeholder,
.gallery-main-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-surface);
  color: #cbd5e1;
}

/* ---------- shop filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid #dde3ec;
  background: var(--color-white);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
}
.filter-pill:hover { border-color: var(--color-teal); color: var(--color-teal); }
.filter-pill.is-active,
.filter-pill[aria-current="true"] {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}
.add-to-cart-form { display: contents; }

/* ---------- 404 ---------- */
.section-404 { display: grid; place-items: center; min-height: 60vh; }
.error-card { text-align: center; max-width: 560px; margin-inline: auto; }
.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; color: var(--color-teal); line-height: 1; }
.error-title { font-size: var(--text-2xl); font-weight: 800; color: var(--color-navy); margin: 0.5rem 0; }
.error-text { color: var(--color-text-secondary); line-height: 2; }
.error-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.error-contact { margin-top: 1.5rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.error-phone-link { color: var(--color-teal); font-weight: 700; }

/* ---------- checkout ---------- */
.checkout-form-col {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 3vw, 2rem);
}

/* ---------- header / footer bits ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: calc(var(--z-header) + 1);
  padding: 0.75rem 1.25rem;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { inset-inline-start: 1rem; }
.cart-icon-wrap { position: relative; display: inline-flex; }
.cart-badge {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -6px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.mobile-nav-cart { position: relative; }
.footer-top { padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.footer-brand-col,
.footer-contact-col { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-desc { color: rgba(255, 255, 255, 0.65); font-size: var(--text-sm); line-height: 2; margin: 0; }
.footer-col-title { font-size: var(--text-base); font-weight: 800; color: var(--color-white); margin: 0 0 0.35rem; }
.footer-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  line-height: 1.9;
}
.footer-contact-list svg { flex-shrink: 0; color: var(--color-teal); margin-top: 3px; }
.footer-phone { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.footer-phone:hover { color: var(--color-teal); }
.footer-wa-btn { margin-top: 0.35rem; align-self: flex-start; }
.footer-social-strip { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.15rem; }
.footer-social-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.footer-social-label { color: rgba(255, 255, 255, 0.6); font-size: var(--text-sm); }
.footer-social-links { display: flex; gap: 0.6rem; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-copy,
.footer-credit { color: rgba(255, 255, 255, 0.55); font-size: var(--text-xs); margin: 0; }
.footer-heart { color: var(--color-gold); }

/* ---------- home extras ---------- */
.badge-star { color: var(--color-gold); }
.cta-band-text { font-size: var(--text-2xl); font-weight: 900; margin: 0; }
.cta-band-sub { margin: 0.35rem 0 0; color: rgba(255, 255, 255, 0.75); }

/* ---------- add-to-cart toast (CR #903) ---------- */
.toast-stack {
  position: fixed;
  inset-block-end: 1.25rem;
  inset-inline-start: 1.25rem;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cart-layout,
  .about-content-layout,
  .contact-layout,
  .product-detail-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  /* cart table becomes stacked cards — a 5-column table cannot fit 390px */
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-row,
  .cart-row td { display: block; width: 100%; }
  .cart-row {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #f0f4f8;
  }
  .cart-row td { padding: 0.2rem 0; border: none; }
  .cart-row td.cart-cell-price::before,
  .cart-row td.cart-cell-qty::before,
  .cart-row td.cart-cell-total::before {
    content: attr(data-label) ': ';
    color: var(--color-text-muted);
    font-size: var(--text-xs);
  }
  .cart-cell-qty { text-align: start; }
  .cart-cell-remove {
    position: absolute;
    inset-block-start: 0.85rem;
    inset-inline-end: 0.85rem;
    width: auto;
  }
  .cart-cell-product { padding-inline-end: 2.5rem; }
  .about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .error-actions .btn,
  .about-ctas .btn { width: 100%; }
  .toast-stack { inset-inline: 1rem; inset-block-end: 1rem; }
}


/* --- centred text inside centred boxes (CR #903) ---
   The stylesheet sets `h1..h6 { text-align: right }` and `p { text-align: right }`
   at element level. An inherited `text-align: center` from a parent can never beat
   that, so the auth heading/sub-text and the centred cards below stayed right-aligned.
   These selectors are specific enough to win. */
.auth-card-header .auth-card-title,
.auth-card-header .auth-card-sub { text-align: center; }
.empty-state p,
.empty-state .empty-title { text-align: center; }
.error-card .error-title,
.error-card .error-text { text-align: center; }
.about-cert-card h3,
.about-cert-card p { text-align: center; }

/* ── CR#916: mobile overrides re-emitted after the base rules ── */
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .site-header { position: sticky; background: var(--color-teal); }
  .header-inner { min-height: 62px; padding-block: .55rem; }
  .site-logo { order: 2; margin-inline: auto; }
  .logo-icon { display: none; }
  .logo-brand-fa { font-size: 22px; }
  .logo-brand-lat { display: none; }
  .header-actions { order: 1; gap: .45rem; }
  .header-account-btn { display: none; }
  .cart-btn { width: 42px; height: 42px; justify-content: center; padding: 0; background: var(--color-gold); }
  .hamburger-btn { display: flex; }
  .header-phone-btn { display: none; }
  .site-nav { display: none; }

  .hero { min-height: 470px; align-items: flex-end; }
  .hero-content { max-width: none; gap: .75rem; padding-block: 3.25rem 4rem; }
  .hero-scrim { background: linear-gradient(0deg,rgba(2,29,66,.96),rgba(2,29,66,.22)); }
  .hero-badge { align-self: flex-start; letter-spacing: 0; }
  .hero-headline { font-size: clamp(30px,9vw,42px); }
  .hero-sub { font-size: 15px; }
  .hero-sub br { display: none; }
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { width: auto; flex: 1; padding: .75rem .6rem; font-size: 14px; }
  .hero-stats { width: 100%; justify-content: space-between; gap: .5rem; padding: .7rem .85rem; }
  .hero-stat-num { font-size: 18px; }
  .hero-scroll-indicator { display: none; }

  .trust-strip { padding-block: 1.15rem; overflow: hidden; }
  .trust-grid { grid-template-columns: repeat(4,minmax(110px,1fr)); gap: .8rem; overflow-x: auto; padding-bottom: .35rem; scroll-snap-type: x mandatory; }
  .trust-item { flex-direction: column; gap: .4rem; scroll-snap-align: start; }
  .trust-text { align-items: center; }
  .trust-title { white-space: nowrap; }
  .trust-sub { display: none; }
  .trust-divider { display: none; }

  .section-products { padding-block: 42px; }
  .section-products .section-eyebrow,
  .section-products .section-title,
  .section-products .section-subtitle { text-align: center; }
  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .product-card { border-radius: 8px; }
  .product-card-body { padding: .7rem; gap: .25rem; }
  .product-card-title { font-size: 14px; }
  .product-card-price { font-size: 13px; }
  .product-capacity-badge { top: .4rem; right: .4rem; padding: .15rem .45rem; font-size: 12px; }
  .product-card-actions { flex-direction: column; }
  .product-card-actions .btn { min-height: 38px; font-size: 13px; }

  .why-grid,
  .shipping-layout { grid-template-columns: 1fr; }
  .why-grid { gap: .75rem; }
  .shipping-img-wrap { order: -1; }
  .section-about-teaser { min-height: 480px; }
  .cta-band-inner { flex-direction: column; align-items: stretch; }
  .cta-band-actions { flex-direction: column; }

  .mobile-tabbar { position: fixed; display: grid; grid-template-columns: repeat(5,1fr); inset-inline: 0; bottom: 0; z-index: 1080; min-height: 62px; padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #dbe3ed; box-shadow: 0 -5px 20px rgba(6,53,111,.13); backdrop-filter: blur(12px); }
  .mobile-tabbar-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; color: #536276; font-size: 11px; line-height: 1.45; }
  .mobile-tabbar-link:hover,
  .mobile-tabbar-link:focus-visible { color: var(--color-teal); }
  .mobile-tabbar-cart { color: var(--color-navy); }
  .mobile-tabbar-icon { position: relative; }
  .mobile-tabbar-badge { position: absolute; top: -7px; right: -9px; display: grid; place-items: center; min-width: 17px; height: 17px; padding-inline: 3px; color: #fff; background: var(--color-gold); border: 2px solid #fff; border-radius: 999px; font-size: 9px; }
  .site-footer { margin-bottom: 0; }
}



/* CR#916b: 390px overrides re-emitted after the base rules */
@media (max-width: 390px) {
  .container { padding-inline: 14px; }
  .hero-ctas { gap: .45rem; }
  .hero-stats { gap: .35rem; }
  .hero-stat-label { font-size: 11px; }
  .shipping-stats { gap: .4rem; }
  .shipping-stat { padding: .7rem .35rem; }
}

