/* ==========================================================================
   Laxmi Batteries — Components
   ========================================================================== */

/* Inline <use> icons have no intrinsic size — give them a sensible default. */
svg:not([width]) { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }


/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: #A8B6CE;
  font-size: var(--fs-sm);
}
.topbar__in {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.topbar__note { display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar__links { display: flex; align-items: center; gap: var(--sp-4); }
.topbar__links a {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: #E7E9ED; font-weight: 600;
  transition: color var(--t-fast) var(--ease);
}
.topbar__links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .topbar__note, .topbar__alt { display: none; }
  .topbar__in { justify-content: center; }
}


/* ==========================================================================
   HEADER + NAV
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease);
  view-transition-name: site-header;
}
.header.is-stuck { box-shadow: var(--sh-md); }

.header__in {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  transition: min-height var(--t-base) var(--ease);
}
.header.is-stuck .header__in { min-height: var(--header-h-condensed); }

/* ---- Brand lockup ---- */
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); color: inherit; }
.brand:hover { color: inherit; }
/* The logo is a portrait lockup — size it by height and let width follow. */
.brand__mark { height: 54px; width: auto; object-fit: contain; }
/* On dark ground the logo's white background needs a deliberate white tile. */
.brand__chip {
  display: grid; place-items: center;
  padding: 6px 8px;
  background: #fff;
  border-radius: var(--r-md);
  flex: none;
}
.brand__chip .brand__mark { height: 46px; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--ink); letter-spacing: .01em;
}
.brand__tag {
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
  letter-spacing: .04em; text-transform: uppercase;
}

/* ---- Desktop nav ---- */
.nav { margin-left: auto; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.nav__list a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  font-weight: 600;
  color: var(--ink-2);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__list a:hover { background: var(--surface-2); color: var(--brand); }
.nav__list a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

/* ---- Header call CTA ---- */
.header__cta { display: flex; align-items: center; gap: var(--sp-3); }
.header__call {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--ink);
  transition: background var(--t-fast) var(--ease);
}
.header__call:hover { background: var(--brand); color: #fff; }
.header__call:hover .header__call-ico { background: #fff; color: var(--brand); }
.header__call-ico {
  display: grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.header__call span { display: grid; line-height: 1.2; }
.header__call small { font-size: var(--fs-xs); opacity: .8; }
.header__call strong { font-size: var(--fs-base); font-weight: 700; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  color: var(--ink);
  background: var(--surface-2);
}
.nav__toggle svg { width: 24px; height: 24px; }

.header__scrim {
  position: fixed; inset: 0;
  background: rgba(16, 24, 40, .5);
  z-index: var(--z-drawer);
  animation: fade-in var(--t-base) var(--ease);
}
@keyframes fade-in { from { opacity: 0; } }

/* ---- Mobile drawer ---- */
@media (max-width: 900px) {
  .nav__toggle { display: grid; place-items: center; }
  .header__call small { display: none; }
  .header__call { padding-right: var(--sp-3); }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 340px);
    z-index: calc(var(--z-drawer) + 1);
    background: var(--surface);
    box-shadow: var(--sh-lg);
    padding: var(--sp-5);
    overflow-y: auto;
    display: flex; flex-direction: column; gap: var(--sp-5);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--t-base) var(--ease), visibility var(--t-base);
  }
  .nav.is-open { transform: none; visibility: visible; }

  .nav__head { display: flex; align-items: center; justify-content: space-between; }
  .nav__title {
    font-family: var(--font-head); font-size: 1.25rem; color: var(--ink);
    text-transform: uppercase; letter-spacing: var(--ls-caps);
  }
  .nav__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
  .nav__close svg { width: 22px; height: 22px; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--line-soft); }
  .nav__list a { padding: var(--sp-4) var(--sp-2); border-radius: 0; font-size: var(--fs-md); }

  .nav__foot { display: grid; gap: var(--sp-3); margin-top: auto; }
}

@media (max-width: 560px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.25rem; }
  .brand__mark { height: 42px; }
  .header__call span { display: none; }
  .header__call { padding: 4px; background: none; }
}


/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-block: var(--sp-6) var(--sp-2); }
.hero__grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 330px; }
}

/* ---- Carousel ---- */
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.carousel__track {
  display: flex;
  transition: transform var(--t-slow) var(--ease-out);
  will-change: transform;
}
.carousel__track > * { flex: 0 0 100%; min-width: 0; }

.slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: var(--sp-4);
  min-height: 380px;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  overflow: hidden;
  color: #fff;
}
.slide--red  { background: linear-gradient(120deg, #8E1219 0%, var(--brand) 55%, #E5474D 100%); }
.slide--ink  { background: linear-gradient(120deg, #0D1B33 0%, var(--navy) 60%, #2E5490 100%); }
.slide--gold { background: linear-gradient(120deg, #FFF3DA 0%, #FFE3AE 55%, #FFD37A 100%); color: var(--ink); }

/* soft radial light */
.slide::after {
  content: "";
  position: absolute;
  right: -12%; top: -30%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
  pointer-events: none;
}
.slide--gold::after { background: radial-gradient(circle, rgba(255,255,255,.65), transparent 65%); }

.slide__copy { position: relative; z-index: 2; }
.slide__kicker {
  display: inline-block;
  padding: .3125rem .875rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.slide--gold .slide__kicker { background: rgba(22,24,29,.08); border-color: rgba(22,24,29,.18); }

.slide__title {
  font-size: var(--fs-2xl);
  color: inherit;
  margin-bottom: var(--sp-3);
  max-width: 16ch;
}
.slide__title em { font-style: normal; color: var(--accent); }
.slide--gold .slide__title em { color: var(--brand); }

.slide__sub {
  font-size: var(--fs-md);
  opacity: .92;
  max-width: 44ch;
  margin-bottom: var(--sp-5);
}

.slide__art {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center; gap: var(--sp-4);
  min-height: 200px;
}

@media (max-width: 720px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide__art { display: none; }
  .slide__title { max-width: none; }
}

/* ---- CSS battery / product art (placeholder until real photos land) ---- */
.batt {
  position: relative;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(160deg, #E63A41, #B4171E 55%, #7E0E14);
  box-shadow: 0 18px 30px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.25);
  display: grid; align-content: end; justify-items: center;
  padding-bottom: .5rem;
}
.batt b {
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .12em;
  color: #fff; background: rgba(0,0,0,.28); padding: 2px 8px; border-radius: 3px;
}
.batt span {
  position: absolute; top: -7px;
  width: 13px; height: 9px; border-radius: 2px 2px 0 0;
  background: linear-gradient(#D8DCE3, #97A0AE);
}
.batt span:nth-child(1) { left: 18%; }
.batt span:nth-child(2) { right: 18%; }
.batt--tall  { width: 108px; height: 168px; }
.batt--wide  { width: 152px; height: 104px; }
.batt--sm    { width: 78px;  height: 72px;  }
.batt--green { background: linear-gradient(160deg, #4FBF6A, #1F8A44 55%, #0F5A2E); }
.batt--dark  { background: linear-gradient(160deg, #4A5162, #2A3040 55%, #171B25); }

.panel-art {
  display: grid; grid-template-columns: repeat(3, 56px); gap: 5px;
  padding: 8px; border-radius: 6px;
  background: #C9CFDA;
  transform: perspective(600px) rotateX(24deg);
  box-shadow: 0 24px 34px rgba(0,0,0,.22);
}
.panel-art i {
  display: block; height: 42px; border-radius: 2px;
  background: linear-gradient(150deg, #2C4E8C, #16305E 60%, #0D1F42);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.panel-art--sm { grid-template-columns: repeat(2, 40px); transform: none; box-shadow: var(--sh-sm); }
.panel-art--sm i { height: 30px; }

.inv-art {
  width: 150px; height: 96px; border-radius: 8px;
  background: linear-gradient(160deg, #F3F5F8, #C9CFDA);
  box-shadow: var(--sh-sm), inset 0 1px 0 #fff;
  display: grid; align-content: center; justify-items: center; gap: 6px;
}
.inv-art i { display: block; width: 64px; height: 8px; border-radius: 4px; background: #9AA3B2; }
.inv-art i:first-child { width: 90px; height: 26px; border-radius: 4px; background: linear-gradient(#3B4252, #2A3040); }

.stab-art {
  width: 108px; height: 108px; border-radius: 10px;
  background: linear-gradient(160deg, #F3F5F8, #C9CFDA);
  box-shadow: var(--sh-sm), inset 0 1px 0 #fff;
  display: grid; place-items: center;
}
.stab-art i {
  width: 56px; height: 56px; border-radius: 50%;
  background: conic-gradient(var(--brand) 0 35%, #D8DCE3 35% 100%);
  box-shadow: inset 0 0 0 6px #fff;
}

/* ---- Carousel controls ---- */
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  box-shadow: var(--sh-md);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  z-index: 3;
}
.carousel__arrow:hover { background: var(--brand); color: #fff; }
.carousel__arrow--prev { left: var(--sp-3); }
.carousel__arrow--next { right: var(--sp-3); }
.carousel__arrow svg { width: 20px; height: 20px; }

.carousel__dots {
  position: absolute; bottom: var(--sp-4); left: 50%;
  transform: translateX(-50%);
  display: flex; gap: var(--sp-2);
  z-index: 3;
}
.carousel__dot {
  width: 26px; height: 5px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.45);
  transition: background var(--t-fast) var(--ease), width var(--t-fast) var(--ease);
}
.carousel__dot[aria-current="true"] { background: #fff; width: 40px; }
.slide--gold ~ * .carousel__dot { background: rgba(0,0,0,.25); }

/* On a phone the arrows would sit on top of the slide copy, and swiping is the
   natural gesture anyway — hide them and give the dots a real tap target. */
@media (max-width: 720px) {
  .carousel__arrow { display: none; }
  .carousel__dots { bottom: var(--sp-3); gap: var(--sp-3); }
  .carousel__dot { height: 4px; width: 30px; }
  .carousel__dot::after { content: ""; position: absolute; inset: -14px -6px; }
  .carousel__dot { position: relative; }
  .slide { padding-bottom: var(--sp-8); }
}

/* ---- Promo cards ---- */
.promos { display: grid; gap: var(--sp-4); align-content: stretch; }
@media (max-width: 999px) {
  .promos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
}

.promo {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 150px;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.promo--dark { background: linear-gradient(140deg, var(--navy-deep), #2A4C86); color: #C6D3E7; }
.promo--gold { background: linear-gradient(140deg, #FFF0D2, #FFDDA1); color: var(--ink); }
.promo__body { position: relative; z-index: 2; }
.promo__kicker {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-2);
}
.promo--gold .promo__kicker { color: var(--brand); }
.promo__title { font-size: var(--fs-lg); color: inherit; margin-bottom: var(--sp-2); }
.promo--dark .promo__title { color: #fff; }
.promo__text { font-size: var(--fs-sm); opacity: .9; margin-bottom: var(--sp-3); }
.promo__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-sm); font-weight: 700; color: inherit;
}
.promo--dark .promo__link { color: var(--accent); }
.promo--gold .promo__link { color: var(--brand); }
.promo__link svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.promo__link:hover svg { transform: translateX(3px); }

.promo__ico {
  position: absolute; right: -10px; bottom: -14px;
  opacity: .1; z-index: 1; pointer-events: none;
}
.promo__ico svg { width: 116px; height: 116px; }


/* ==========================================================================
   CATEGORY TABS
   ========================================================================== */
.cat-rail-wrap { position: relative; }

.cat-rail {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  scrollbar-width: thin;
}
.cat-rail::-webkit-scrollbar { height: 6px; }
.cat-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.cat-tile {
  flex: 1 0 auto;
  min-width: 96px;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-2);
  border-radius: var(--r-md);
  color: var(--ink-2);
  text-align: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.cat-tile__ico {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  color: var(--brand);
  transition: transform var(--t-fast) var(--ease);
}
.cat-tile__ico svg { width: 38px; height: 38px; }
.cat-tile__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}
/* On desktop the whole strip should read as one row, like the reference site:
   let the 11 tiles share the width equally and wrap their labels instead of
   pushing the rail into a horizontal scroll. */
@media (min-width: 1000px) {
  .cat-rail { padding: var(--sp-3); gap: var(--sp-1); overflow-x: clip; }
  .cat-tile { flex: 1 1 0; min-width: 0; padding-inline: var(--sp-1); }
  .cat-tile__ico { width: 46px; height: 46px; }
  .cat-tile__ico svg { width: 34px; height: 34px; }
  /* reserve two lines everywhere so the row of tiles ends on one clean edge */
  .cat-tile__label { font-size: 11px; letter-spacing: .02em; min-height: 2.6em; }
}

.cat-tile:hover { background: var(--surface-2); color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .cat-tile:hover .cat-tile__ico { transform: translateY(-3px) scale(1.06); }
}
.cat-tile[aria-selected="true"] {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.cat-tile[aria-selected="true"] .cat-tile__ico { color: #fff; }

/* edge fades hint that the rail scrolls */
.cat-rail__fade {
  position: absolute; top: 1px; bottom: 1px; width: 44px;
  pointer-events: none; opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.cat-rail__fade--l { left: 1px;  border-radius: var(--r-lg) 0 0 var(--r-lg); background: linear-gradient(90deg, #fff, transparent); }
.cat-rail__fade--r { right: 1px; border-radius: 0 var(--r-lg) var(--r-lg) 0; background: linear-gradient(270deg, #fff, transparent); }
.cat-rail-wrap.can-l .cat-rail__fade--l,
.cat-rail-wrap.can-r .cat-rail__fade--r { opacity: 1; }

/* ---- Panels ---- */
.cat-panels { margin-top: var(--sp-5); }

.cat-panel {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
@media (prefers-reduced-motion: no-preference) {
  .cat-panel { animation: panel-in var(--t-base) var(--ease-out); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

.cat-panel h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.cat-panel p { font-size: var(--fs-md); }

@media (max-width: 860px) {
  .cat-panel { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* no-JS fallback: :target drives which panel shows */
html:not(.js) .cat-panel { display: none; }
html:not(.js) .cat-panel:target { display: grid; }
html:not(.js) .cat-panels:not(:has(.cat-panel:target)) > .cat-panel:first-of-type { display: grid; }

/* ---- Tick lists ---- */
.ticks { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.ticks li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312805C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks--lg li { font-size: var(--fs-md); }

/* ---- Spec list ---- */
.spec {
  display: grid; gap: 0;
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-4);
}
.spec > div {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
}
.spec > div + div { border-top: 1px dashed var(--line); }
.spec dt {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--muted); flex: none;
}
.spec dd { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-align: right; }


/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trustbar { background: var(--navy); padding-block: var(--sp-5); }
.trustbar__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.trust { display: flex; align-items: center; gap: var(--sp-3); }
.trust .icon-tile { background: rgba(255,255,255,.08); color: var(--accent); }
.trust strong { display: block; color: #fff; font-size: var(--fs-md); font-weight: 700; line-height: 1.3; }
.trust small { color: #A8B6CE; font-size: var(--fs-sm); }


/* ==========================================================================
   BRANDS
   ========================================================================== */
.brands-lead {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-bottom: var(--sp-6);
}
.brand-hero {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.brand-hero::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
}
.brand-hero--exide::before  { background: var(--brand); }
.brand-hero--amaron::before { background: #1F8A44; }

.brand-hero__badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.brand-hero--exide  .brand-hero__badge { background: var(--brand-tint); color: var(--brand-dark); }
.brand-hero--amaron .brand-hero__badge { background: #E6F6EC; color: #12653A; }

.brand-hero__word {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700; letter-spacing: .04em; line-height: 1;
  margin-bottom: var(--sp-3);
}
.brand-hero--exide  .brand-hero__word { color: var(--brand); }
.brand-hero--amaron .brand-hero__word { color: #1F8A44; }
.brand-hero__text { color: var(--ink-2); }

.brand-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
.brand-chip {
  display: grid; place-items: center;
  min-height: 76px;
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 600; letter-spacing: .03em;
  color: var(--muted);
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.brand-chip:hover { color: var(--ink); border-color: var(--brand); box-shadow: var(--sh-sm); }


/* ==========================================================================
   SERVICES
   ========================================================================== */
.service-note {
  display: flex; align-items: center; gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--brand-tint);
  border: 1px dashed rgba(211,32,39,.35);
}
.service-note p { flex: 1 1 320px; color: var(--ink-2); }
.service-note strong { color: var(--brand-dark); }
.service-note .icon-tile { background: var(--brand); color: #fff; }


/* ==========================================================================
   POPULAR PRODUCTS
   ========================================================================== */
.prod {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .prod:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
}
.prod__art {
  display: grid; place-items: center;
  min-height: 176px;
  padding: var(--sp-5);
  background: linear-gradient(160deg, var(--surface-2), var(--surface-3));
}
.prod .chip { margin: var(--sp-4) var(--sp-5) 0; align-self: flex-start; }
.prod__name { font-size: var(--fs-lg); margin: var(--sp-3) var(--sp-5) var(--sp-1); }
.prod__meta { font-size: var(--fs-sm); color: var(--muted); margin: 0 var(--sp-5) var(--sp-4); }
.prod__cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2);
  margin-top: auto;
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--line-soft);
  font-weight: 700; font-size: var(--fs-sm);
}
.prod__cta svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.prod__cta:hover svg { transform: translateX(4px); }


/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 940px) { .about__grid { grid-template-columns: 1fr; } }

.about__copy p + p { margin-top: var(--sp-4); }
.about__copy p { font-size: var(--fs-md); }
.about__copy h2 { margin-bottom: var(--sp-4); }

.shopshot {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--surface-2);
}
.shopshot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shopshot figcaption {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
/* graceful state when the photo has not been supplied yet */
.shopshot.is-empty::before {
  content: "Shop photo — drop a file at assets/img/shop-front.jpg";
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 3;
  padding: var(--sp-5);
  font-size: var(--fs-sm); color: var(--muted);
  background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, var(--surface-3) 12px, var(--surface-3) 24px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: var(--sp-4);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: var(--sp-4); text-align: center; }
.stat dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--muted); }
.stat dd {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 700; color: var(--brand);
  line-height: 1.1; margin-top: 2px;
}


/* ==========================================================================
   REVIEWS + TIPS
   ========================================================================== */
.reviews__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 1000px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---- Rating summary ---- */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.rating__score { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.rating__score strong {
  font-family: var(--font-head);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink);
}
.rating__score small {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 600; color: var(--muted);
}
.rating__score small svg { width: 15px; height: 15px; }

/* Partial-star bar: a grey row with a gold row clipped to --fill. */
.stars { position: relative; display: inline-block; line-height: 0; }
.stars__row { display: flex; gap: 2px; }
.stars__row svg { width: 18px; height: 18px; }
.stars__row--bg { color: var(--line); }
.stars__row--fg {
  position: absolute; inset: 0;
  width: var(--fill);
  overflow: hidden;
  color: var(--accent);
}

.reviews-list {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 700px) {
  .reviews-list { grid-template-columns: repeat(2, 1fr); }
  /* With an odd number of reviews the last one fills the row rather than
     leaving a hole beside it. Three across would squeeze the text too far. */
  .reviews-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.review {
  position: relative;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.review__quote {
  width: 30px; height: 30px;
  color: var(--brand-tint);
  position: absolute; right: var(--sp-4); top: var(--sp-4);
}
.review__stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: var(--sp-3); }
.review__stars svg { width: 16px; height: 16px; }
.review__text { color: var(--ink-2); }
.review__by {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
  font-weight: 700; color: var(--ink); font-size: var(--fs-sm);
}
.review__by span {
  display: block;
  font-weight: 500; font-size: var(--fs-xs); color: var(--muted);
  letter-spacing: .02em;
}

/* ---- "What reviewers mention most" — Google's own topic tags ---- */
.topics { margin-top: var(--sp-5); }
.topics__label {
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-3);
}
.topics__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.topics__list li {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: .375rem .5rem .375rem .875rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
}
.topics__list b {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding-inline: 6px;
  border-radius: var(--r-pill);
  background: var(--brand-tint); color: var(--brand-dark);
  font-size: var(--fs-xs); font-weight: 700;
}

.tips {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--navy-deep);
  color: #B6C4DA;
}
.tips h3 { color: #fff; margin-bottom: var(--sp-4); }
.tips__list { counter-reset: t; display: grid; gap: var(--sp-4); }
.tips__list li {
  position: relative;
  padding-left: 2.5rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.tips__list li::before {
  counter-increment: t;
  content: counter(t);
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .875rem;
}
.tips__list strong { color: #fff; }
.tips__foot {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-sm);
  color: var(--accent);
}


/* ==========================================================================
   SERVICE AREA + MAP
   ========================================================================== */
.areas {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.areas li {
  padding: .4375rem 1rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
}

.map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-height: 320px;
}
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map__load {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: var(--sp-2);
  padding: var(--sp-5); text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(211,32,39,.06), transparent 55%),
    repeating-linear-gradient(0deg, var(--surface-2), var(--surface-2) 38px, var(--surface-3) 38px, var(--surface-3) 39px),
    repeating-linear-gradient(90deg, var(--surface-2), var(--surface-2) 38px, var(--surface-3) 38px, var(--surface-3) 39px);
}
.map__pin {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff;
  box-shadow: var(--sh-brand);
  margin-bottom: var(--sp-2);
}
.map__pin svg { width: 26px; height: 26px; }
.map__load strong { font-family: var(--font-head); font-size: var(--fs-lg); color: var(--ink); }
.map__load small { color: var(--muted); font-size: var(--fs-sm); max-width: 34ch; }
.map__load .btn { margin-top: var(--sp-3); pointer-events: none; }


/* ==========================================================================
   CTA BAND
   ========================================================================== */
.ctaband {
  background: linear-gradient(115deg, var(--brand-dark), var(--brand) 60%, #E5474D);
  color: #fff;
  padding-block: var(--section-y);
}
.ctaband__in {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 900px) { .ctaband__in { grid-template-columns: 1fr; } }

.ctaband h2 { color: #fff; margin-bottom: var(--sp-3); }
.ctaband p { color: rgba(255,255,255,.9); font-size: var(--fs-md); max-width: 52ch; }
.ctaband__hours {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm) !important;
  opacity: .85;
}
.ctaband__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-deep); color: #9DAECA; view-transition-name: site-footer; }
.footer__grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr);
  padding-block: var(--sp-8);
}
@media (max-width: 940px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.brand--footer { margin-bottom: var(--sp-4); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: var(--accent); }

.footer__about p { font-size: var(--fs-sm); max-width: 42ch; }

.footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #C4CAD5;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer__social a:hover { background: var(--brand); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h3 {
  font-size: var(--fs-base);
  color: #fff;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
/* Once the footer stacks, the alignment spacer would just be a dead gap. */
.footer__col--spacer { display: none; }
@media (min-width: 941px) { .footer__col--spacer { display: block; } }

.footer__col ul { display: grid; gap: var(--sp-3); }
.footer__col a { color: #9DAECA; font-size: var(--fs-sm); }
.footer__col a:hover { color: var(--accent); }

.footer__contact p { font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.footer__contact a { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; color: #E7E9ED; }
.footer__contact a:hover { color: var(--accent); }
.footer__addr { display: flex; gap: var(--sp-2); line-height: 1.7; }
.footer__addr svg { margin-top: 3px; color: var(--brand); }
.footer__hours { display: flex; gap: var(--sp-2); line-height: 1.7; }
.footer__hours svg { margin-top: 3px; color: var(--brand); }

.footer__bar { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bar-in {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between;
  padding-block: var(--sp-4);
  font-size: var(--fs-xs);
  color: #6E82A3;
}


/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: var(--sp-2);
  height: 56px;
  padding-inline: 18px;
  border-radius: var(--r-pill);
  background: #25D366;
  color: #06301A;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { color: #06301A; box-shadow: 0 14px 30px rgba(37, 211, 102, .5); }
@media (prefers-reduced-motion: no-preference) { .fab:hover { transform: translateY(-3px); } }

@media (max-width: 560px) {
  .fab { width: 56px; padding: 0; justify-content: center; }
  .fab span { display: none; }
}

/* Keep the FAB clear of the footer bar on short screens */
@media (max-height: 520px) { .fab { display: none; } }
