/* =====================================================================
   styles.css — Qapı & Pəncərə design system
   Tokens → base → layout → components, in that order.
   No build step required: plain CSS, BEM-ish class names.
   ===================================================================== */

/* ---- Design tokens -------------------------------------------------- */
:root {
  --accent: #4A6FA5;
  --accent-dark: #3f608f;
  --accent-soft: rgba(74, 111, 165, 0.10);
  --ink: #16213B;
  --text: #555555;
  --heading: #1C1C1C;
  --muted: #8A8A8A;
  --slate: #64748b;
  --line: #E7E7E3;
  --line-2: #DCDCDC;
  --bg: #F8F8F8;
  --radius: 6px;
  --card-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(28, 28, 28, .05);
  --shadow-card: 0 22px 44px -22px rgba(16, 22, 40, .4);
  --maxw: 1200px;
}

/* ---- Reset / base -------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--heading);
  margin: 0;
  letter-spacing: -0.022em;
}
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }
.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ---- Layout helpers ------------------------------------------------ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.container--narrow { max-width: 1100px; }
.main { flex: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow--soft { font-weight: 600; letter-spacing: .1em; }
.eyebrow--soft::before { width: 26px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); text-decoration: none; cursor: pointer; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .here { color: #555; }

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 15px; padding: 14px 28px; border-radius: 8px; text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s, color .15s;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -12px rgba(74, 111, 165, .9); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost { background: none; border: 1px solid var(--line-2); color: var(--heading); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); font-weight: 700; }
.btn--light:hover { transform: translateY(-1px); }
.btn--outline-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn--outline-light:hover { background: rgba(255,255,255,.2); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 16px; font-size: 13.5px; }
.btn--sm svg { width: 15px; height: 15px; }
.link-accent {
  background: none; border: none; padding: 0; cursor: pointer; color: var(--accent);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 7px;
}
.link-accent svg { width: 15px; height: 15px; }

/* ---- Top bar + header --------------------------------------------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 12.5px; }
.topbar__row { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar__row a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.topbar__row a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg, .topbar__row a svg { width: 13px; height: 13px; color: var(--accent); }
.topbar__item--pin svg { width: 14px; height: 14px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header__row { height: 76px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 42px; height: 42px; background: var(--accent); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 16px; box-shadow: 0 6px 16px -6px rgba(74,111,165,.7); }
.brand__name { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 16px; color: var(--heading); letter-spacing: -.02em; line-height: 1.12; }
.brand__tag { font-size: 11px; color: #9A9A9A; letter-spacing: .02em; }
.nav { display: flex; gap: 2px; margin-left: 18px; flex: 1; flex-wrap: wrap; }
.nav-link { position: relative; background: none; border: none; cursor: pointer; font-weight: 500; color: var(--heading); padding: 9px 12px; font-size: 14.5px; border-radius: 6px; transition: background .15s; text-decoration: none; display: inline-block; }
.nav-link:hover { background: #F2F3F5; }
.nav-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); border-radius: 2px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.lang a, .lang button { border: none; cursor: pointer; font-weight: 600; font-size: 13px; padding: 9px 14px; background: #fff; color: var(--muted); text-decoration: none; display: inline-block; }
.lang a.is-active, .lang button.is-active { background: var(--accent); color: #fff; }
.icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; flex-shrink: 0; color: var(--heading); transition: border-color .15s, color .15s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 4px; background: var(--accent); color: #fff; border-radius: 10px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.cart-badge.is-pulse { animation: qpBounce .7s cubic-bezier(.3,.7,.3,1.4); }
/* Floating cart button — shown only on mobile (see @media 720px), bottom-right */
.cart-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff; color: var(--accent); border: 1px solid var(--line-2); cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(16,22,40,.28), 0 4px 10px rgba(16,22,40,.12);
  transition: transform .15s, box-shadow .15s;
}
.cart-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(16,22,40,.32), 0 5px 12px rgba(16,22,40,.16); }
.cart-fab:active { transform: translateY(0); }
.cart-fab svg { width: 26px; height: 26px; display: block; }
/* Pull the count badge onto the circle's edge (the -7px corner offset sits it
   outside a round button) so it straddles the rim instead of floating off it. */
.cart-fab .cart-badge { top: 2px; right: 2px; }

/* ---- Hero ---------------------------------------------------------- */
.hero { position: relative; min-height: clamp(520px, 66vh, 680px); display: flex; align-items: center; overflow: hidden; background: #e9edf3; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(108deg, rgba(13,18,33,.68) 0%, rgba(13,18,33,.46) 30%, rgba(13,18,33,.18) 54%, rgba(13,18,33,0) 76%); }
.hero__overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,18,33,.16) 0%, rgba(13,18,33,0) 32%); }
.hero__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent) 0%, rgba(74,111,165,0) 100%); }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 640px; animation: qpUp .75s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow { color: #fff; font-weight: 600; letter-spacing: .14em; margin-bottom: 26px; }
.hero .eyebrow::before { width: 34px; border-radius: 2px; }
.hero__title { font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; line-height: 1.04; color: #fff; margin-bottom: 22px; letter-spacing: -.025em; text-wrap: balance; }
.hero__sub { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 500px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }

/* ---- Feature strip ------------------------------------------------- */
.featurebar { margin: -52px auto 0; position: relative; z-index: 5; }
.featurebar__inner { background: #fff; border: 1px solid #EDEDE9; border-radius: 14px; box-shadow: 0 26px 60px -30px rgba(16,22,40,.5); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); overflow: hidden; }
.feature { display: flex; align-items: center; gap: 15px; padding: 26px 24px; }
.feature__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 24px; height: 24px; }
.feature__title { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 15px; color: var(--heading); }
.feature__sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---- Section heading row ------------------------------------------ */
.section { padding: clamp(56px, 6.5vw, 88px) 24px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; line-height: 1.05; }
.sec-head__sub { font-size: 16px; color: var(--slate); max-width: 500px; }
.sec-center { text-align: center; margin-bottom: 46px; }
.sec-center .sec-head__title { margin-bottom: 12px; }

/* ---- Category cards ------------------------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.cat-card { text-decoration: none; position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 24px 30px; background: #fff; border: 1px solid #edf1f7; border-radius: 24px; box-shadow: 0 2px 4px rgba(16,24,40,.03), 0 1px 2px rgba(16,24,40,.04); transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s ease, border-color .32s ease; }
.cat-card:hover { transform: translateY(-10px); box-shadow: 0 32px 60px -26px rgba(30,58,138,.34); border-color: #C5D4F0; }
.cat-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #7c9cce); transform: scaleX(0); transform-origin: left; transition: transform .36s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover .cat-card__bar { transform: scaleX(1); }
.cat-card__badge { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 26px; background: #EEF2F9; color: #33507E; box-shadow: inset 0 0 0 1px rgba(51,80,126,.06); margin-bottom: 22px; transition: background .32s ease, color .32s ease, transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s ease; }
.cat-card:hover .cat-card__badge { background: linear-gradient(140deg, #5b80c4, #3a567f); color: #fff; box-shadow: 0 18px 34px -12px rgba(30,58,138,.5), inset 0 0 0 1px rgba(255,255,255,.12); transform: scale(1.04); }
.cat-card__title { font-family: 'Plus Jakarta Sans'; font-size: 17px; font-weight: 700; color: #0f172a; transition: color .32s ease; }
.cat-card:hover .cat-card__title { color: var(--accent); }
.cat-card__count { font-size: 13px; font-weight: 500; color: #94a3b8; margin-top: 5px; }
.cat-card__arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.cat-card__arrow svg { width: 14px; height: 14px; }
.cat-card:hover .cat-card__arrow { opacity: 1; transform: translateY(0); }
/* Category cards become a centre-focused horizontal slider at ALL widths —
   the middle card is crisp, its neighbours fade; swipe/arrows bring the next
   card to the centre. .is-active is set by initCenterSliders() in app.js. */
.cat-grid.js-cslider {
  position: relative;   /* makes card.offsetLeft relative to this scroll box (JS centring) */
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 20px calc(50% - 160px);   /* centres a 320px card, neighbours peek */
  scrollbar-width: none;
}
.cat-grid.js-cslider::-webkit-scrollbar { display: none; }
.cat-grid.js-cslider .cat-card {
  flex: 0 0 320px; scroll-snap-align: center;
  opacity: .4; transform: scale(.9);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.cat-grid.js-cslider .cat-card.is-active {
  opacity: 1; transform: scale(1);
  box-shadow: 0 26px 48px -26px rgba(30,58,138,.32); border-color: #C5D4F0;
}
/* The centred category always reads as "selected" (mirrors the hover state) */
.cat-grid.js-cslider .cat-card.is-active .cat-card__bar { transform: scaleX(1); }
.cat-grid.js-cslider .cat-card.is-active .cat-card__badge {
  background: linear-gradient(140deg, #5b80c4, #3a567f); color: #fff;
  box-shadow: 0 18px 34px -12px rgba(30,58,138,.5), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: scale(1.04);
}
.cat-grid.js-cslider .cat-card.is-active .cat-card__title { color: var(--accent); }
.cat-grid.js-cslider .cat-card.is-active .cat-card__arrow { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .cat-grid.js-cslider { gap: 12px; margin-inline: -16px; padding: 12px 14vw; }
  .cat-grid.js-cslider .cat-card { flex-basis: 72vw; padding: 30px 20px 24px; }
  .cat-grid.js-cslider .cat-card__badge { width: 78px; height: 78px; border-radius: 20px; margin-bottom: 16px; }
  .cat-grid.js-cslider .cat-card__badge svg { width: 44px; height: 44px; }
}

/* ---- Product cards ------------------------------------------------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
/* Home "Populyar məhsullar" grid becomes a centre-focused slider at ALL widths —
   same behaviour as the category slider (.is-active set by initCenterSliders). */
.prod-grid--slider {
  position: relative;   /* makes card.offsetLeft relative to this scroll box (JS centring) */
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 20px calc(50% - 210px);   /* centres a 420px card, neighbours peek */
  scrollbar-width: none;
}
.prod-grid--slider::-webkit-scrollbar { display: none; }
.prod-grid--slider .prod-card {
  flex: 0 0 420px; scroll-snap-align: center;
  opacity: .4; transform: scale(.94);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.prod-grid--slider .prod-card.is-active { opacity: 1; transform: scale(1); box-shadow: var(--shadow-card); }
@media (max-width: 640px) {
  .prod-grid--slider { gap: 12px; margin-inline: -16px; padding: 12px 12vw; }
  .prod-grid--slider .prod-card { flex-basis: 76vw; }
}
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s; }
.prod-card:hover { border-color: #D0D0D0; box-shadow: var(--shadow-card); transform: translateY(-4px); }
.prod-card__media { position: relative; }
.prod-card__imgbtn { border: none; padding: 0; background: none; cursor: pointer; display: block; overflow: hidden; aspect-ratio: 4/3; width: 100%; }
.prod-card__imgbtn img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.prod-card:hover .prod-card__imgbtn img { transform: scale(1.06); }
.badge-new { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, #FF8A00 0%, #FF4D2E 55%, #F5262B 100%); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 7px; box-shadow: 0 8px 18px -8px rgba(255,77,46,.9); }
.prod-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.prod-card__cat { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.prod-card__title { text-decoration: none; display: block; text-align: left; background: none; border: none; padding: 0; cursor: pointer; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 17px; color: var(--heading); margin-bottom: 6px; line-height: 1.3; }
.prod-card__title:hover { color: var(--accent); }
.prod-card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; flex: 1; }
.prod-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #F0F0F0; }
.price { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 21px; color: var(--heading); }
.price__unit { font-size: 12px; color: var(--muted); }
/* Discount: current price (.price) beside the struck original (.price-old). */
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--muted); font-weight: 600; font-size: 14px; }
.price-old--sm { font-size: 13px; margin-left: 4px; }
.price-old--lg { font-size: 18px; }
/* "−20%" sale badge — top-right on cards, inline on the detail price. */
.badge-sale { position: absolute; top: 12px; right: 12px; z-index: 1;
  background: linear-gradient(135deg, #FF8A00 0%, #FF4D2E 55%, #F5262B 100%); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 10px; border-radius: 7px;
  box-shadow: 0 8px 18px -8px rgba(255,77,46,.9); }
.badge-sale--inline { position: static; box-shadow: none; font-size: 13px; }
.btn--add { background: var(--accent); color: #fff; }
.btn--add:hover { background: var(--accent-dark); }
.btn--add:active { transform: scale(.94); }

/* Catalog grid on phones: two compact cards per row. Placed AFTER the base
   .prod-card rules above so equal-specificity overrides win on source order. */
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-card__body { padding: 12px; }
  .prod-card__cat { font-size: 10px; margin-bottom: 5px; }
  .prod-card__title { font-size: 14px; margin-bottom: 4px; }
  .prod-card__desc { display: none; }
  /* Price on the left; add-button full-width below it. */
  .prod-card__foot { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; }
  /* Keep price + unit on one line: "120 ₼ / kv.m" */
  .prod-card__foot > div { display: flex; align-items: baseline; justify-content: flex-start; gap: 5px; flex-wrap: wrap; }
  .prod-card__foot .price { font-size: 17px; }
  .prod-card__foot .price__unit { font-size: 11px; }
  .prod-card__foot .btn--add { width: 100%; justify-content: center; }
}

/* Full-bleed white band — alternates tone against the grey (--bg) sections so
   adjacent home sections read as distinct. Mirrors .about-snippet's treatment. */
.band-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- About snippet (home) ----------------------------------------- */
.about-snippet { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-snippet__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.about-snippet__media { position: relative; }
.about-snippet__img { aspect-ratio: 5/4; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16,22,40,.4); }
.about-snippet__img img { width: 100%; height: 100%; object-fit: cover; }
.about-snippet__badge { position: absolute; bottom: -24px; left: -24px; background: var(--accent); color: #fff; border-radius: 12px; padding: 22px 28px; box-shadow: 0 18px 36px -14px rgba(74,111,165,.7); }
.about-snippet__num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 36px; line-height: 1; }
.about-snippet__numlabel { font-size: 13px; color: rgba(255,255,255,.88); margin-top: 6px; }
.about-snippet__title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; }
.about-snippet__text { font-size: 16.5px; line-height: 1.65; color: #555; margin-bottom: 26px; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 22px; margin-bottom: 34px; }
.check { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--heading); }
.check__mark { width: 23px; height: 23px; flex-shrink: 0; border-radius: 50%; background: rgba(74,111,165,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.check__mark svg { width: 13px; height: 13px; }

/* ---- CTA band ------------------------------------------------------ */
.cta-band { position: relative; border-radius: 16px; overflow: hidden; background: var(--ink); }
.cta-band__inner { position: relative; padding: clamp(44px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: center; }
.cta-band__title { color: #fff; font-size: clamp(25px, 2.8vw, 34px); font-weight: 800; margin-bottom: 12px; line-height: 1.12; }
.cta-band__sub { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.55; }
.cta-band__actions { display: flex; gap: 13px; flex-wrap: wrap; }
.motif { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.motif > span { position: absolute; color: #fff; opacity: .07; }

/* ---- Stats band (count-up) ---------------------------------------- */
.stats-band { position: relative; overflow: hidden; border-radius: 20px; background: var(--ink); }
.stats-band__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; padding: clamp(40px, 5vw, 58px); text-align: center; }
.stat__num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: clamp(40px, 5vw, 56px); color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: 15px; color: rgba(255,255,255,.7); margin-top: 12px; }

/* ---- Products page (shop) ----------------------------------------- */
.shop { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; margin-top: 28px; }
.shop__aside { flex: 1 1 230px; position: sticky; top: 128px; background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); padding: 20px; box-shadow: var(--shadow-sm); }
.shop__main { flex: 999 1 320px; min-width: 0; }
.search { position: relative; margin-bottom: 22px; }
.search__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #9A9A9A; display: inline-flex; }
.search__input { width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px 0 38px; font-family: 'Inter'; font-size: 14px; color: var(--heading); outline: none; }
.search__input:focus { border-color: var(--accent); }
.side-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-link { position: relative; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; border: none; cursor: pointer; font-size: 14.5px; padding: 10px 12px; border-radius: 8px; background: transparent; color: #555; font-weight: 500; }
.side-link:hover { background: #F4F6F9; }
/* Category radios are visually hidden; the label carries the checked/active look. */
.side-radio { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; pointer-events: none; }
.side-link.is-active,
.side-link:has(.side-radio:checked) { background: rgba(74,111,165,.1); color: var(--accent); font-weight: 600; }
.side-link:has(.side-radio:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.side-badge { font-size: 12px; padding: 1px 9px; border-radius: 10px; flex-shrink: 0; background: #EFEFEF; color: var(--muted); }
.side-link.is-active .side-badge,
.side-link:has(.side-radio:checked) .side-badge { background: var(--accent); color: #fff; }

/* Mobile filter bar + off-canvas chrome — hidden on desktop, revealed at ≤720px */
.shop__bar { display: none; }
.shop__aside-head { display: none; }
.shop__close { display: none; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 1px solid var(--line-2); background: #fff; border-radius: 10px; cursor: pointer;
  font-family: 'Inter'; font-weight: 600; font-size: 14.5px; color: var(--heading); }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.shop__count { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Sort select */
.side-title--panel-first { margin-top: 2px; }
.sort-select { margin-bottom: 22px; width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0 38px 0 12px; font-family: 'Inter'; font-size: 14px; color: var(--heading); background: #fff;
  cursor: pointer; outline: none; -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.sort-select:focus { border-color: var(--accent); }

/* Price-range filter */
.side-title--gap { margin-top: 22px; }
.price-filter__row { display: flex; align-items: center; gap: 8px; }
.price-filter__input { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line-2);
  border-radius: 8px; padding: 0 12px; font-family: 'Inter'; font-size: 14px; color: var(--heading); outline: none; }
.price-filter__input:focus { border-color: var(--accent); }
/* Hide number-input spinners for a cleaner look */
.price-filter__input::-webkit-outer-spin-button,
.price-filter__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-filter__input { -moz-appearance: textfield; }
.price-filter__dash { color: var(--muted); flex: 0 0 auto; }
/* Apply / reset row — the single submit for the whole filter form. */
.filter-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--line); }
.filter-apply { flex: 1 1 auto; justify-content: center; }
.filter-reset { font-size: 13.5px; color: var(--muted); text-decoration: none; flex: 0 0 auto; }
.filter-reset:hover { color: var(--accent); text-decoration: underline; }

/* ---- Pagination ---------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px; margin-top: 40px; }
.pagination__link { display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2);
  background: #fff; color: var(--heading); text-decoration: none; font-weight: 600; font-size: 14.5px;
  transition: border-color .2s, background .2s, color .2s; }
.pagination__link:hover { border-color: var(--accent); color: var(--accent); }
.pagination__link.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination__link.is-disabled { opacity: .4; pointer-events: none; }
.pagination__gap { min-width: 28px; text-align: center; color: var(--muted); }
.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); padding: 56px 24px; text-align: center; }
.empty__icon { width: 52px; height: 52px; border-radius: 50%; background: #F2F2F2; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #9A9A9A; }
.empty__icon svg { width: 24px; height: 24px; }

/* ---- Product detail ----------------------------------------------- */
.detail__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 48px; align-items: start; }
.detail__media { position: sticky; top: 92px; }
.detail__main { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; box-shadow: 0 20px 44px -26px rgba(16,22,40,.4); }
.detail__main img, .detail__main video { width: 100%; height: 100%; object-fit: cover; }
.detail__main img[data-action="zoom"] { cursor: zoom-in; }
.detail__video { display: block; background: #000; }
/* Thumbnail strip is a horizontal slider (scrolls when it overflows) */
.thumbs { display: flex; gap: 10px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.thumbs::-webkit-scrollbar { height: 6px; }
.thumbs::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.thumb { position: relative; flex: 0 0 auto; width: 78px; height: 60px; border-radius: 8px; cursor: pointer; overflow: hidden; padding: 0; background: #eee; border: 1px solid var(--line-2); scroll-snap-align: start; }
.thumb.is-active { border: 2px solid var(--accent); }
.thumb img, .thumb__video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Play badge overlaid on the video thumbnail */
.thumb--video::after { content: ""; position: absolute; inset: 0; background: rgba(16,22,40,.32); }
.thumb__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; }
.thumb__play::before { content: ""; width: 0; height: 0; margin-left: 2px;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--accent); }
/* Full-size image lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(9,12,20,.86); backdrop-filter: blur(2px); cursor: zoom-out; }
.lightbox__img, .lightbox__video { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); cursor: default; }
.lightbox__video { width: min(90vw, 1100px); background: #000; }
.lightbox__close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.lightbox__close:hover { background: rgba(255,255,255,.28); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-bottom: 4px; transition: background .2s; z-index: 2; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 560px) { .lightbox__nav { width: 42px; height: 42px; font-size: 28px; } }
.detail__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.detail__cat { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: #D2D2CE; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #2E7D5B; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2E7D5B; box-shadow: 0 0 0 3px rgba(46,125,91,.15); }
.detail__title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.08; margin-bottom: 18px; }
.detail__price { display: flex; align-items: baseline; gap: 9px; margin-bottom: 24px; }
.detail__price .price { font-size: 38px; color: var(--ink); letter-spacing: -.02em; }
.detail__price .price__unit { font-size: 15px; }
.detail__desc { font-size: 16px; line-height: 1.7; color: #555; margin-bottom: 28px; }
.detail__desc p { margin: 0 0 14px; }
.detail__desc p:last-child { margin-bottom: 0; }
.trust-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: #3A3A3A; box-shadow: 0 1px 2px rgba(16,22,40,.04); }
.trust-chip svg { width: 16px; height: 16px; color: var(--accent); }
.field-label { font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 500; font-size: 13.5px; color: var(--heading); padding: 8px 13px; border-radius: 8px; }
.swatch.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.swatch__dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; background: var(--swatch-color, #ddd); }
.buy-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: #fff; }
.qty__btn { width: 42px; height: 48px; border: none; background: none; font-size: 20px; color: var(--heading); cursor: pointer; }
.qty__btn:hover { background: #F2F2F2; }
.qty__input { width: 66px; height: 48px; border: none; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); text-align: center; font-family: 'Inter'; font-size: 16px; font-weight: 600; color: var(--heading); outline: none; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; min-width: 200px; height: 48px; padding: 0 28px; font-size: 15.5px; box-shadow: 0 14px 28px -12px rgba(74,111,165,.8); }
.buy-row .btn svg { width: 18px; height: 18px; }

/* specs — full-width band below the two columns */
.specs { margin-top: clamp(40px, 4.5vw, 56px); }
.specs__head { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.specs__head::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.specs__head span { font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.specs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; }
.spec-card { display: flex; align-items: center; gap: 15px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,22,40,.04); transition: box-shadow .25s, border-color .25s; }
.spec-card:hover { box-shadow: 0 16px 32px -22px rgba(16,22,40,.35); border-color: #D7E0EF; }
.spec-card__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.spec-card__icon svg { width: 22px; height: 22px; }
.spec-card__k { color: #9A9A9A; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.spec-card__v { margin: 0; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3; }

.related { margin-top: clamp(52px, 6vw, 76px); }
.related__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.related__head h2 { font-size: 25px; font-weight: 800; }
.related__head .rule { flex: 1; height: 1px; background: var(--line); }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.rel-card { text-decoration: none; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; cursor: pointer; padding: 0; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.rel-card:hover { box-shadow: 0 20px 40px -20px rgba(16,22,40,.4); transform: translateY(-4px); }
.rel-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.rel-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rel-card__body { padding: 15px; }
.rel-card__name { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 15px; color: var(--heading); margin-bottom: 5px; line-height: 1.3; }
.rel-card__desc { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-card__price { font-weight: 800; font-size: 16px; color: var(--accent); }

/* "Oxşar məhsullar" grid becomes a centre-focused slider at ALL widths —
   same behaviour as the home Populyar/category sliders (.is-active set by
   initCenterSliders in app.js). */
.rel-grid.js-cslider {
  position: relative;   /* makes card.offsetLeft relative to this scroll box (JS centring) */
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 20px calc(50% - 170px);   /* centres a 340px card, neighbours peek */
  scrollbar-width: none;
}
.rel-grid.js-cslider::-webkit-scrollbar { display: none; }
.rel-grid.js-cslider .rel-card {
  flex: 0 0 340px; scroll-snap-align: center;
  opacity: .4; transform: scale(.93);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.rel-grid.js-cslider .rel-card.is-active { opacity: 1; transform: scale(1); box-shadow: var(--shadow-card); }
@media (max-width: 640px) {
  .rel-grid.js-cslider { gap: 12px; margin-inline: -16px; padding: 12px 14vw; }
  .rel-grid.js-cslider .rel-card { flex-basis: 76vw; }
}

/* ---- Cart page ----------------------------------------------------- */
.page { padding: 32px 24px clamp(60px, 7vw, 92px); }
.page__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin-bottom: 28px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.panel--pad { padding: 24px; }
.cart-empty { padding: 64px 24px; text-align: center; }
.cart-empty__icon { width: 64px; height: 64px; border-radius: 50%; background: #F2F2F2; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--muted); }
.cart-empty__icon svg { width: 28px; height: 28px; }
.cart-empty h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.cart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: start; }
.cart-row { display: flex; gap: 15px; padding: 18px; border-bottom: 1px solid #F0F0F0; align-items: center; }
.cart-thumb { width: 78px; height: 62px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__info { flex: 1; min-width: 0; }
.cart-row__name { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 15px; color: var(--heading); margin-bottom: 3px; }
.cart-row__meta { font-size: 13px; color: var(--muted); display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 6px; }
/* Per-unit price emphasised; unit/colour stay muted. */
.cart-row__price { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 15px; color: var(--accent); }
.cart-row__unit { color: var(--muted); }
.cart-row__save { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, #FF8A00 0%, #FF4D2E 55%, #F5262B 100%);
  padding: 1px 7px; border-radius: 6px; }
/* qty + line total + remove, grouped so they can drop to their own row on mobile */
.cart-row__controls { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-qty button { width: 32px; height: 36px; border: none; background: #fff; font-size: 17px; color: var(--heading); cursor: pointer; }
.cart-qty button:hover { background: #F2F2F2; }
.cart-qty input { width: 50px; height: 36px; border: none; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); text-align: center; font-family: 'Inter'; font-size: 14px; font-weight: 600; color: var(--heading); outline: none; -moz-appearance: textfield; }
.cart-row__line { width: 96px; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.cart-row__total { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 17px; color: var(--heading); letter-spacing: -.01em; }
.cart-row__line .price-old { font-size: 12.5px; }
.cart-row__remove { width: 34px; height: 34px; border: none; background: none; cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #B0B0B0; flex-shrink: 0; }
.cart-row__remove:hover { background: #F7EAEA; color: #C0392B; }
.cart-row__remove svg { width: 17px; height: 17px; }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #555; }
.summary-line--total { padding: 8px 0 14px; border-bottom: 1px solid #EFEFEF; }
.summary-line--total strong { font-family: 'Plus Jakarta Sans'; font-size: 22px; color: var(--heading); }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--heading); }
.form label .req { color: var(--accent); }
.input, .form input, .form textarea, .contact-form input, .contact-form textarea { border: 1px solid var(--line-2); border-radius: 8px; font-family: 'Inter'; font-size: 14.5px; color: var(--heading); outline: none; font-weight: 400; }
.form input, .contact-form input { height: 44px; padding: 0 13px; }
.form textarea, .contact-form textarea { padding: 11px 13px; resize: vertical; }
.form input:focus, .form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.form-error { background: #FBEAEA; color: #C0392B; font-size: 13.5px; padding: 10px 13px; border-radius: 8px; }
.form-privacy { font-size: 12px; color: #9A9A9A; text-align: center; line-height: 1.5; margin: 2px 0 0; }

/* order confirmation */
.confirm__head { background: var(--accent); color: #fff; padding: 30px; display: flex; align-items: center; gap: 16px; }
.confirm__check { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.confirm__check svg { width: 24px; height: 24px; }
.confirm__head h2 { color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.confirm__head p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5; }
.confirm__meta { padding: 24px 30px; border-bottom: 1px solid #EFEFEF; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); }
.confirm__meta strong { color: var(--heading); font-family: ui-monospace, monospace; }
.confirm__items { padding: 8px 30px; }
.confirm__item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F0F0F0; font-size: 14.5px; color: var(--heading); }
.confirm__item span { color: var(--muted); }
.confirm__foot { padding: 18px 30px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.confirm__total { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 20px; color: var(--heading); }

/* ---- About page ---------------------------------------------------- */
.about-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; padding: 8px 24px clamp(52px, 6vw, 76px); }
.about-hero__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.08; margin-bottom: 18px; }
.about-hero p { font-size: 16.5px; line-height: 1.7; color: #555; margin-bottom: 16px; }
.about-hero__img { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 26px 54px -28px rgba(16,22,40,.42); }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.mission { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission__inner { max-width: 880px; margin: 0 auto; padding: clamp(52px, 6vw, 76px) 24px; text-align: center; }
.mission .eyebrow { letter-spacing: .2em; margin-bottom: 22px; }
.mission__text { font-family: 'Plus Jakarta Sans'; font-size: clamp(20px, 2.5vw, 29px); line-height: 1.5; font-weight: 600; color: var(--heading); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.values-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, #FAFBFD 0%, #F2F5FB 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-sec__blob { position: absolute; top: -120px; left: -80px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(74,111,165,.10) 0%, rgba(74,111,165,0) 70%); pointer-events: none; }
.step-grid, .value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #edf1f7; border-radius: 18px; padding: 30px 24px; box-shadow: 0 2px 4px rgba(16,24,40,.03), 0 1px 2px rgba(16,24,40,.04); }
.step-card__n { position: absolute; top: 20px; right: 22px; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 38px; color: #EDF1F8; line-height: 1; }
.step-card__icon { width: 52px; height: 52px; border-radius: 15px; background: rgba(74,111,165,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-card__icon svg { width: 26px; height: 26px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.value-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px 32px; background: #fff; border: 1px solid #edf1f7; border-radius: 24px; box-shadow: 0 2px 4px rgba(16,24,40,.03), 0 1px 2px rgba(16,24,40,.04); transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s ease, border-color .32s ease; }
.value-card:hover { transform: translateY(-10px); box-shadow: 0 32px 60px -26px rgba(30,58,138,.34); border-color: #C5D4F0; }
.value-card .cat-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.value-card__badge { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 24px; background: #EEF2F9; color: #33507E; box-shadow: inset 0 0 0 1px rgba(51,80,126,.06); margin-bottom: 20px; transition: background .32s ease, color .32s ease, transform .32s, box-shadow .32s; }
.value-card:hover .value-card__badge { background: linear-gradient(140deg, #5b80c4, #3a567f); color: #fff; box-shadow: 0 18px 34px -12px rgba(30,58,138,.5); transform: scale(1.04); }
.value-card__badge svg { width: 40px; height: 40px; }
.value-card h3 { font-family: 'Plus Jakarta Sans'; font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 9px; transition: color .32s; }
.value-card:hover h3 { color: var(--accent); }
.value-card p { font-size: 13.5px; line-height: 1.55; color: #94a3b8; }

/* ---- Contact page -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "info form" "map map"; gap: 32px; align-items: start; }
.contact-grid__info { grid-area: info; }
.contact-grid__form { grid-area: form; }
/* Map spans the full width below the info/form row; taller than the boxed 16/11 look.
   Two classes so `aspect-ratio: auto` beats the base `.map { aspect-ratio: 16/11 }`. */
.contact-grid .contact-grid__map { grid-area: map; aspect-ratio: auto; height: 420px; }
.info-col { display: flex; flex-direction: column; gap: 16px; }
.info-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); padding: 18px; box-shadow: var(--shadow-sm); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); font-size: 14px; font-weight: 600; color: var(--heading); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.social-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(16,22,40,.25); }
.social-btn--ig svg { color: #E4405F; }
.social-btn--ig:hover { border-color: #E4405F; }
.social-btn--wa svg { color: #25D366; }
.social-btn--wa:hover { border-color: #25D366; }

/* Diagnostics band (home + about): the crew's measuring devices */
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.diag-card { background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.diag-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.diag-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.diag-card__body { padding: 20px 22px 24px; }
.diag-card__body h3 { font-size: 17.5px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.diag-card__body p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
@media (max-width: 760px) { .diag-grid { grid-template-columns: 1fr; } }

/* Services grid (home): headings mirror primary search phrases */
/* Services: auto-playing centre-focused slider at ALL widths — the crisp
   middle card advances left-to-right on its own (autoplay wired to
   [data-autoplay] in initCenterSliders; replaces the mobile featurebar
   rotator as the home page's "motion" element). */
.svc-grid {
  position: relative;   /* card.offsetLeft measured from the scroll box (JS centring) */
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 16px calc(50% - 180px);   /* centres a 360px card, neighbours peek */
  scrollbar-width: none;
}
.svc-grid::-webkit-scrollbar { display: none; }
/* Autoplay engaged (JS adds .is-marquee): the strip drives itself — user
   scrolling, snapping and pointer interaction are all off. Reduced-motion
   visitors never get this class, so the strip stays swipeable for them. */
.svc-grid.is-marquee { overflow-x: hidden; scroll-snap-type: none; pointer-events: none; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  flex: 0 0 360px; scroll-snap-align: center;
  opacity: .45; transform: scale(.94);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1),
              box-shadow .4s ease, border-color .4s ease;
}
.svc-card.is-active {
  opacity: 1; transform: scale(1);
  box-shadow: 0 26px 48px -26px rgba(30,58,138,.32); border-color: #C5D4F0;
}
.svc-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #EEF2F9; color: var(--accent); margin-bottom: 14px; transition: background .4s ease, color .4s ease, box-shadow .4s ease; }
.svc-card.is-active .svc-card__icon {
  background: linear-gradient(140deg, #5b80c4, #3a567f); color: #fff;
  box-shadow: 0 14px 26px -10px rgba(30,58,138,.5);
}
.svc-card h3 { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.svc-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) {
  .svc-grid { gap: 12px; margin-inline: -16px; padding: 12px 12vw; }
  .svc-card { flex-basis: 76vw; }
}
.info-card__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: rgba(74,111,165,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.info-card__icon svg { width: 21px; height: 21px; }
.info-card__label { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.info-card__value { font-size: 15.5px; color: var(--heading); font-weight: 500; }
.map { position: relative; aspect-ratio: 16/11; border-radius: var(--card-radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background-color: #E6EBF1; background-image: repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,.6) 47px 51px), repeating-linear-gradient(90deg, transparent 0 62px, rgba(255,255,255,.6) 62px 66px), linear-gradient(135deg, #EAEFF4, #E2E9F1); }
.map__green { position: absolute; left: 7%; top: 12%; width: 27%; height: 31%; background: #DCE8DC; border-radius: 12px; opacity: .85; }
.map__blue { position: absolute; right: 5%; bottom: 8%; width: 31%; height: 28%; background: #D4E2F1; border-radius: 16px; opacity: .85; }
.map__sq1 { position: absolute; right: 11%; top: 14%; width: 15%; height: 15%; background: rgba(255,255,255,.5); border-radius: 5px; }
.map__sq2 { position: absolute; left: 42%; bottom: 14%; width: 13%; height: 14%; background: rgba(255,255,255,.5); border-radius: 5px; }
.map__road1 { position: absolute; left: -12%; top: 58%; width: 130%; height: 18px; background: #fff; opacity: .92; transform: rotate(-19deg); box-shadow: 0 0 0 1px rgba(74,111,165,.1); }
.map__road2 { position: absolute; left: 18%; top: -10%; width: 14px; height: 130%; background: #fff; opacity: .85; transform: rotate(9deg); }
.map__ring { position: absolute; left: 50%; top: 41%; width: 50px; height: 50px; border-radius: 50%; background: rgba(74,111,165,.26); transform: translate(-50%,-50%); animation: qpRing 2.4s ease-out infinite; pointer-events: none; }
.map__ring--2 { background: rgba(74,111,165,.22); animation-delay: 1.2s; }
.map__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%); animation: qpPinDrop .6s cubic-bezier(.2,.7,.2,1.3) both; }
.map__pin-inner { position: relative; width: 40px; height: 40px; }
.map__pin-inner > .b { position: absolute; inset: 0; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(45deg); box-shadow: 0 13px 22px -8px rgba(74,111,165,.85); }
.map__pin-inner > .d { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.map__card { position: absolute; left: 50%; top: 46%; transform: translate(-50%, calc(-100% - 50px)); background: #fff; border-radius: 11px; padding: 9px 15px; box-shadow: 0 14px 30px -10px rgba(16,22,40,.45); white-space: nowrap; text-align: center; }
.map__card-name { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 13px; color: var(--heading); }
.map__card-sub { font-size: 11.5px; color: var(--accent); font-weight: 600; margin-top: 1px; }
.map__card::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: #fff; box-shadow: 3px 3px 7px -3px rgba(16,22,40,.3); }
.map__badge { position: absolute; right: 12px; bottom: 11px; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); border-radius: 7px; padding: 6px 11px; font-size: 11.5px; color: var(--slate); font-weight: 500; }
.map__badge svg { width: 13px; height: 13px; color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-sent { background: rgba(74,111,165,.1); color: var(--accent); font-size: 14.5px; padding: 14px; border-radius: 8px; display: flex; gap: 10px; align-items: center; }
.contact-sent svg { width: 20px; height: 20px; }
.panel__title { font-size: 18px; font-weight: 800; margin-bottom: 18px; }

/* ---- Cart drawer --------------------------------------------------- */
.drawer__scrim { position: fixed; inset: 0; background: rgba(15,22,40,.45); z-index: 90; animation: qpFade .2s ease; }
.drawer__panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 90vw); background: #fff; z-index: 91; display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(0,0,0,.12); animation: qpSlideIn .25s cubic-bezier(.4,0,.2,1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line-2); }
.drawer__head h2 { font-size: 18px; font-weight: 800; }
.drawer__head h2 span { color: var(--muted); font-weight: 500; }
.drawer__close { width: 36px; height: 36px; border: none; background: none; cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--heading); }
.drawer__close:hover { background: #F2F2F2; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; }
.drawer__empty p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-row { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid #F0F0F0; align-items: center; }
.drawer-row__thumb { width: 58px; height: 48px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.drawer-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-row__info { flex: 1; min-width: 0; }
.drawer-row__name { font-weight: 600; font-size: 14px; color: var(--heading); }
.drawer-row__meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.drawer-row__right { text-align: right; }
.drawer-row__line { font-weight: 700; font-size: 14px; color: var(--heading); }
.drawer-row__remove { background: none; border: none; color: #B0B0B0; font-size: 12px; cursor: pointer; padding: 2px 0; margin-top: 2px; }
.drawer-row__remove:hover { color: #C0392B; }
.drawer__foot { border-top: 1px solid var(--line-2); padding: 20px 22px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.drawer__total span { font-size: 15px; color: #555; }
.drawer__total strong { font-family: 'Plus Jakarta Sans'; font-size: 22px; color: var(--heading); }

/* ---- Toast --------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px 13px 14px; box-shadow: 0 22px 48px -16px rgba(16,22,40,.42); animation: qpToastIn .32s cubic-bezier(.2,.7,.2,1); max-width: 90vw; }
.toast__icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.toast__icon svg { width: 18px; height: 18px; }
.toast__msg { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 13.5px; color: var(--heading); }
.toast__name { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }

/* ---- Footer -------------------------------------------------------- */
.footer { background: var(--ink); color: #9DA7BC; margin-top: auto; }
.footer__inner { padding: clamp(48px, 5vw, 64px) 24px 28px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 36px; }
.footer__brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__logo { width: 40px; height: 40px; background: var(--accent); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 15px; }
/* When a real logo image is set, mirror the header: image fills the badge, no accent bg. */
.footer__logo--img { background: none; object-fit: cover; }
.footer__brand-name { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 16px; color: #fff; }
.footer__about { font-size: 14px; line-height: 1.6; color: #8A93A8; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #B9C1D4; transition: color .15s, border-color .15s, background .15s; }
.footer__social a:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.footer__heading { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.flink { font-size: 14px; color: #8A93A8; cursor: pointer; text-decoration: none; }
.flink:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #6B7488; }

/* ---- Keyframes ----------------------------------------------------- */
@keyframes qpSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes qpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qpBounce { 0%,100% { transform: scale(1); } 28% { transform: scale(1.42); } 60% { transform: scale(.9); } }
@keyframes qpToastIn { from { opacity: 0; transform: translateX(-50%) translateY(20px) scale(.96); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes qpRing { 0% { transform: translate(-50%,-50%) scale(.5); opacity: .55; } 100% { transform: translate(-50%,-50%) scale(2.6); opacity: 0; } }
@keyframes qpPinDrop { 0% { transform: translate(-50%,-100%) translateY(-22px); opacity: 0; } 60% { transform: translate(-50%,-100%) translateY(3px); } 100% { transform: translate(-50%,-100%) translateY(0); opacity: 1; } }

/* ---- Additions for the Laravel build ------------------------------- */
/* Real Google Maps embed replaces the decorative CSS map of the prototype. */
.map { background: #E6EBF1; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Hamburger button (mobile nav). Hidden on desktop. */
.nav-toggle { display: none; }

/* The hidden attribute must always win over author display rules (cart page states). */
[hidden] { display: none !important; }

/* Visible keyboard focus (a11y). */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---- Small screens ------------------------------------------------- */
@media (max-width: 720px) {
  .header__row { gap: 12px; }
  .nav-toggle { display: flex; }
  /* Cart moves out of the header into the floating button */
  .cart-fab { display: flex; }
  .header [data-cart-button] { display: none; }
  /* nav collapses into a dropdown panel under the sticky header */
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; margin-left: 0; padding: 10px 16px 14px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(16,22,40,.35);
  }
  .nav.is-open { display: flex; }
  .nav-link { width: 100%; text-align: left; padding: 12px 12px; min-height: 44px; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: var(--accent-soft); color: var(--accent); }
  .brand { margin-right: auto; }
  .detail__media { position: static; }
  /* Filters become an off-canvas drawer sliding in from the left. */
  .shop { position: relative; }
  .shop__bar { display: flex; align-items: center; justify-content: space-between;
    flex: 1 1 100%; gap: 12px; margin-bottom: 4px; }
  .shop__backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(10,14,24,.5);
    animation: qpFade .2s ease; }
  .shop__aside { position: fixed; top: 0; left: 0; bottom: 0; z-index: 90;
    width: min(84vw, 330px); margin: 0; border: none; border-radius: 0;
    padding: 16px 18px 24px; box-shadow: 0 0 44px rgba(10,14,24,.28);
    overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease; }
  .shop.is-filter-open .shop__aside { transform: none; }
  .shop__aside-head { display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .side-title--panel { font-size: 15px; margin-bottom: 0; color: var(--heading); }
  .shop__close { display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: none; background: #F4F6F9; border-radius: 9px;
    font-size: 26px; line-height: 1; color: var(--heading); cursor: pointer; }
  .topbar__group { gap: 14px; }
}

/* Cart rows on phones: thumb + info on top, controls (qty / total / remove)
   on their own full-width line so nothing overlaps. */
@media (max-width: 560px) {
  .cart-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-areas: "thumb info" "controls controls";
    gap: 12px;
    align-items: start;
  }
  .cart-thumb { grid-area: thumb; width: 72px; height: 60px; }
  .cart-row__info { grid-area: info; align-self: center; }
  .cart-row__controls { grid-area: controls; width: 100%; }
  /* push the line total + remove to the right, qty stays left */
  .cart-row__line { margin-left: auto; }
}

@media (max-width: 480px) {
  /* Horizontal-only: a `padding: 0 16px` shorthand here would zero the vertical
     padding of every element that also carries .container (.section, .page,
     .footer__inner, .about-hero, …) and crush the mobile layout. */
  .container { padding-left: 16px; padding-right: 16px; }
  /* Mobile-tuned vertical rhythm (a touch tighter than desktop's 56px). */
  .section { padding: clamp(48px, 12vw, 60px) 16px; }
  /* same fix as .section: .container above would otherwise zero the vertical padding */
  .page { padding: 24px 16px clamp(48px, 11vw, 72px); }
  .topbar__row { height: auto; padding: 6px 0; row-gap: 2px; }
  .topbar__item--pin { display: none; } /* keep the top bar one line on tiny screens */
  .header__row { gap: 10px; }
  .brand__tag { display: none; }
  .lang a, .lang button { padding: 8px 10px; }
  .icon-btn { width: 42px; height: 42px; }
  .hero__actions .btn { width: 100%; }
  .buy-row .btn { min-width: 0; }
  /* .container above zeroes the footer's vertical padding — restore it */
  .footer__inner { padding: 44px 16px 30px; }
  .footer__grid { gap: 28px; margin-bottom: 28px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  /* intrinsic grids whose 300px+ minimums would overflow a ~288px container */
  .cart-grid, .detail__grid, .about-hero,
  .about-snippet__grid { grid-template-columns: 1fr; }
}

/* Contact: single column on mobile/tablet — form first, then info cards, then map. */
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "form" "info" "map"; }
  .contact-grid .contact-grid__map { height: 300px; }
}

@media (max-width: 560px) {
  /* The trust strip is desktop/tablet-only — on phones the auto-playing
     services slider right below carries the motion instead. */
  .featurebar { display: none; }
}

@media (max-width: 400px) {
  /* Keep the brand name beside the logo on small phones. Shrink it and let
     the brand shrink/wrap (it's flex-shrink:0 by default) so logo + name +
     lang + menu still fit without pushing the row into horizontal overflow. */
  .header__row { gap: 8px; }
  .brand { gap: 9px; flex-shrink: 1; min-width: 0; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: 13.5px; white-space: normal; }
  .lang a, .lang button { padding: 8px 9px; }
}

/* ---- Utility classes (replace the prototype's JS inline styles) ----- */
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.page__title--tight { margin-bottom: 8px; }
.page__lead { font-size: 16px; color: #555; }
.page__lead--contact { margin-bottom: 32px; max-width: 560px; }
.spec-card__body { min-width: 0; }
.confirm__line { font-weight: 600; color: #1C1C1C; white-space: nowrap; }
.panel__foot { padding: 18px; }
.panel--clip { overflow: hidden; }
.breadcrumb-band { padding: 32px 24px 0; }
.stats-sec { margin: 0 auto 4px; padding: 0 24px clamp(20px, 3vw, 32px); }
.sec-head__sub--center { margin: 0 auto; }
.u-rel { position: relative; }
.detail__colors { margin-bottom: 24px; }
.shop__lead { font-size: 16px; color: #555; }

/* Motif icon positions (ported from the prototype's motif() inline styles) */
.motif__i1 { left: 3%;  top: 16%; width: 130px; height: 130px; transform: rotate(-12deg); }
.motif__i2 { left: 74%; top: 6%;  width: 160px; height: 160px; transform: rotate(8deg); }
.motif__i3 { left: 58%; top: 54%; width: 140px; height: 140px; transform: rotate(18deg); }
.motif__i4 { left: 27%; top: 60%; width: 150px; height: 150px; transform: rotate(-6deg); }
.motif__i5 { left: 88%; top: 58%; width: 120px; height: 120px; transform: rotate(-14deg); }
.motif__i6 { left: 14%; top: 42%; width: 104px; height: 104px; transform: rotate(24deg); }
.motif__i7 { left: 44%; top: 14%; width: 96px;  height: 96px;  transform: rotate(-10deg); }
.motif__i8 { left: 2%;  top: 78%; width: 90px;  height: 90px;  transform: rotate(10deg); }

/* Swatch colours (moved out of inline styles) */
/* Swatch dot colours are driven by the product's own --swatch-color (from DB hex). */

/* Contact info links inherit the card style */
.info-card__value a { color: inherit; text-decoration: none; }
.info-card__value a:hover { color: var(--accent); }
