:root {
  --navy: #0b1f3a;
  --navy-mid: #12315a;
  --navy-deep: #071526;
  --gold: #d4a017;
  --gold-dark: #b8860b;
  --gold-soft: #f4e4a6;
  --bg: #f3f5f8;
  --card: #ffffff;
  --text: #1c2430;
  --muted: #667585;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --font: "Montserrat", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.maintenance-banner {
  background: #071526;
  color: #fff;
  text-align: center;
  padding: .85rem 1rem;
  display: grid;
  gap: .2rem;
  justify-items: center;
}
.maintenance-banner strong {
  color: #f4e4a6;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .92rem;
}
.maintenance-banner span { font-size: .88rem; font-weight: 600; max-width: 46rem; }
.maintenance-banner a { color: #fff; text-decoration: underline; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 12px; padding: .8rem 1.25rem; min-height: 46px;
  font: inherit; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  background: var(--gold); color: var(--navy-deep); text-transform: uppercase; font-size: .8rem;
  touch-action: manipulation;
}
.btn:hover { background: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-ghost {
  background: transparent; color: #fff; border: 2px solid #fff;
}
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline {
  background: #fff; color: var(--navy); border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 80; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.top-bar {
  background: var(--navy-deep); color: #d7e0ec; font-size: .78rem; font-weight: 600;
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap;
}
.top-bar span { opacity: .95; }
.top-bar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #b9f5c9;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.top-bar-whatsapp:hover { color: #fff; }
.top-bar-whatsapp svg { width: 15px; height: 15px; flex: 0 0 auto; }
.main-header-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--navy); }
.brand img { height: 56px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.45rem; letter-spacing: .04em; }
.brand-text small { display: block; font-size: .62rem; font-weight: 700; color: var(--muted); max-width: 14ch; }
.menu-toggle {
  display: none; border: 1px solid var(--border); background: #fff; border-radius: 12px;
  font-size: 1.25rem; min-width: 44px; min-height: 44px; padding: 0 .7rem; cursor: pointer;
}
.search-form {
  display: flex; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(11,31,58,.04);
}
.search-form select, .search-form input {
  border: 0; padding: .75rem .9rem; font: inherit; background: transparent;
}
.search-form select { border-right: 1px solid var(--border); color: var(--muted); max-width: 150px; }
.search-form input { flex: 1; min-width: 0; }
.search-form button {
  border: 0; border-left: 1px solid var(--border); background: #fff; color: var(--navy);
  padding: 0 .7rem; min-width: 52px; cursor: pointer; display: grid; place-items: center;
}
.search-form button svg {
  width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
}
.search-form button:hover { background: #f3f6fb; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.account-link, .cart-link {
  display: flex; align-items: center; gap: .45rem; color: var(--navy); font-weight: 700; font-size: .85rem;
}
.cart-link .cart-amount { color: var(--gold-dark); }
.cart-badge {
  background: var(--gold); color: var(--navy-deep); border-radius: 999px; min-width: 20px; height: 20px;
  font-size: .7rem; font-weight: 800; display: grid; place-items: center;
}

.main-nav { background: var(--navy); }
.main-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.main-nav ul {
  display: flex; gap: .15rem; list-style: none; margin: 0; padding: .55rem 0; flex-wrap: wrap; align-items: center;
}
.main-nav a {
  color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .55rem .55rem; display: inline-block; border-radius: 4px;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.12); color: var(--gold); }
.nav-apply { white-space: nowrap; margin: .45rem 0; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
  border-radius: 6px; box-shadow: var(--shadow); padding: .4rem; z-index: 90;
}
.nav-dropdown.open .nav-dropdown-menu, .nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { color: var(--navy); display: block; text-transform: none; letter-spacing: 0; font-size: .88rem; }
.nav-dropdown-menu a:hover { background: #f3f6fb; color: var(--gold-dark); }

.alert { margin: 1rem auto; padding: .9rem 1rem; border-radius: 6px; font-weight: 700; }
.alert-success { background: #e8f5e9; color: #1b5e20; }
.alert-error { background: #fdecea; color: #b71c1c; }
.alert-info { background: #e8eef8; color: #0b1f3a; }

/* Hero — full image visible, scales with screen (no side/top crop) */
.hero-full {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #0b1f3a;
}
.hero-full-slide {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #0b1f3a;
  cursor: zoom-in;
}
.hero-full-slide[hidden] { display: none; }
.hero-full-picture {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 0;
}
.hero-full-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 860px);
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
  background: #0b1f3a;
}
/* Mobile: full-width image, natural height — no crop / no side gaps */
@media (max-width: 767px) {
  .hero-full {
    background: #0b1f3a;
  }
  .hero-full-slide {
    width: 100%;
    min-height: 0;
    align-items: stretch;
  }
  .hero-full-picture {
    width: 100%;
  }
  .hero-full-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }
  .hero-full .story-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
  .hero-full .story-dots {
    bottom: .45rem;
  }
}
.hero-full-slide .container {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 10rem));
  padding: 0;
  line-height: normal;
}
.hero-full h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em; max-width: 16ch;
}
.hero-full p { font-size: 1.15rem; max-width: 42ch; opacity: .95; margin: 0; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-full .story-arrow { top: 50%; transform: translateY(-50%); z-index: 2; }
.hero-full .story-dots { position: absolute; left: 0; right: 0; bottom: .85rem; z-index: 2; margin: 0; }
.hero-full .story-dots button { background: rgba(255,255,255,.55); }
.hero-full .story-dots button.is-on { background: #fff; }

.usp-bar { background: var(--navy); color: #fff; }
.usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.1rem 0;
}
.usp-item { display: flex; align-items: center; gap: .7rem; font-size: .88rem; font-weight: 700; }
.usp-icon {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(212,160,23,.18);
  color: var(--gold); display: grid; place-items: center; flex-shrink: 0; font-size: 1rem;
}

/* Sections */
.section { padding: 2.75rem 0; }
.section-head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.section-head h2 {
  margin: 0; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
  white-space: nowrap;
}
.section-head::before, .section-head::after {
  content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-row {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.section-row h2 {
  margin: 0; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.section-row a { font-weight: 800; font-size: .82rem; letter-spacing: .04em; color: var(--navy-mid); }

.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem;
}
.category-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem .75rem; text-align: center; box-shadow: var(--shadow); transition: transform .2s ease;
  color: var(--navy); font-weight: 800; font-size: .86rem;
}
.category-card:hover { transform: translateY(-3px); color: var(--gold-dark); }
.category-card .cat-thumb {
  width: 72px; height: 72px; margin: 0 auto .65rem; border-radius: 50%;
  background: #f3f6fb; display: grid; place-items: center; overflow: hidden;
}
.category-card .cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-card.special-cat { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.brand-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .75rem; margin-bottom: 1.25rem;
}
.brand-chip {
  background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: .9rem .5rem;
  text-align: center; font-weight: 800; color: var(--navy); font-size: .82rem; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; min-height: 52px;
}
.brand-chip:hover { color: var(--gold-dark); border-color: var(--gold); }
.brand-group-title {
  margin: .25rem 0 .6rem; color: var(--navy); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
}
.story-page { background: #fff; color: #1c1c1c; }
.about-showcase { position: relative; background: #fff; }
.about-slide[hidden] { display: none; }
.about-warehouse {
  min-height: 320px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(7,21,38,.78) 0%, rgba(11,31,58,.45) 46%, rgba(11,31,58,.22) 100%),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}
.about-warehouse h1 {
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  max-width: 16ch;
}
.about-warehouse p { margin: 0; max-width: 46ch; font-size: 1.05rem; line-height: 1.55; }
.about-warehouse .container { width: min(920px, calc(100% - 10rem)); padding: 3.5rem 0; }
.about-showcase .story-arrow { top: 50%; z-index: 3; transform: translateY(-50%); }
.about-showcase .story-dots { position: absolute; left: 0; right: 0; bottom: 1.2rem; margin: 0; }
.about-showcase .story-dots button { background: rgba(255,255,255,.55); }
.about-showcase .story-dots button.is-on { background: #fff; }

/* About page — presentable layout */
.about-page .about-eyebrow {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark, #b8860b);
}
.about-page .about-eyebrow.light { color: rgba(255, 214, 102, .95); }
.about-page h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-transform: none;
  font-weight: 800;
}
.about-intro {
  padding: 3rem 0 2.25rem;
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(212, 175, 55, .12), transparent 60%),
    linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 2rem;
  align-items: start;
}
.about-intro-copy p { margin: 0 0 .9rem; line-height: 1.7; color: #334155; font-weight: 500; max-width: 62ch; }
.about-intro-aside {
  display: grid;
  gap: .75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 12px 32px rgba(11, 31, 58, .08);
}
.about-stat {
  display: grid;
  gap: .15rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b1f3a 0%, #153a66 100%);
  color: #fff;
}
.about-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #ffe08a;
}
.about-stat span { font-size: .82rem; opacity: .9; }
.about-intro-aside .btn { justify-self: stretch; text-align: center; margin-top: .25rem; }

.about-pillars { padding: 2.5rem 0 3rem; background: #fff; }
.about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.about-pillar {
  position: relative;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  overflow: hidden;
}
.about-pillar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold, #d4af37), #0b1f3a);
}
.about-pillar-num {
  display: block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #94a3b8;
  margin-bottom: .55rem;
}
.about-pillar h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
}
.about-pillar p { margin: 0; font-size: .92rem; line-height: 1.55; color: #475569; font-weight: 500; }

.about-supply {
  padding: 2.75rem 0;
  background:
    linear-gradient(180deg, #0b1f3a 0%, #12315a 100%);
  color: #fff;
}
.about-supply h2 { color: #fff; }
.about-supply .about-eyebrow { color: #ffe08a; }
.about-supply-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.about-supply p { margin: 0 0 1rem; line-height: 1.65; color: rgba(255,255,255,.88); font-weight: 500; max-width: 48ch; }
.about-supply-note { opacity: .85; font-size: .95rem; }
.about-customer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.about-customer-list li {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .55rem .9rem;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.3;
}

.about-partner {
  padding: 2.75rem 0;
  background:
    radial-gradient(700px 240px at 0% 100%, rgba(212, 175, 55, .18), transparent 55%),
    #f5f7fb;
}
.about-partner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: end;
}
.about-partner-inner p { margin: 0; max-width: 54ch; line-height: 1.65; color: #475569; font-weight: 500; }
.about-partner-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.about-contact-wrap { padding-top: 0; }

@media (max-width: 960px) {
  .about-intro-grid,
  .about-supply-grid { grid-template-columns: 1fr; }
  .about-pillar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-pillar-grid { grid-template-columns: 1fr; }
  .about-customer-list { grid-template-columns: 1fr; }
  .about-partner-inner { align-items: stretch; }
  .about-partner-actions .btn { width: 100%; text-align: center; }
}

.story-intro { padding: 2.75rem 0 1.5rem; }
.story-intro h1 {
  margin: 0; text-align: center; font-weight: 500; font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em; color: #1a1a1a; text-transform: none;
}
.story-feature-wrap { width: min(1200px, calc(100% - 2rem)); margin: 0 auto 1rem; }
.story-feature {
  position: relative; background: #fff; color: #1a1a1a;
  border: 1px solid #e6e6e6; border-radius: 16px; overflow: hidden;
  padding: 0 0 1.2rem;
}
.story-feature h2 {
  margin: 0 0 .6rem; text-align: center; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em; color: var(--navy); text-transform: none;
}
.story-feature-copy { padding: 1.25rem 1.5rem 0; max-width: 760px; margin: 0 auto; text-align: center; }
.story-feature p { margin: 0; font-size: 1.05rem; line-height: 1.65; font-weight: 500; color: #243044; }
.story-photo {
  background: #f7f4ee; min-height: 240px; display: grid; place-items: center; padding: 1rem;
}
.story-photo-full { min-height: 420px; width: 100%; padding: 1.5rem 1rem; }
.story-photo img { width: 100%; max-height: 250px; object-fit: contain; }
.story-photo-full img { max-height: 460px; width: auto; max-width: 100%; }
.story-arrow {
  position: absolute; top: 38%; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 1.25rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  touch-action: manipulation; box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.story-arrow-prev { left: .35rem; }
.story-arrow-next { right: .35rem; }
.story-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1.15rem; }
.story-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #6d6d6d; cursor: pointer;
}
.story-dots button.is-on { background: var(--navy); }
.hero-full .story-dots button.is-on,
.about-showcase .story-dots button.is-on { background: #fff; }
.story-dots-dark button { background: #c8c8c8; }
.story-dots-dark button.is-on { background: #1a1a1a; }
.story-copy { max-width: 820px; padding-top: 2.5rem; }
.profile-card.story-copy {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem 1.4rem 1.75rem; max-width: none;
}
.story-contact-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2rem; padding: 1.25rem; background: #f7f4ee; border-radius: 14px;
}
.story-contact-band span {
  display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 800; color: #666; margin-bottom: .25rem;
}
.story-contact-band a { color: var(--navy); font-weight: 800; }
.privacy-copy h2 { font-size: 1.35rem; margin-top: 1.4rem; }
.story-copy h2 {
  margin: 0 0 1rem; text-align: left; font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.02em; color: #1a1a1a; text-transform: none;
}
.story-copy h3 {
  margin: 1.35rem 0 .4rem; font-size: 1.05rem; font-weight: 700; color: #1a1a1a;
}
.story-copy p, .story-copy li { line-height: 1.65; font-weight: 500; color: #2a2a2a; }
.story-copy ul { margin: .4rem 0 1rem; padding-left: 1.15rem; }
.story-side { position: sticky; top: 1rem; }
.story-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  background: #1a1a1a; color: #fff; border-radius: 999px; padding: .75rem 1.35rem;
  font-weight: 700; text-decoration: none; touch-action: manipulation;
}
.story-pill:hover { color: #fff; background: #000; }
.story-pill-outline { background: #fff; color: #1a1a1a; border: 2px solid #1a1a1a; margin-top: .5rem; }
.story-pill-outline:hover { color: #1a1a1a; background: #f4f4f4; }
.story-side-slider { margin-top: 1.15rem; }
.story-side-photo { min-height: 220px; }
.story-contact { margin-top: 1.75rem; }
.story-contact h3 {
  margin: 0 0 .8rem; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: #1a1a1a;
}
.story-contact p { margin: 0 0 .85rem; line-height: 1.5; }
.story-contact span {
  display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 800; color: #666; margin-bottom: .15rem;
}
.story-contact a { color: #1a1a1a; font-weight: 700; }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem;
}

/* Homepage — Kandy King style sections */
.home-intro {
  background: #fff;
  padding: 2.75rem 0 1.5rem;
  text-align: center;
}
.home-intro-inner { max-width: 820px; margin: 0 auto; }
.home-intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: #1a1a1a;
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.home-intro p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
  font-weight: 500;
}
.home-intro a {
  color: #2f8f7b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-intro a:hover { color: #246f60; }

.home-block { background: #fff; padding: 2rem 0 2.5rem; }
.home-heading {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: #1a1a1a;
  text-transform: none;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.35rem 1rem;
}
.home-product {
  text-align: center;
  background: #fff;
  border-radius: 4px;
  padding: .35rem .25rem .75rem;
  transition: box-shadow .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}
.home-product:hover {
  border-color: #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.home-product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  margin-bottom: .65rem;
  background: #fff;
}
.home-product-media img {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.home-product-badge {
  position: absolute;
  z-index: 2;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .02em;
}
.home-product-badge.is-new {
  top: 8px;
  right: -2px;
  background: #e67e22;
  color: #fff;
  padding: .28rem .55rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
  border-radius: 2px 0 0 2px;
}
.home-product-badge.is-pct {
  top: 8px;
  left: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .7rem;
  line-height: 1.1;
}
.home-product h3 {
  margin: 0 0 .55rem;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
}
.home-product h3 a { color: inherit; }
.home-product h3 a:hover { color: #2f8f7b; }
.home-product-price {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .4rem;
  font-size: .95rem;
}
.home-product-price span { font-size: .72rem; color: #667585; font-weight: 650; }
.home-product-cta {
  display: inline-block;
  color: #2f8f7b;
  font-weight: 700;
  font-size: .88rem;
}
.home-product-cta:hover { color: #246f60; text-decoration: underline; }

.home-spotlight-wrap { padding-top: 1rem; }
.home-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.home-spotlight {
  position: relative;
  min-height: 240px;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.home-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%);
}
.home-spotlight-inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.2rem 1.35rem;
  max-width: 34ch;
}
.home-spotlight h3 {
  margin: 0 0 .4rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
}
.home-spotlight p {
  margin: 0 0 .85rem;
  font-size: .9rem;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.home-buy-btn {
  display: inline-block;
  background: #2f8f7b;
  color: #fff !important;
  font-weight: 750;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border-radius: 2px;
}
.home-buy-btn:hover { background: #246f60; color: #fff !important; }

.home-offers-block { background: #fafafa; }
.home-block-more {
  text-align: center;
  margin: 1.35rem 0 0;
  font-weight: 650;
  color: #667585;
}
.home-block-more a { color: #2f8f7b; font-weight: 750; }

.home-why {
  background: #fff;
  padding: 2.75rem 0 2.5rem;
  border-top: 1px solid #eee;
}
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  text-align: center;
}
.home-why-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: .75rem;
  filter: grayscale(1);
}
.home-why-item h3 {
  margin: 0 0 .55rem;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a;
}
.home-why-item p {
  margin: 0;
  color: #444;
  line-height: 1.55;
  font-weight: 500;
  font-size: .95rem;
}
.home-why-item a { color: #2f8f7b; font-weight: 700; }

.home-brands {
  background: #fff;
  padding: 1.5rem 0 2.75rem;
  border-top: 1px solid #eee;
}
.home-brand-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .75rem;
  align-items: center;
}
.home-brand-logo {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: .5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}
.home-brand-logo img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.home-brand-logo span {
  font-size: .78rem;
  font-weight: 750;
  color: var(--navy);
  text-align: center;
}

.home-cta-strip {
  background: var(--navy);
  color: #fff;
  padding: 2rem 0;
}
.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.home-cta-inner h2 {
  margin: 0 0 .35rem;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}
.home-cta-inner p { margin: 0; color: rgba(255,255,255,.85); font-weight: 500; }
.home-cta-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.home-cta-actions .btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
}
.home-cta-actions .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

@media (max-width: 1100px) {
  .home-product-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-brand-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .home-spotlight-grid,
  .home-why-grid { grid-template-columns: 1fr; }
  .home-product-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-intro { padding: 1.75rem 0 1rem; }
  .cart-sheet-toolbar { align-items: stretch; }
  .cart-sheet-mini-totals {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    text-align: left;
  }
}
@media (max-width: 520px) {
  .home-brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cta-inner { align-items: stretch; }
  .home-cta-actions .btn { width: 100%; text-align: center; }
  .home-product-grid-5 { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .home-product-media { height: 120px; }
  .home-product h3 { font-size: .82rem; }
  .cart-order-table { min-width: 920px; font-size: .82rem; }
}

/* Shop page — sidebar filters + product grid */
.shop-search-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.shop-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11,31,58,.04);
  max-width: 720px;
}
.shop-search-form input[type="search"] {
  border: 0;
  border-radius: 0;
  min-height: 46px;
  padding: .7rem 1rem;
  font-size: .95rem;
}
.shop-search-form button {
  border: 0;
  background: var(--navy);
  color: #fff;
  min-width: 52px;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
}
.shop-search-form button:hover { background: var(--navy-mid); }
.shop-section { padding-top: 1.25rem; }
.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.shop-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}
.shop-filter-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .9rem .85rem;
}
.shop-filter-card h2 {
  margin: 0 0 .65rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.shop-filter-list {
  display: grid;
  gap: .2rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: .15rem;
}
.shop-filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
}
.shop-filter-link:hover {
  background: #f3f6fa;
  color: var(--navy);
}
.shop-filter-link.is-active {
  background: var(--navy);
  color: #fff;
}
.shop-filter-link.is-active:hover { color: #fff; }
.shop-filter-count {
  font-size: .72rem;
  font-weight: 750;
  opacity: .7;
}
.shop-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .55rem 1rem;
  margin-bottom: 1rem;
}
.shop-results-head strong {
  color: var(--navy);
  font-size: 1rem;
}
.shop-clear {
  margin-left: auto;
  font-size: .84rem;
  font-weight: 750;
  color: var(--navy-mid);
}
.shop-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .shop-filter-list { max-height: 200px; }
}
@media (max-width: 640px) {
  .shop-sidebar { grid-template-columns: 1fr; }
}
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start;
}
.product-card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.badge-special {
  position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--gold); color: var(--navy-deep);
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: .25rem .5rem; border-radius: 3px;
}
.product-media {
  height: 170px; background: #fff; display: grid; place-items: center; padding: .85rem; border-bottom: 1px solid var(--border);
}
.product-media img { max-height: 145px; object-fit: contain; }
.product-body { padding: .9rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-body h3 {
  margin: 0; font-size: .95rem; color: var(--navy); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .btn { margin-top: auto; }
.product-title {
  color: var(--navy); margin: .4rem 0 1rem; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.2; overflow-wrap: anywhere;
}
.product-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.product-cta .btn { flex: 1 1 160px; }
.product-body h3 a { color: inherit; }
.product-meta { color: var(--muted); font-size: .78rem; font-weight: 600; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--gold-dark); margin-top: .2rem; }
.price span { font-size: .7rem; letter-spacing: .04em; }
.price-locked { color: var(--muted); font-weight: 700; font-size: .82rem; }
.stock-badge {
  display: inline-block; font-size: .75rem; font-weight: 800; padding: .2rem .5rem; border-radius: 999px;
  background: #e8f5e9; color: #1b5e20; width: fit-content;
}
.stock-badge.low { background: #fff3e0; color: #e65100; }
.stock-badge.out { background: #fdecea; color: #b71c1c; }

.why-section { background: var(--navy); color: #fff; }
.why-section h2 { color: #fff; text-align: center; margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .06em; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 1.15rem 1.2rem;
}
.why-item strong { display: block; color: var(--gold); margin-bottom: .35rem; font-size: .95rem; }
.why-item p { margin: 0; color: #d5deea; font-size: .9rem; line-height: 1.45; }

.cta-banner {
  background:
    linear-gradient(90deg, rgba(212,160,23,.95), rgba(184,134,11,.9)),
    url("https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1400&q=70") center/cover;
  color: var(--navy-deep); padding: 2.5rem 0;
}
.cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-inner h2 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; }
.cta-inner p { margin: 0; max-width: 48ch; font-weight: 600; }
.cta-actions { display: grid; gap: .55rem; justify-items: end; }
.cta-actions .login-link { font-weight: 800; color: var(--navy-deep); font-size: .9rem; }

.page-hero { padding: 1.75rem 0 1rem; background: #fff; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin: 0 0 .35rem; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.muted { color: var(--muted); }

.auth-wrap { display: grid; place-items: center; padding: 2rem 0 3rem; }
.auth-card, .panel, .table-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.auth-card { width: min(520px, 100%); padding: 1.75rem; }
.auth-card h1 { margin-top: 0; color: var(--navy); }
.form-grid { display: grid; gap: .9rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: .35rem; font-weight: 700; color: var(--navy); }
input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: .8rem .9rem;
  font: inherit; font-size: 16px; background: #fff;
}
.panel { padding: 1.25rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .85rem .75rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #f4f7fb; color: var(--navy); font-weight: 800; }
.badge { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.badge-pending { background: #fff3e0; color: #e65100; }
.badge-approved { background: #e8f5e9; color: #1b5e20; }
.badge-rejected, .badge-unpaid, .badge-cancelled { background: #fdecea; color: #b71c1c; }
.badge-paid, .badge-delivered, .badge-confirmed { background: #e3f2fd; color: #0d47a1; }
.badge-processing, .badge-shipped, .badge-partial { background: #f3e5f5; color: #6a1b9a; }

.cart-layout, .checkout-layout, .admin-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin: .55rem 0; }
.summary-row span { overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem; align-items: start; }
.qty-form { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.qty-form input[type="number"] { width: 88px; }

/* Cart order sheet (ERP-style lines + totals) */
.cart-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cart-sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e8eef6;
  background: #f8fafc;
}
.cart-sheet-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: .2rem;
}
.cart-sheet-mini-totals {
  display: flex;
  gap: 1.25rem;
  text-align: right;
}
.cart-sheet-mini-totals span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}
.cart-sheet-mini-totals strong { font-size: 1.05rem; color: var(--navy); }
.cart-table-wrap { overflow-x: auto; }
.cart-order-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
  font-size: .88rem;
}
.cart-order-table thead th {
  background: #eef2f7;
  color: #334155;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  padding: .7rem .65rem;
  border-bottom: 1px solid #dbe3ee;
  white-space: nowrap;
}
.cart-order-table td {
  padding: .7rem .65rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  color: #1e293b;
}
.cart-order-table tbody tr:hover { background: #f8fafc; }
.cart-order-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-order-table th.num { text-align: right; }
.cart-emphasis { font-weight: 800; color: var(--navy); }
.cart-order-table .col-check { width: 40px; text-align: center; color: #64748b; }
.cart-order-table .col-img { width: 64px; }
.cart-order-table .col-qty { width: 130px; }
.cart-order-table .col-act { width: 44px; text-align: center; }
.cart-thumb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-sku { color: #1d4ed8; font-weight: 750; text-decoration: none; }
.cart-sku:hover { text-decoration: underline; }
.cart-desc { font-weight: 650; line-height: 1.35; max-width: 280px; }
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.cart-qty form { margin: 0; }
.cart-qty button {
  width: 32px;
  height: 34px;
  border: 0;
  background: #f1f5f9;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.cart-qty button:hover { background: #e2e8f0; }
.cart-qty input[type="number"] {
  width: 48px;
  height: 34px;
  border: 0;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  text-align: center;
  font-weight: 700;
  padding: 0;
  min-height: 0;
  border-radius: 0;
}
.cart-remove {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  opacity: .7;
  padding: .25rem;
}
.cart-remove:hover { opacity: 1; }
.cart-totals-panel {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 1.25rem;
  padding: 1.15rem;
  background: #f8fafc;
  border-top: 1px solid #e8eef6;
}
.cart-totals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.cart-metric {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .7rem .8rem;
}
.cart-metric span {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: .25rem;
}
.cart-metric strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
}
.cart-metric em {
  display: block;
  margin-top: .15rem;
  font-style: normal;
  font-size: .75rem;
  color: #64748b;
}
.cart-grand {
  background: #0b1f3a;
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: .55rem;
  align-content: start;
}
.cart-grand > span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}
.cart-grand > strong {
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cart-grand .muted { color: rgba(255,255,255,.72); font-size: .8rem; margin: 0; }
.cart-grand .btn { text-align: center; }
.cart-grand .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.cart-grand .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

@media (max-width: 900px) {
  .cart-totals-panel { grid-template-columns: 1fr; }
  .cart-totals-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cart-order-table { min-width: 0; }
  .cart-order-table thead { display: none; }
  .cart-order-table, .cart-order-table tbody, .cart-order-table tr, .cart-order-table td { display: block; width: 100%; }
  .cart-order-table tr {
    padding: .9rem 1rem;
    border-bottom: 8px solid #f1f5f9;
  }
  .cart-order-table td {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border: 0;
    padding: .3rem 0;
    text-align: right;
  }
  .cart-order-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 750;
    color: #64748b;
    text-align: left;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .04em;
  }
  .cart-desc { max-width: none; text-align: right; }
  .cart-totals-grid { grid-template-columns: 1fr; }
}

.pager {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-top: 1.5rem; flex-wrap: wrap;
}
.pager-status { font-weight: 800; color: var(--navy); }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.summary-total { font-size: 1.2rem; font-weight: 800; color: var(--navy); border-top: 1px solid var(--border); padding-top: .75rem; margin-top: .75rem; }

.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); color: #fff; padding: 1.25rem; }
.admin-sidebar a { display: block; color: #fff; padding: .65rem .75rem; border-radius: 8px; margin-bottom: .25rem; font-weight: 700; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.14); color: #fff; }
.admin-main { padding: 1.25rem; background: var(--bg); }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 1.6rem; color: var(--navy); }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.dash-card {
  display: flex; flex-direction: column; gap: .35rem;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 1rem .95rem; min-height: 118px;
  color: inherit; text-decoration: none;
  -webkit-tap-highlight-color: rgba(11,31,58,.12);
  touch-action: manipulation;
}
.dash-card:hover { border-color: #c9d6e8; color: inherit; }
.dash-card.dash-warn { background: linear-gradient(180deg, #fffaf0, #fff); border-color: #f0d56a; }
.dash-label { font-size: .78rem; font-weight: 800; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.dash-card strong { font-size: clamp(1.55rem, 5vw, 2rem); color: var(--navy); line-height: 1.1; }
.dash-hint { margin-top: auto; font-size: .78rem; font-weight: 700; color: var(--navy-mid); }
@media (min-width: 900px) {
  .dash-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .dash-card { min-height: 132px; padding: 1.15rem 1.1rem; }
}

.analytics-panel { margin-bottom: 1.5rem; }
.analytics-head h2 { margin: 0 0 .25rem; color: var(--navy); font-size: 1.25rem; }
.analytics-kpis {
  display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 1rem 0;
}
@media (min-width: 700px) {
  .analytics-kpis { grid-template-columns: repeat(3, 1fr); }
}
.analytics-kpi {
  background: #0b1f3a; color: #fff; border-radius: 16px; padding: 1rem 1.1rem;
}
.analytics-kpi span { display: block; font-size: .78rem; font-weight: 700; opacity: .8; margin-bottom: .25rem; }
.analytics-kpi strong { font-size: 1.35rem; color: #f4e4a6; }
.analytics-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 900px) {
  .analytics-grid { grid-template-columns: 1.3fr 1fr; }
}
.analytics-card h3 { margin: 0 0 1rem; color: var(--navy); font-size: 1.05rem; }
.bar-chart {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45rem;
  align-items: end; min-height: 180px;
}
.bar-col { display: grid; justify-items: center; gap: .25rem; }
.bar {
  width: 100%; max-width: 36px; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #d4a017, #0b1f3a);
}
.bar-value { font-size: .62rem; font-weight: 800; color: var(--muted); text-align: center; min-height: 1.4em; }
.bar-label { font-size: .72rem; font-weight: 800; color: var(--navy); }
.bar-sub { font-size: .62rem; color: var(--muted); font-weight: 700; }
.status-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.status-bars-top { display: flex; justify-content: space-between; gap: .5rem; font-weight: 800; color: var(--navy); font-size: .88rem; }
.status-track { height: 10px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
.status-track span { display: block; height: 100%; background: #d4a017; border-radius: 999px; }

.image-preview-overlay {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  background: rgba(7,21,38,.88); padding: 1rem;
}
.image-preview-overlay.is-open { display: grid; }
.image-preview-overlay img {
  max-width: min(96vw, 1100px); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.image-preview-close {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: #fff; color: #0b1f3a;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.hero-full-slide[data-preview-src],
.product-media[data-preview-src] { cursor: zoom-in; }
.product-media[data-preview-src]:focus-visible {
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
}
body:has(.image-preview-overlay.is-open) { overflow: hidden; }

.site-footer { background: #fff; color: #111; border-top: 1px solid #e6e6e6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 1.5rem; padding: 2.5rem 0; }
.footer-logo { height: 72px; width: auto; margin-bottom: .75rem; background: transparent; }
.site-footer h4 { color: #111; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #111; }
.site-footer a:hover { color: var(--gold-dark); }
.site-footer p, .site-footer strong { color: #111; }
.footer-bottom { border-top: 1px solid #e6e6e6; padding: 1rem 0; font-size: .9rem; color: #111; }

.order-timeline {
  list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .45rem;
}
.order-timeline li {
  padding: .55rem .75rem; border-left: 4px solid var(--border); background: #f7f9fc; border-radius: 4px;
  font-weight: 700; font-size: .88rem; color: var(--muted);
}
.order-timeline li.done { border-left-color: #2e7d32; color: #1b5e20; background: #e8f5e9; }
.order-timeline li.current { border-left-color: var(--gold); color: var(--navy); background: #fff8e1; }
.badge-completed { background: #e8f5e9; color: #1b5e20; }
.badge-processing { background: #fff3e0; color: #e65100; }
.badge-shipped { background: #e3f2fd; color: #0d47a1; }
.flow-box {
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-bottom: 1rem;
}
.flow-box ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.stock-pill {
  display: inline-block; padding: .15rem .45rem; border-radius: 999px; font-size: .75rem; font-weight: 800;
  background: #e8f5e9; color: #1b5e20;
}
.stock-pill.low { background: #fff3e0; color: #e65100; }
.stock-pill.out { background: #fdecea; color: #b71c1c; }

@media (max-width: 980px) {
  .hero-inner, .why-grid, .usp-grid, .footer-grid, .cart-layout, .checkout-layout, .admin-layout, .form-grid.two, .product-detail {
    grid-template-columns: 1fr 1fr;
  }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .site-header { position: static; }
  .top-bar { font-size: .72rem; }
  .top-bar-extra { display: none; }
  .top-bar-inner { justify-content: center; text-align: center; padding: .4rem 0; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "toggle brand actions" "search search search";
    gap: .65rem .5rem;
    align-items: center;
    padding: .7rem 0 .85rem;
  }
  .menu-toggle { grid-area: toggle; }
  .brand { grid-area: brand; min-width: 0; }
  .brand img { height: 46px; }
  .header-actions { grid-area: actions; gap: .35rem; }
  .account-link, .cart-link { font-size: .75rem; gap: .25rem; }
  .search-form { grid-area: search; width: 100%; min-width: 0; }
  .search-form select { display: none; }
  .search-form input { font-size: 16px; padding: .75rem .85rem; min-width: 0; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav-inner { flex-direction: column; align-items: stretch; padding-bottom: .75rem; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: .8rem .85rem; font-size: .9rem; }
  .nav-dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,.06); }
  .nav-dropdown-menu a { color: #fff; }
  .nav-apply { width: calc(100% - 2rem); margin: .35rem 1rem .85rem; }
  .hero-inner, .usp-grid, .why-grid, .footer-grid, .cart-layout, .checkout-layout, .admin-layout, .form-grid.two, .cta-inner, .story-feature-grid, .story-split, .product-detail, .contact-grid {
    grid-template-columns: 1fr;
  }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .pager { display: grid; grid-template-columns: 1fr 1fr; }
  .pager-status { grid-column: 1 / -1; text-align: center; order: -1; }
  .stack-table { min-width: 0; }
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table tr { padding: .95rem 1rem; border-bottom: 8px solid var(--bg); }
  .stack-table td { border: 0; padding: .35rem 0; }
  .stack-table td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: .68rem; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--muted); margin-bottom: .1rem;
  }
  .stack-table td[data-label=""]::before { content: none; }
  .story-feature { padding: 0 0 1rem; }
  .story-photo-full { min-height: 280px; }
  .story-photo-full img { max-height: 320px; }
  .story-contact-band { grid-template-columns: 1fr; }
  .cta-banner { padding: 1.75rem 0; }
  .cta-actions { justify-items: stretch; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .admin-shell { grid-template-columns: 1fr; }
  .hero-full-slide .container { width: calc(100% - 5.25rem); }
  .hero-full h1 { font-size: 1.65rem; }
  .hero-full p { font-size: 1rem; }
  .hero-full .story-dots { bottom: .55rem; }
  .about-warehouse { min-height: 280px; }
  .about-warehouse .container { width: calc(100% - 5.25rem); }
  .about-warehouse h1 { font-size: 1.55rem; }
  .about-showcase .story-arrow { top: 42%; }
  .usp-item { font-size: .82rem; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .product-media { height: 128px; padding: .45rem; }
  .product-media img { max-height: 108px; }
  .product-body { padding: .7rem; }
  .product-body h3 { font-size: .82rem; overflow-wrap: anywhere; }
  .product-card .btn-block { font-size: .68rem; padding: .65rem .35rem; letter-spacing: .02em; }
  .page-hero { padding: 1.15rem 0 .85rem; }
  .section { padding: 1.75rem 0; }
  .footer-logo { height: 56px; }
  .footer-grid { gap: 1.25rem; padding: 1.75rem 0; }
  .auth-card { padding: 1.25rem; }
  table { font-size: .85rem; }
  th, td { padding: .65rem .5rem; }
  .product-detail .product-media { min-height: 220px; height: auto; }
  .profile-card.story-copy { padding: 1.25rem 1.1rem 1.4rem; }
  .story-copy h2 { font-size: 1.55rem; }
}
@media (max-width: 380px) {
  .action-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
  }
  .account-link, .cart-link { font-size: 1.15rem; }
}

/* ===== Easy staff UI (warehouse / accountant) — mobile first, Safari-safe ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.staff-body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
.staff-shell { min-height: 100dvh; }
.staff-brand { margin-bottom: 1rem; }
.staff-brand strong { display: block; font-size: 1.15rem; }
.staff-brand span { opacity: .8; font-size: .9rem; }
.staff-main {
  padding: 1rem 1rem 2rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.staff-bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: #071526; border-top: 1px solid rgba(255,255,255,.12);
  padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom, 0px));
  /* auto columns so warehouse (4) and accountant (3) both fit */
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: .15rem;
  /* iOS Safari: keep bar above home indicator */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}
.staff-bottom-nav a {
  color: #c9d4e3; text-align: center; font-size: .68rem; font-weight: 700;
  padding: .45rem .2rem; border-radius: 10px; min-height: 52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  -webkit-tap-highlight-color: rgba(212,160,23,.25);
  touch-action: manipulation;
  text-decoration: none;
}
.staff-bottom-nav a.active { color: #d4a017; background: rgba(255,255,255,.08); }
.staff-bottom-nav .nav-ico { font-size: 1.15rem; line-height: 1; }

.easy-page { max-width: 1100px; margin: 0 auto; }
.easy-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.easy-header h1 { margin: 0; color: var(--navy); font-size: 1.55rem; }
.easy-header p { margin: .25rem 0 0; color: var(--muted); font-weight: 600; }
.easy-btn {
  min-height: 48px; border-radius: 10px; font-size: .95rem; padding: .85rem 1.1rem;
  -webkit-appearance: none; appearance: none;
  touch-action: manipulation;
  cursor: pointer;
}
.easy-btn-block { width: 100%; display: flex; }
.easy-search {
  display: grid; grid-template-columns: 1fr auto auto; gap: .5rem; margin-bottom: .85rem;
}
.easy-search input[type="search"] {
  min-height: 48px; font-size: 16px; border-radius: 10px; border: 1px solid var(--border);
  padding: .75rem .9rem; -webkit-appearance: none; appearance: none;
}
.easy-view-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .75rem;
}
.easy-toggle {
  min-height: 46px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); border-radius: 10px; font-weight: 800; color: var(--navy); background: #fff;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(11,31,58,.15);
  text-decoration: none;
}
.easy-toggle.active { background: var(--navy); color: #fff; }
.easy-help {
  background: #fff8e1; border: 1px solid #f0d56a; border-radius: 10px;
  padding: .85rem 1rem; font-weight: 700; color: var(--navy); margin: 0 0 1rem;
}

/* 2x2 card grid */
.easy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.easy-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: .8rem; display: flex; flex-direction: column; gap: .45rem;
  min-width: 0;
}
.easy-card .easy-btn { min-height: 44px; font-size: .82rem; }
.easy-card.is-low { border-color: #f0b429; }
.easy-card.is-out { border-color: #e57373; }
.easy-card-media {
  position: relative; height: 110px; background: #f7f9fc; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden;
}
.easy-card-media img { max-height: 100px; max-width: 100%; object-fit: contain; }
.easy-tag {
  position: absolute; top: 8px; left: 8px; font-size: .68rem; font-weight: 800;
  padding: .2rem .45rem; border-radius: 999px; background: #e8f5e9; color: #1b5e20;
}
.easy-tag.low { background: #fff3e0; color: #e65100; }
.easy-tag.out { background: #fdecea; color: #b71c1c; }
.easy-card h2 {
  margin: 0; font-size: .92rem; line-height: 1.25; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em;
}
.easy-meta { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 600; }
.easy-card-form { display: grid; gap: .45rem; }
.easy-card-form label, .easy-inline-form label, .easy-full-form label {
  display: grid; gap: .25rem; font-size: .78rem; font-weight: 800; color: var(--navy);
}
.easy-card-form input, .easy-inline-form input, .easy-full-form input,
.easy-full-form select, .easy-full-form textarea {
  min-height: 46px; font-size: 16px; border-radius: 10px; border: 1px solid var(--border);
  padding: .65rem .75rem; width: 100%; -webkit-appearance: none; appearance: none; background: #fff;
}
.easy-link {
  text-align: center; font-weight: 800; font-size: .82rem; color: var(--navy-mid); padding: .35rem;
}

/* Table view */
.easy-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
.easy-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.easy-table th {
  text-align: left; background: #0b1f3a; color: #fff; padding: .85rem .75rem; font-size: .85rem;
  position: sticky; top: 0;
}
.easy-table td { padding: .75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.easy-table-product { display: flex; gap: .65rem; align-items: center; }
.easy-table-product img {
  width: 48px; height: 48px; object-fit: contain; background: #f7f9fc; border-radius: 8px; flex-shrink: 0;
}
.easy-table-product strong { display: block; color: var(--navy); font-size: .9rem; }
.easy-table-product span { color: var(--muted); font-size: .75rem; font-weight: 600; }
.easy-inline-form {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: end;
}
.easy-inline-form label { min-width: 100px; flex: 1; }
.easy-inline-form .easy-btn { flex: 0 0 auto; }

.easy-form-panel { margin-top: .5rem; }
.easy-form-panel h2 { margin: 0 0 .5rem; color: var(--navy); font-size: 1.2rem; }
.easy-full-form { display: grid; gap: .75rem; }
.easy-two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.easy-highlight-price { background: #fff8e1; border: 1px solid #f0d56a; border-radius: 12px; padding: .75rem; }
.easy-highlight-stock { background: #eef6ff; border: 1px solid #c5d8f0; border-radius: 12px; padding: .75rem; }
.easy-check {
  display: flex !important; align-items: center; gap: .55rem; font-size: .95rem !important;
  grid-template-columns: none !important;
}
.easy-check input { width: 22px; height: 22px; min-height: 22px; }
.easy-adjust {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.easy-adjust h3 { margin: 0 0 .75rem; color: var(--navy); font-size: 1rem; }
.easy-empty { text-align: center; font-weight: 700; color: var(--muted); }

@media (min-width: 900px) {
  .easy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .easy-card-media { height: 130px; }
}
@media (max-width: 899px) and (min-width: 600px) {
  .easy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .staff-sidebar { display: none; }
  .staff-bottom-nav { display: grid; }
  .staff-main { padding-bottom: 1rem; }
  .easy-search { grid-template-columns: 1fr; }
  .easy-table { min-width: 0; }
  .easy-table thead { display: none; }
  .easy-table, .easy-table tbody, .easy-table tr, .easy-table td {
    display: block; width: 100%;
  }
  .easy-table tr {
    padding: .85rem; border-bottom: 8px solid #f0f3f8;
  }
  .easy-table td {
    border: 0; padding: .35rem 0;
  }
  .easy-table td[data-label="Product"] { padding-bottom: .55rem; }
  .easy-inline-form { display: grid; grid-template-columns: 1fr 1fr; }
  .easy-inline-form .easy-btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 420px) {
  .easy-card h2 { font-size: .84rem; }
  .easy-two { grid-template-columns: 1fr; }
}

/* Sticky WhatsApp (small) */
.whatsapp-float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.whatsapp-float svg { width: 24px; height: 24px; display: block; }
@media (max-width: 640px) {
  .whatsapp-float { width: 42px; height: 42px; right: 12px; bottom: 12px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* Clearance page */
.clearance-hero {
  background:
    radial-gradient(700px 220px at 90% 0%, rgba(212,175,55,.18), transparent 55%),
    linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.clearance-kicker {
  margin: 0 0 .4rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark, #b8860b);
}
.clearance-hero h1 {
  margin: 0 0 .5rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-transform: none;
  letter-spacing: -0.02em;
}
.clearance-lead { margin: 0; max-width: 56ch; color: #475569; line-height: 1.55; font-weight: 500; }
.clearance-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}
.clearance-empty h2 { margin: 0 0 .5rem; color: var(--navy); text-transform: none; }
.clearance-empty p { margin: 0 0 1.25rem; color: #64748b; }
.product-expiry { color: #b45309; font-weight: 700; }

/* Brands page — full icon gallery */
.brands-icon-gallery { background: #fff; padding-top: 1.75rem; }
.brands-icon-gallery h2 {
  margin: 0 0 .35rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  text-transform: none;
}
.brand-icons-all {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.brand-icon-card {
  display: grid;
  gap: .4rem;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .65rem .45rem .7rem;
  box-shadow: 0 4px 14px rgba(11,31,58,.05);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.brand-icon-card:hover {
  transform: translateY(-2px);
  border-color: #c9d6e8;
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(11,31,58,.1);
}
.brand-icon-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 10px;
  padding: .25rem;
}
.brand-icon-card span {
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.25;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Brands page — Kandy King style sections */
.brands-hero {
  background: linear-gradient(135deg, #0b1f3a 0%, #12315a 55%, #1a4470 100%);
  color: #fff;
  padding: 2.5rem 0 2.25rem;
}
.brands-kicker {
  margin: 0 0 .4rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4e4a6;
}
.brands-hero h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -.02em;
  text-transform: none;
}
.brands-lead {
  margin: 0;
  max-width: 42rem;
  font-weight: 600;
  opacity: .9;
  line-height: 1.5;
}
.brand-block {
  padding: 2.5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brand-block:nth-child(even) { background: #f7f9fc; }
.brand-block-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.brand-block.is-reverse .brand-block-grid { grid-template-columns: .95fr 1.05fr; }
.brand-block.is-reverse .brand-block-copy { order: 2; }
.brand-block.is-reverse .brand-block-media { order: 1; }
.brand-eyebrow {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.brand-block-copy h2 {
  margin: 0 0 .75rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  text-transform: none;
  letter-spacing: -.02em;
}
.brand-block-copy > p {
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.55;
  max-width: 48ch;
}
.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .65rem;
  margin: 0 0 1.15rem;
}
.brand-logo-tile {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: .45rem;
  box-shadow: 0 4px 14px rgba(11,31,58,.04);
}
.brand-logo-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-block-media {
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  background: #e8eef5;
  box-shadow: var(--shadow);
}
.brand-block-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.brand-media-fallback {
  min-height: 260px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
  padding: 1rem;
  text-align: center;
}
.brands-directory { background: var(--bg); }
.brands-dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.brands-dir-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.brands-dir-card h3 {
  margin: 0 0 .45rem;
  color: var(--navy);
  font-size: 1rem;
}
.brands-dir-card p {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 860px) {
  .brand-block-grid,
  .brand-block.is-reverse .brand-block-grid {
    grid-template-columns: 1fr;
  }
  .brand-block.is-reverse .brand-block-copy,
  .brand-block.is-reverse .brand-block-media { order: initial; }
  .brand-block { padding: 1.75rem 0; }
}

