/* =====================================================
   Speedo Coolers — Stylesheet
   Mobile-first.
   All design tokens live in theme.css (linked first
   in every HTML page). This file only consumes them
   via var(--token). To change colors/gradients, edit
   theme.css — not this file.
   ===================================================== */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----------- Announcement bar ----------- */
.announce {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--announce-h);
  background: var(--gradient-announce);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
}
.announce__inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (max-width: 420px) {
  .announce { font-size: 12px; }
}

/* ----------- Header ----------- */
.site-header {
  position: sticky;
  top: var(--announce-h);
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.site-logo img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}
.nav-toggle {
  position: relative;
  z-index: 80;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-right: 4px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.nav-toggle:hover { background: var(--bg-tint); border-color: var(--brand-teal); }
.nav-toggle:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Backdrop sits below the header so the close (X) button stays tappable. */
.nav-backdrop {
  position: fixed;
  top: calc(var(--announce-h) + var(--header-h));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 58, 77, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 90;
}
body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* On mobile, hide the in-header nav — JS clones its links into .mobile-drawer */
.site-nav { display: none; }

/* Mobile drawer lives at body level so it escapes the header's
   backdrop-filter stacking context. */
.mobile-drawer {
  position: fixed;
  top: calc(var(--announce-h) + var(--header-h));
  left: 0;
  bottom: 0;
  width: min(84vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 16px 12px 28px;
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: 18px 0 36px rgba(15, 58, 77, .12);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .28s ease, visibility 0s linear .28s;
  z-index: 100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.nav-open .mobile-drawer {
  transform: translateX(0);
  visibility: visible;
  transition: transform .28s ease, visibility 0s linear 0s;
}
.mobile-drawer a {
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.mobile-drawer a:hover,
.mobile-drawer a:focus-visible {
  background: rgba(var(--brand-teal-rgb), .08);
  color: var(--brand-teal-dark);
  text-decoration: none;
}
.mobile-drawer a[aria-current="page"] {
  color: var(--brand-teal);
  background: rgba(var(--brand-teal-rgb), .1);
}

.header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, .25);
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.header-cta:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 4px 12px rgba(18, 140, 126, .3);
  text-decoration: none;
}
.header-cta:active { transform: scale(.97); }
.header-cta:focus-visible { outline: 2px solid var(--whatsapp-dark); outline-offset: 2px; }
.header-cta svg { flex-shrink: 0; }
.header-cta__label { display: inline; }

/* Mobile: collapse to a polished icon-only circle */
@media (max-width: 767.98px) {
  .header-cta {
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }
  .header-cta__label { display: none; }
  .header-cta svg { width: 22px; height: 22px; }
}

@media (min-width: 768px) {
  .nav-toggle,
  .nav-backdrop,
  .mobile-drawer { display: none; }
  .site-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 24px;
  }
  .site-nav a {
    color: var(--text);
    font-weight: 500;
  }
  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--brand-teal);
  }
  .site-nav a[aria-current="page"] {
    color: var(--brand-teal);
  }
  .header-cta { margin-left: 0; }
  .header-cta__label { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .nav-backdrop,
  .nav-toggle__bar { transition: none; }
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 14px 22px; font-size: 16px; border-radius: var(--radius); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn--primary {
  background: var(--brand-teal);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-teal-dark); }
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--outline {
  background: transparent;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}
.btn--outline:hover { background: var(--brand-teal); color: #fff; }

/* ----------- Hero (image-led) ----------- */
.hero {
  background: var(--gradient-hero);
  padding: 24px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 174, 201, .18), transparent 70%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero__copy {
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__eyebrow {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(var(--brand-teal-rgb), .08);
  border: 1px solid rgba(var(--brand-teal-rgb), .2);
  color: var(--brand-teal-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__title {
  margin: 0;
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--text-strong);
  font-weight: 800;
}
.hero__title-accent {
  background: linear-gradient(120deg, var(--brand-teal) 0%, var(--accent-sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 0;
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero__banner {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-cool);
  background: var(--gradient-banner-fallback);
  isolation: isolate;
}
.hero__banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(91, 174, 201, 0) 0%,
    rgba(91, 174, 201, 0) 65%,
    rgba(15, 58, 77, .15) 100%);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(var(--brand-teal-rgb), .2);
  color: var(--brand-teal-dark);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
}
.hero__badge svg { color: var(--brand-teal); flex-shrink: 0; }
@media (min-width: 768px) {
  .hero__badge { font-size: 14.5px; padding: 10px 18px; }
}

@media (min-width: 768px) {
  .hero { padding: 40px 0 64px; }
  .hero__inner { gap: 28px; }
  .hero__copy { gap: 14px; }
}

/* ----------- Section header ----------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin: 0 0 8px;
  color: var(--brand-teal-dark);
  letter-spacing: -.01em;
}
.section-header p { color: var(--muted); margin: 0; }

/* ----------- Filters ----------- */
.products { padding: 64px 0; }
.filters { margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.filters__row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.pill:hover { border-color: var(--brand-teal); }
.pill--active {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal);
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
}
.search svg {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.search input:focus,
.select select:focus {
  outline: 2px solid var(--brand-teal);
  outline-offset: 1px;
}

.select { display: inline-flex; flex: 1; min-width: 0; }
.select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236B7280' d='M6 8L0 0h12z'/></svg>") no-repeat right 14px center / 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
}
.select select:hover { border-color: var(--brand-teal); }

.filters__row--top {
  align-items: stretch;
  gap: 12px;
}
@media (min-width: 768px) {
  .filters__row--top { flex-direction: row; align-items: center; justify-content: space-between; }
  .search { min-width: 260px; max-width: 320px; }
}

.filters__selects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filters__selects .select { flex: 1 1 160px; }
@media (min-width: 560px) {
  .filters__selects { flex-wrap: nowrap; }
  .filters__selects .select { flex: 0 0 auto; min-width: 200px; }
}

/* ----------- Product grid ----------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-cool);
  border-color: var(--accent-sky-soft);
}
.card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  overflow: hidden;
  position: relative;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .25s ease;
}
.card:hover .card__img { transform: scale(1.03); }
.card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-teal);
  text-transform: uppercase;
}
.card__title {
  font-size: 17px;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}
.card__desc {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.card__capacity,
.card__delivery--mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.card__capacity {
  background: var(--bg-tint);
  border: 1px solid rgba(var(--brand-teal-rgb), .18);
  color: var(--brand-teal-dark);
}
.card__capacity svg { color: var(--brand-teal); flex-shrink: 0; }
.card__delivery--mini {
  background: rgba(184, 214, 63, .2);
  border: 1px solid rgba(184, 214, 63, .55);
  color: #4F6B14;
}
.card__delivery--mini svg { color: #6E8E1B; flex-shrink: 0; }
.card__price {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-teal-dark);
  margin-top: 6px;
  letter-spacing: -.01em;
}
.card__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.card__actions .btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 13px;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}
.error {
  background: #FEF2F2;
  color: #991B1B;
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
}

/* ----------- Page hero (Why / About) ----------- */
.page-hero {
  background: var(--gradient-page-hero);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.page-hero__title {
  margin: 0 auto 14px;
  max-width: 780px;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.18;
  color: var(--brand-teal-dark);
  letter-spacing: -.01em;
}
.page-hero__lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .page-hero { padding: 72px 0 48px; }
}

/* ----------- Why Choose Us page ----------- */
.why-page { padding: 32px 0 56px; }
.why-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) { .why-page__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-page__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--brand-teal-rgb), .25);
}
.why-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-sky-soft) 0%, var(--accent-ice) 100%);
  color: var(--brand-teal-dark);
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(var(--brand-teal-rgb), .14);
}
.why-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--brand-teal-dark);
  font-weight: 700;
  letter-spacing: -.005em;
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.why-page__since {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: center;
  font-style: italic;
  color: var(--brand-teal-dark);
  font-size: 15px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ----------- Why CTA / generic CTA band ----------- */
.why-cta {
  background: var(--gradient-cta);
  color: #fff;
  padding: 56px 0;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.why-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(255, 255, 255, .14), transparent 60%),
    radial-gradient(500px 220px at 0% 100%, rgba(91, 174, 201, .25), transparent 60%);
  pointer-events: none;
}
.why-cta__inner { position: relative; z-index: 1; }
.why-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.why-cta h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 30px);
  color: #fff;
  letter-spacing: -.01em;
}
.why-cta p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}
.why-cta .btn--primary {
  background: var(--brand-green);
  color: var(--brand-teal-dark);
  margin-top: 6px;
}
.why-cta .btn--primary:hover { background: var(--brand-green-dark); }

/* ----------- About page ----------- */
.page-hero__sub {
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  color: var(--brand-teal);
  margin-top: 8px;
  letter-spacing: 0;
}
.about-stats {
  padding: 40px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: center;
}
@media (min-width: 768px) {
  .about-stats__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat__num {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: var(--brand-teal-dark);
  letter-spacing: -.02em;
}
.about-stat__label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
}

.about-section { padding: 56px 0; }
.about-section--alt { background: var(--bg-soft); }
.about-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-section__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.about-section__grid--reverse > :first-child { order: 1; }
@media (min-width: 900px) {
  .about-section__grid--reverse > :first-child { order: 0; }
}
.about-section__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--brand-teal-dark);
  letter-spacing: -.01em;
}
.about-section__copy p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 560px;
}
.about-section__copy p:last-child { margin-bottom: 0; }
.about-section__copy strong { color: var(--brand-teal-dark); }
.about-section__eyebrow {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-teal);
}

.about-section__media {
  display: flex;
  justify-content: center;
}
.india-map {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 14px 36px rgba(var(--brand-teal-rgb), .14));
}
@media (max-width: 560px) {
  .india-map { max-width: 320px; }
}

/* ----------- Gallery ----------- */
.about-gallery {
  padding: 56px 0;
  background: var(--bg-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.gallery-tile {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed rgba(var(--brand-teal-rgb), .35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-teal);
}
.gallery-tile__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--brand-teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-pillars { padding: 56px 0; }

/* ----------- Footer ----------- */
.site-footer {
  background:
    linear-gradient(180deg, var(--bg-footer) 0%, var(--bg-footer-soft) 100%);
  color: var(--on-dark);
  padding: 48px 0 24px;
  margin-top: 64px;
}
.site-footer a { color: #fff; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  background: #fff;
  padding: 4px 8px;
  margin-bottom: 8px;
}
.site-footer h4 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-footer p { margin: 4px 0; font-size: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer ul li { margin: 4px 0; font-size: 14px; }
.site-footer a { transition: color .15s; }
.site-footer a:hover { color: var(--brand-green); text-decoration: none; }
.footer-map-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-footer .btn--outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
}
.site-footer .btn--outline:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: #fff;
}
.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.social-icon:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-teal-dark);
  text-decoration: none;
  transform: translateY(-2px);
}
.site-footer__bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.site-footer__gst {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
}
.site-footer__gst span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
  letter-spacing: .06em;
}
@media (min-width: 700px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ----------- Product detail page ----------- */
.product-page {
  padding: 24px 16px 64px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-teal); }

.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; } }

.carousel {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}
.carousel__stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__img,
.carousel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.carousel__img.is-active,
.carousel__video.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__video { background: #000; }
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .9);
  color: var(--brand-teal);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}
.carousel__nav:hover { background: #fff; }
.carousel__nav--prev { left: 10px; }
.carousel__nav--next { right: 10px; }
.carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(var(--brand-teal-rgb), .3);
  padding: 0;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.carousel__dot.is-active { background: var(--brand-teal); transform: scale(1.2); }

.product__info { display: flex; flex-direction: column; gap: 8px; }
.product__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-teal);
}
.product__title {
  font-size: clamp(24px, 4vw, 34px);
  margin: 0;
  color: var(--brand-teal-dark);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.product__model {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.product__price {
  margin: 12px 0 4px;
  display: inline-block;
  background: var(--gradient-price);
  color: var(--brand-teal-dark);
  font-size: 24px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius);
  align-self: flex-start;
  box-shadow: 0 6px 16px rgba(184, 214, 63, .25);
}
.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
}
.product__capacity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(var(--brand-teal-rgb), .08);
  border: 1px solid rgba(var(--brand-teal-rgb), .25);
  border-radius: 999px;
  color: var(--brand-teal-dark);
  font-size: 13.5px;
  font-weight: 600;
}
.product__capacity svg { color: var(--brand-teal); flex-shrink: 0; }
.product__delivery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 4px;
  padding: 6px 12px;
  background: rgba(184, 214, 63, .22);
  border: 1px solid rgba(184, 214, 63, .6);
  border-radius: 999px;
  color: var(--brand-teal-dark);
  font-size: 13.5px;
  font-weight: 600;
  align-self: flex-start;
}
.product__delivery svg { color: var(--brand-teal); flex-shrink: 0; }

.product__desc {
  margin: 8px 0 4px;
  color: var(--text);
  font-size: 15px;
}
.product__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}
.product__cta .btn { flex: 1; min-width: 180px; }

.product__features { margin-top: 22px; }
.product__features h2,
.product__specs h2 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--brand-teal-dark);
}
.product__features ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.product__features li { margin: 4px 0; }

.product__specs { margin-top: 22px; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs-table th,
.specs-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: 0; }
.specs-table th {
  width: 42%;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
}
.muted { color: var(--muted); }

/* ----------- 404 page ----------- */
.error-page {
  text-align: center;
  padding: 96px 16px;
}
.error-page h1 {
  font-size: clamp(64px, 14vw, 120px);
  margin: 0;
  color: var(--brand-teal-dark);
  letter-spacing: -.04em;
}
.error-page p {
  color: var(--muted);
  font-size: 18px;
  margin: 8px 0 28px;
}

/* ----------- Reduced motion ----------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
