/* ═══════════════════════════════════════════════
   MEDIBEST PVT LTD — STYLESHEET
   Color Palette:
     Primary Blue  : #003399 / #0A2540
     Accent Red    : #D32F2F / #E53935
     Light BG      : #F4F7FA
     Dark Text     : #1A202C
     White         : #FFFFFF
═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Skip Navigation Link (accessibility, visually hidden until focused) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 10000;
  background: var(--blue-deep);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

:root {
  --blue-deep:   #0A2540;
  --blue-primary:#003399;
  --blue-mid:    #1a47b8;
  --red-primary: #D32F2F;
  --red-light:   #E53935;
  --bg-light:    #F4F7FA;
  --bg-section:  #EEF2F8;
  --text-dark:   #1A202C;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --white:       #FFFFFF;
  --border:      #DDE3EE;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.18);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
}
.btn--primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211,47,47,.4);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--sm { padding: 8px 18px; font-size: 0.82rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--cta {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
  padding: 11px 24px;
}
.btn--cta:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}
.btn--whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge--blue  { background: #E3ECFF; color: var(--blue-primary); }
.badge--red   { background: #FDECEA; color: var(--red-primary); }
.badge--dark  { background: var(--text-dark); color: var(--white); }
.badge--green { background: #E8F5E9; color: #2E7D32; }

/* ── Section Utilities ── */
.section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-header__tag {
  display: inline-block;
  background: #E3ECFF;
  color: var(--blue-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header--light .section-header__tag {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.section-header__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-header--light .section-header__title { color: var(--white); }

.section-header__line {
  width: 60px;
  height: 4px;
  background: var(--red-primary);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-header__sub {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 1rem;
}

/* ════════════════════════════════════════════
   TOP BAR
════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logo__img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.logo__cross {
  width: 42px;
  height: 42px;
  background: var(--red-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__cross i {
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 900;
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
  letter-spacing: -0.5px;
}
.logo__tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--red-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}
.logo--white .logo__name { color: var(--white); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active {
  color: var(--blue-primary);
  background: var(--bg-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}
.hero__slide.active { opacity: 1; z-index: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,.85) 0%, rgba(0,51,153,.5) 60%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 40px 24px;
  animation: heroFadeUp 0.8s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-block;
  background: rgba(211,47,47,.9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.hero__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 560px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.hero__arrow:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: translateY(-50%) scale(1.1);
}
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* Dots */
.hero__indicators {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.hero__dot.active {
  background: var(--white);
  transform: scale(1.4);
}
.hero__dot:hover { background: rgba(255,255,255,.8); }

/* Counter */
.hero__counter {
  position: absolute;
  bottom: 60px;
  right: 30px;
  z-index: 10;
  color: rgba(255,255,255,.8);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Progress */
.hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.2);
  z-index: 10;
}
.hero__progress-bar {
  height: 100%;
  background: var(--red-primary);
  width: 0%;
  transition: width 0.1s linear;
}

/* ════════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════════ */
.stats-strip {
  background: var(--blue-primary);
  padding: 40px 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  padding: 10px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }

.stat-item__icon {
  font-size: 1.6rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}

.stat-item__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-item__suffix {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,.8);
}
.stat-item__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text { }
.about__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.about__text p {
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.8;
}

/* Icon highlight list */
.about__highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.about__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.about__highlights-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #E3ECFF;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 1px;
}
.about__highlights strong {
  color: var(--text-dark);
  font-weight: 700;
}
.about__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about__pillars { display: flex; flex-direction: column; gap: 20px; }

.pillar-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  border-left: 4px solid var(--blue-primary);
}
.pillar-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--red-primary);
}
.pillar-card__icon {
  font-size: 1.8rem;
  color: var(--blue-primary);
  margin-bottom: 10px;
  line-height: 1;
}
.pillar-card:hover .pillar-card__icon { color: var(--red-primary); }
.pillar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   VISION & VALUES
════════════════════════════════════════════ */
.vision {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}

.vmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}
.vmv-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.vmv-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
}
.vmv-card__icon {
  font-size: 2rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
  line-height: 1;
}
.vmv-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  display: block;
}
.vmv-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
}

.values-heading {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  cursor: default;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.value-card:hover {
  background: rgba(211,47,47,.25);
  border-color: rgba(211,47,47,.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.value-card__icon {
  font-size: 1.8rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px;
  line-height: 1;
}
.value-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   ROADMAP
════════════════════════════════════════════ */
.roadmap { background: var(--bg-light); }

.roadmap__timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.roadmap__timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue-primary), var(--red-primary));
  border-radius: 2px;
}

.roadmap__item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}
.roadmap__item:last-child { margin-bottom: 0; }

.roadmap__marker {
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.roadmap__item:hover .roadmap__marker {
  border-color: var(--red-primary);
  background: var(--red-primary);
}
.roadmap__item:hover .roadmap__num { color: var(--white); }

.roadmap__num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-primary);
  transition: color var(--transition);
}

.roadmap__content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.roadmap__item:hover .roadmap__content {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-primary);
}
.roadmap__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.roadmap__content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* roadmap sub-list (for Goal 3 and Goal 5 bullet items) */
.roadmap__sublist {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.roadmap__sublist li {
  font-size: 0.85rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.roadmap__sublist li i {
  font-size: 0.55rem;
  color: var(--blue-primary);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   PRODUCTS
════════════════════════════════════════════ */
.products {
  background: linear-gradient(to bottom, var(--blue-deep), #0d2d5e);
}

.products__tabs-outer { width: 100%; }

.products__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,.25);
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.tab-btn:hover {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.tab-btn.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(211,47,47,.4);
}
.tab-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255,255,255,.2);
  color: inherit;
  margin-left: 4px;
  vertical-align: middle;
}
.tab-btn.active .tab-btn__count {
  background: rgba(255,255,255,.3);
}

/* ── Category section dividers ─────────────────────────────────── */
.cat-section {
  margin-bottom: 56px;
}
.cat-section.hidden { display: none; }

.cat-section__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.cat-section__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2);
}
.cat-section__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.1px;
}
.cat-section__count {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Responsive product grid ───────────────────────────────────── */
.products__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cat-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Product card ──────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10,37,64,.18);
  border-color: rgba(0,51,153,.25);
}
.product-card.hidden { display: none; }

/* ── Primary image ─────────────────────────────────────────────── */
.product-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-section);
  flex-shrink: 0;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
  background: var(--bg-section);
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }

/* SVG fallback shown when image errors */
.product-card__img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  background: var(--bg-section);
}
.product-card__img-fallback svg {
  width: 52px;
  height: 52px;
  opacity: 0.45;
}
.product-card__img-fallback span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.55;
}

/* ── Thumbnail strip for multi-image products ──────────────────── */
.product-card__thumbs {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-card__thumbs::-webkit-scrollbar { display: none; }
.product-card__thumb {
  width: 40px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  background: var(--white);
}
.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__thumb.active,
.product-card__thumb:hover {
  border-color: var(--blue-primary);
}

/* ── Card body ─────────────────────────────────────────────────── */
.product-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.product-card__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-primary);
}
.product-card__body h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  min-height: 2.4em;
}
.product-card__desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Specs row (pack + MOQ) ────────────────────────────────────── */
.product-card__specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.product-card__spec {
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-section);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-card__spec i { opacity: 0.7; font-size: 0.6rem; }

/* ── Price + CTA row ───────────────────────────────────────────── */
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.product-card__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--red-primary);
  line-height: 1;
}
.product-card__price small {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

/* ── Product count chip ────────────────────────────────────────── */
.products__count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}
.products__count i { font-size: 0.75rem; }

/* ════════════════════════════════════════════
   SERVICE CATEGORIES (Corporate Overview)
════════════════════════════════════════════ */
.service-cats {
  background: var(--blue-deep);
}

.service-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-cat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.service-cat-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.service-cat-card__icon {
  font-size: 2rem;
  color: rgba(255,255,255,.8);
  line-height: 1;
}
.service-cat-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}
.service-cat-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service-cat-card ul li {
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-cat-card ul li i {
  font-size: 0.6rem;
  color: var(--red-light);
  flex-shrink: 0;
}
.service-cat-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ════════════════════════════════════════════
   SAFETY BANNER
════════════════════════════════════════════ */
.safety-banner {
  background: linear-gradient(90deg, #b71c1c, #D32F2F, #E53935);
  padding: 24px 0;
}
.safety-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.safety-banner__icon {
  font-size: 2rem;
  color: var(--white);
  flex-shrink: 0;
  line-height: 1;
}
.safety-banner__text {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.6;
}
.safety-banner__text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.safety-banner__link {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 8px;
  transition: color var(--transition);
}
.safety-banner__link:hover { color: var(--white); }

/* ════════════════════════════════════════════
   REFERENCES
════════════════════════════════════════════ */
.references { background: var(--white); }

.references__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ref-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  border-top: 4px solid var(--blue-primary);
}
.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--red-primary);
}
.ref-card__icon {
  font-size: 2rem;
  color: var(--blue-primary);
  margin-bottom: 12px;
  line-height: 1;
}
.ref-card:hover .ref-card__icon { color: var(--red-primary); }
.ref-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.ref-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.ref-card__tel {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-primary);
  background: #E3ECFF;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all var(--transition);
}
.ref-card__tel:hover {
  background: var(--blue-primary);
  color: var(--white);
}

/* ════════════════════════════════════════════
   LEADERSHIP
════════════════════════════════════════════ */
.leadership {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d3680 100%);
}

.leadership__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.leader-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.leader-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--red-primary));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.leader-card__initials {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.leader-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.leader-card__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(211,47,47,.2);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.leader-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════ */
.contact { background: var(--bg-light); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: var(--font);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0,51,153,.1);
}
.form-group textarea { resize: vertical; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success__icon {
  font-size: 3rem;
  color: #2E7D32;
  margin-bottom: 16px;
  line-height: 1;
}
.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 8px;
}
.form-success p { color: var(--text-mid); }

.contact__info { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-section);
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-item:last-of-type { margin-bottom: 0; }
.contact-item__icon {
  font-size: 1rem;
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}
.contact-item div p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.contact-item div a {
  color: var(--blue-primary);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-item div a:hover { color: var(--red-primary); }

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-section);
  color: var(--text-mid);
}
.hours-row span:first-child { font-weight: 600; color: var(--text-dark); }
.hours-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.75); }

.footer__top { padding: 64px 0 40px; }
.footer__top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}

.footer__socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--white);
}
.social-btn i { font-size: 1rem; }
.social-btn:hover { background: var(--red-primary); transform: translateY(-3px); }

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__col ul li {
  margin-bottom: 10px;
}
.footer__col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--white); }

.footer__col address p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col address i { font-size: 0.8rem; color: rgba(255,255,255,.5); flex-shrink: 0; }
.footer__col address a {
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__col address a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════════
   FLOATING BUTTONS
════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25D366;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: all var(--transition);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
}
.whatsapp-float i { font-size: 1.4rem; }
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37,211,102,.6);
  background: #1ebe57;
}
.whatsapp-float__label { white-space: nowrap; }

.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover {
  background: var(--red-primary);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
════════════════════════════════════════════ */
@media (max-width: 1500px) and (min-width: 769px) {
  .nav__link { padding-left: 8px; padding-right: 8px; font-size: 0.82rem; }
  .btn--cta { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 1024px) {
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
  .cat-section__grid { grid-template-columns: repeat(3, 1fr); }
  .service-cats__grid { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }

  .vmv-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: repeat(3, 1fr); }

  .references__grid { grid-template-columns: repeat(2, 1fr); }

  .leadership__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__top-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .contact__grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════════════════ */
@media (max-width: 768px) {

  .header__inner { height: 60px; }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav.open { display: block; }
  .nav__list {
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .nav__link { display: block; padding: 12px 16px; font-size: 0.95rem; }

  .btn--cta { display: none; }
  .hamburger { display: flex; }

  .hero {
    height: calc(100svh - 60px);
    min-height: unset;
    max-height: unset;
  }

  .hero__slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #0A2540;
    align-items: flex-start;
    padding-top: 40px;
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,37,64,.75) 0%,
      rgba(10,37,64,.45) 40%,
      rgba(10,37,64,.8) 100%
    );
  }

  .hero__title { font-size: 1.8rem; }
  .hero__desc { font-size: 0.9rem; }
  .hero__arrow { width: 40px; height: 40px; font-size: 1rem; }
  .hero__arrow--prev { left: 12px; }
  .hero__arrow--next { right: 12px; }

  .section { padding: 56px 0; }

  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .about__pillars { gap: 14px; }

  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .roadmap__timeline::before { left: 28px; }
  .roadmap__marker { width: 56px; height: 56px; }

  .cat-section__grid { grid-template-columns: repeat(2, 1fr); }

  .products__tabs-outer {
    overflow: hidden;
    width: 100%;
    margin-bottom: 40px;
  }
  .products__tabs {
    flex-wrap: nowrap;
    overflow: visible;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 0;
    width: max-content;
    animation: tabsScroll 14s linear infinite;
  }
  .products__tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  @keyframes tabsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .form-row { grid-template-columns: 1fr; }

  .contact__form-wrap { padding: 24px; }

  .references__grid { grid-template-columns: 1fr; }

  .leadership__grid { grid-template-columns: 1fr 1fr; }

  .footer__top-grid { grid-template-columns: 1fr; }

  .whatsapp-float__label { display: none; }
  .whatsapp-float { border-radius: 50%; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .whatsapp-float i { font-size: 1.6rem; }

  .safety-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .leadership__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .service-cats__grid { grid-template-columns: 1fr; }
  .cat-section__grid { grid-template-columns: 1fr; }
  .cat-section__header { gap: 10px; }
  .cat-section__count { display: none; }
}

/* ════════════════════════════════════════════
   PRODUCT CARD IMAGE SLIDER (main image area)
════════════════════════════════════════════ */
.pslider {
  position: relative;
  overflow: hidden;
}

.pslider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}

.pslider__track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  flex-shrink: 0;
  background: var(--bg-section);
}

.pslider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: all 0.2s ease;
  padding: 0;
  opacity: 0;
}
.pslider:hover .pslider__btn { opacity: 1; }
.pslider__btn:hover {
  background: var(--red-primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}
.pslider__btn--prev { left: 6px; }
.pslider__btn--next { right: 6px; }

.pslider[data-count="1"] .pslider__btn { display: none; }

/* dots hidden — replaced by thumbnail strip */
.pslider__dots { display: none; }

/* ════════════════════════════════════════════
   MOBILE PRODUCT ENHANCEMENTS (≤ 767px)
   – Sticky category dropdown
   – Scroll-snap horizontal carousels
   – Slide counters
   – Per-category jump select
   – Quick-view modal
   – content-visibility performance
════════════════════════════════════════════ */

/* ── 1. Sticky Category Dropdown Bar ──────────────────────────── */
#mob-cat-bar {
  display: none; /* shown only inside the mobile media query below */
}

@media (max-width: 767px) {

  /* Show the sticky bar */
  #mob-cat-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 60px; /* below the 60px mobile header */
    z-index: 200;
    background: #0d2044;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 10px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
  }

  #mob-cat-bar label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex-shrink: 0;
  }

  #mob-cat-select {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,.1) 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='%23ffffff' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font);
    padding: 8px 36px 8px 12px;
    cursor: pointer;
    outline: none;
    min-width: 0;
  }
  #mob-cat-select:focus {
    border-color: rgba(255,255,255,.5);
    background-color: rgba(255,255,255,.15);
  }
  #mob-cat-select option {
    background: #0d2044;
    color: var(--white);
  }

  /* ── 2. Hide desktop tabs & marquee on mobile ─────────────────── */
  .products__tabs-outer { display: none; }

  /* ── 3. Scroll-snap horizontal carousel ──────────────────────── */
  .cat-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 380px; /* height hint for layout */
    margin-bottom: 36px;
  }

  .cat-section__grid {
    /* Override the desktop grid — become a horizontal scroll track */
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 14px 4px;
    /* Give a right-side peek so users see there's more to scroll */
    padding-right: 24px;
    scrollbar-width: none;
  }
  .cat-section__grid::-webkit-scrollbar { display: none; }

  /* Fixed card width — 1 full card + peek of next */
  .cat-section__grid .product-card {
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    scroll-snap-align: start;
  }

  /* ── 4. Slide counter ─────────────────────────────────────────── */
  .mob-slide-counter {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    letter-spacing: 0.5px;
    margin-top: 2px;
    margin-bottom: 0;
    padding: 0 4px;
  }

  /* ── 5. Per-category jump select ─────────────────────────────── */
  .cat-jump-wrap {
    margin-left: auto;
    flex-shrink: 0;
  }
  .cat-jump-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font);
    padding: 5px 28px 5px 10px;
    cursor: pointer;
    outline: none;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cat-jump-select:focus {
    border-color: rgba(255,255,255,.5);
  }
  .cat-jump-select option {
    background: #0d2044;
    color: var(--white);
    font-size: 0.8rem;
  }

  /* ── 6. Quick-view modal ──────────────────────────────────────── */
  #qv-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10,37,64,.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 16px;
    align-items: flex-end;
    justify-content: center;
  }
  #qv-modal.open {
    display: flex;
  }

  #qv-modal__sheet {
    background: var(--white);
    border-radius: 20px 20px 16px 16px;
    width: 100%;
    max-width: 480px;
    max-height: 88svh;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -8px 40px rgba(0,0,0,.3);
    animation: sheetSlideUp 0.28s cubic-bezier(0.32,0.72,0,1) both;
  }
  @keyframes sheetSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  #qv-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
  }
  #qv-modal__header h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
  }
  #qv-modal__close {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--bg-section);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  #qv-modal__close:hover { background: var(--border); }

  #qv-modal__body {
    padding: 0 20px 24px;
  }

  #qv-modal__img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--bg-section);
    border-radius: 12px;
    margin: 16px 0 12px;
    display: block;
  }
  #qv-modal__img-fallback {
    width: 100%;
    height: 200px;
    background: var(--bg-section);
    border-radius: 12px;
    margin: 16px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
  }
  #qv-modal__img-fallback svg { width: 48px; height: 48px; opacity: 0.4; }

  #qv-modal__cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue-primary);
    display: block;
    margin-bottom: 4px;
  }
  #qv-modal__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0 0 8px;
  }
  #qv-modal__desc {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 14px;
  }
  #qv-modal__specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  #qv-modal__specs span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-mid);
    background: var(--bg-section);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
  }
  #qv-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  #qv-modal__price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--red-primary);
    line-height: 1;
  }
  #qv-modal__price small {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-top: 2px;
  }
  #qv-modal__cta {
    flex-shrink: 0;
  }
}
/* END mobile enhancements */
