/* =========================================================
   Sommets & Cie — Design system e-commerce
   Ambiance chalet chaleureux + codes boutique en ligne
   ========================================================= */

:root {
  --cream: #FBF7F0;
  --cream-2: #F3EADB;
  --snow: #FFFFFF;
  --ink: #241F1B;
  --ink-soft: #6B5F55;
  --ink-mute: #9A8E82;
  --terracotta: #C75B39;
  --terracotta-dark: #A8482B;
  --amber: #E08A5B;
  --forest: #1F3D2B;
  --forest-soft: #2F5A40;
  --alpine: #2E5E7E;
  --sale: #D1342F;
  --star: #F2A33C;
  --line: #E7DCC9;
  --line-2: #EFE7D8;
  --ok: #2E8B57;
  --shadow: 0 18px 40px -20px rgba(36, 31, 27, .35);
  --shadow-sm: 0 8px 20px -12px rgba(36, 31, 27, .28);
  --shadow-xs: 0 2px 8px -4px rgba(36, 31, 27, .35);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1280px;
  --topbar-h: 38px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(40px, 6vw, 80px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head a.more { font-weight: 800; color: var(--terracotta); white-space: nowrap; }
.sec-head a.more:hover { text-decoration: underline; }

/* ===================== Boutons ===================== */
.btn { --bg: var(--terracotta); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: .96rem; background: var(--bg); color: var(--fg); border: 2px solid transparent; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-2px); background: var(--terracotta-dark); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); --fg: #fff; }
.btn--forest { --bg: var(--forest); } .btn--forest:hover { --bg: var(--forest-soft); }
.btn--light { --bg: var(--snow); --fg: var(--forest); } .btn--light:hover { --bg: #fff; }
.btn--sm { padding: 8px 15px; font-size: .84rem; }
.btn--block { width: 100%; }

/* ===================== Topbar ===================== */
.topbar { background: var(--forest); color: #fff; font-size: .82rem; font-weight: 700; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 22px; height: var(--topbar-h); }
.topbar .tb-promo { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-promo b { color: var(--amber); }
.topbar .tb-links { display: flex; gap: 20px; margin-left: auto; }
.topbar .tb-links a { opacity: .85; display: inline-flex; gap: 6px; align-items: center; }
.topbar .tb-links a:hover { opacity: 1; color: var(--amber); }

/* ===================== Header ===================== */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(251,247,240,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-main { display: flex; align-items: center; gap: 18px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--forest); white-space: nowrap; }

.search { flex: 1; max-width: 560px; margin: 0 auto; position: relative; display: flex; }
.search input { width: 100%; padding: 12px 48px 12px 18px; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: var(--snow); transition: border-color .15s; }
.search input:focus { outline: none; border-color: var(--alpine); }
.search button { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 40px; border: 0; border-radius: 50%; background: var(--terracotta); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--terracotta-dark); }

.hd-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 12px; font-weight: 700; font-size: .72rem; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--cream-2); color: var(--terracotta); }
.icon-btn .badge { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sale); color: #fff; font-size: .68rem; font-weight: 900; display: grid; place-items: center; }
.icon-btn .badge[hidden] { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 12px; background: var(--snow); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* ===================== Nav + méga-menu ===================== */
.hd-nav { border-top: 1px solid var(--line-2); background: var(--cream); }
.mega { display: flex; align-items: stretch; gap: 2px; list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw); }
.mega > li { position: relative; }
.mega > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 14px 16px; font-weight: 800; font-size: .92rem; color: var(--ink); }
.mega > li > a:hover, .mega > li.open > a { color: var(--terracotta); }
.mega > li > a[aria-current="page"] { color: var(--terracotta); box-shadow: inset 0 -3px 0 var(--terracotta); }
.mega .nav-rent { color: var(--forest); }
.mega .nav-rent::before { content: "❄"; }
.mega .nav-sale { color: var(--sale); }

.mega-panel { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--snow); border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); padding: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; z-index: 5; }
.mega > li:hover .mega-panel, .mega > li.open .mega-panel, .mega > li:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-panel a { display: block; padding: 9px 12px; border-radius: 9px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.mega-panel a:hover { background: var(--cream-2); color: var(--terracotta); }

/* ===================== Hero / promo ===================== */
.promo-hero { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 82% -10%, #BBD4E6 0%, rgba(187,212,230,0) 55%), linear-gradient(180deg, #DCEAF2 0%, var(--cream) 78%); }
.promo-hero .container { position: relative; z-index: 2; padding-top: clamp(44px, 6vw, 76px); padding-bottom: clamp(120px, 15vw, 210px); max-width: 720px; }
.promo-hero .flag { display: inline-flex; align-items: center; gap: 8px; background: var(--sale); color: #fff; font-weight: 900; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; font-size: .82rem; margin-bottom: 16px; }
.promo-hero h1 { color: var(--forest); }
.promo-hero .lead { color: #3c4a44; font-size: 1.14rem; }
.promo-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; z-index: 1; display: block; pointer-events: none; }
.snow-dot { position: absolute; top: -10px; color: #fff; opacity: .8; animation: fall linear infinite; z-index: 1; }
@keyframes fall { to { transform: translateY(120vh) rotate(360deg); } }

/* ===================== Bandeau réassurance ===================== */
.trust-bar { background: var(--snow); border-bottom: 1px solid var(--line); }
.trust-bar .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.trust { display: flex; align-items: center; gap: 12px; padding: 16px 10px; }
.trust svg { flex: none; color: var(--terracotta); }
.trust b { display: block; font-size: .92rem; }
.trust span { font-size: .8rem; color: var(--ink-soft); }
.trust + .trust { border-left: 1px solid var(--line-2); }

/* ===================== Univers (catégories) ===================== */
.unis { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.uni { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 20px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.uni:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.uni::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 32%, rgba(0,0,0,.55) 100%); }
.uni > * { position: relative; z-index: 1; }
.uni h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.uni span { font-weight: 800; opacity: .95; margin-top: 2px; }
.uni .u-ico { position: absolute; top: 18px; left: 18px; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.22); border-radius: 13px; }
.cat--ski { background: linear-gradient(145deg,#2E5E7E,#16303f); }
.cat--boots { background: linear-gradient(145deg,#1F3D2B,#0f2318); }
.cat--clothes { background: linear-gradient(145deg,#C75B39,#8f3a20); }
.cat--access { background: linear-gradient(145deg,#7a5a8f,#3f2d4c); }

/* ===================== Grille produits ===================== */
.pgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.prow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.prow > .product { scroll-snap-align: start; }

.product { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-xs); transition: transform .16s, box-shadow .16s; position: relative; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1/1; display: grid; place-items: center; position: relative; }
.product-media svg.pico { width: 44%; height: auto; opacity: .92; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-tag { font-weight: 900; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; box-shadow: var(--shadow-xs); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-new { background: var(--forest); color: #fff; }
.badge-top { background: var(--snow); color: var(--forest); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-xs); transition: color .15s, transform .15s; }
.fav:hover { transform: scale(1.08); }
.fav.on { color: var(--sale); }
.fav.on svg { fill: var(--sale); }

.product-body { padding: 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.p-brand { font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--alpine); }
.product-body h3 { font-family: var(--sans); font-weight: 800; font-size: .98rem; line-height: 1.25; margin: 0; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--ink-soft); }
.stars { --p: 100%; display: inline-block; font-size: .85rem; line-height: 1; background: linear-gradient(90deg, var(--star) var(--p), #D9D0C2 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 1px; }
.swatches { display: flex; gap: 5px; margin-top: 2px; }
.sw { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price { font-weight: 900; font-size: 1.18rem; color: var(--ink); }
.price.is-sale { color: var(--sale); }
.price-old { font-size: .86rem; color: var(--ink-mute); text-decoration: line-through; }
.price-off { font-size: .72rem; font-weight: 900; color: var(--sale); background: #FBE6E5; padding: 2px 7px; border-radius: 6px; }
.stock { font-size: .76rem; color: var(--ok); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.p-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.p-actions .btn { flex: 1; }

.pm-a { background: linear-gradient(145deg,#DCEAF2,#B9D2E0); }
.pm-b { background: linear-gradient(145deg,#F1E3D4,#E4C7A8); }
.pm-c { background: linear-gradient(145deg,#DCE8DF,#BCD6C4); }
.pm-d { background: linear-gradient(145deg,#EAE0EC,#D2BEDA); }

/* ===================== Page catégorie (filtres + grille) ===================== */
.page-banner { background: linear-gradient(180deg,#E4EEF4,var(--cream)); border-bottom: 1px solid var(--line); padding: clamp(30px,4vw,56px) 0; }
.page-banner .crumb { font-weight: 700; color: var(--ink-soft); font-size: .88rem; margin-bottom: 8px; }
.page-banner .crumb a:hover { color: var(--terracotta); }
.page-banner h1 { color: var(--forest); margin-bottom: .2em; }

.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 130px; background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-xs); }
.filters h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.fgroup { padding: 14px 0; border-top: 1px solid var(--line-2); }
.fgroup:first-of-type { border-top: 0; padding-top: 0; }
.fopt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .9rem; font-weight: 600; cursor: pointer; }
.fopt input { width: 17px; height: 17px; accent-color: var(--terracotta); cursor: pointer; }
.fopt .count { margin-left: auto; color: var(--ink-mute); font-size: .8rem; font-weight: 700; }
.filters .reset { margin-top: 12px; width: 100%; background: none; border: 2px solid var(--line); border-radius: 999px; padding: 9px; font-weight: 800; color: var(--ink-soft); cursor: pointer; }
.filters .reset:hover { border-color: var(--terracotta); color: var(--terracotta); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count-res { font-weight: 800; color: var(--ink-soft); }
.toolbar .count-res b { color: var(--ink); }
.toolbar label { font-weight: 700; font-size: .88rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.toolbar select { font: inherit; font-weight: 700; padding: 8px 12px; border: 2px solid var(--line); border-radius: 10px; background: var(--snow); cursor: pointer; }
.filters-toggle { display: none; }
.empty { background: var(--snow); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--ink-soft); }

/* ===================== Bandeau location ===================== */
.rent-band { background: linear-gradient(135deg,var(--forest),var(--forest-soft)); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px,4vw,52px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.rent-band h2 { color: #fff; } .rent-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.rent-band .eyebrow { color: var(--amber); }
.rent-band-cta { display: flex; flex-direction: column; gap: 11px; }
.rent-steps { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; padding: 0; }
.rent-steps li { list-style: none; background: rgba(255,255,255,.12); padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: .83rem; }

/* ===================== Marques ===================== */
.brands { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.brand-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--snow); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--forest); box-shadow: var(--shadow-xs); }

/* ===================== Newsletter ===================== */
.news { background: linear-gradient(135deg,#F1E3D4,#E4C7A8); border-radius: var(--radius-lg); padding: clamp(32px,5vw,56px); text-align: center; }
.news h2 { color: var(--forest); } .news p { color: #5a4a3c; max-width: 50ch; margin-inline: auto; }
.news form { display: flex; gap: 10px; max-width: 460px; margin: 22px auto 0; }
.news input { flex: 1; padding: 13px 18px; border: 2px solid rgba(31,61,43,.18); border-radius: 999px; font: inherit; background: rgba(255,255,255,.7); }
.news input:focus { outline: none; border-color: var(--forest); background: #fff; }
.news .form-note { margin-top: 12px; font-weight: 700; color: var(--forest); display: none; }
.news .form-note.show { display: block; }

/* ===================== Réassurance cartes ===================== */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-xs); }
.feature .ico { width: 50px; height: 50px; display: grid; place-items: center; background: var(--cream-2); color: var(--terracotta); border-radius: 13px; margin-bottom: 12px; }
.feature p { margin: 0; color: var(--ink-soft); }

/* ===================== Location page ===================== */
.rent-hero { background: linear-gradient(135deg,var(--forest),#14281c); color: #fff; padding: clamp(50px,7vw,100px) 0; }
.rent-hero h1 { color: #fff; } .rent-hero .lead { color: rgba(255,255,255,.85); }
.rent-hero .hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 24px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: s; }
.step { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-xs); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--terracotta); color: #fff; font-weight: 900; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-soft); }
.cta-panel { text-align: center; background: linear-gradient(135deg,#F1E3D4,#E4C7A8); border-radius: var(--radius-lg); padding: clamp(36px,5vw,68px); }
.cta-panel h2 { color: var(--forest); } .cta-panel p { color: #5a4a3c; max-width: 52ch; margin-inline: auto; }

/* ===================== Formulaires auth ===================== */
.auth-wrap { min-height: 72vh; display: grid; place-items: center; padding: 48px 22px; background: radial-gradient(100% 80% at 50% -20%,#DCEAF2,rgba(220,234,242,0) 60%), var(--cream); }
.auth-card { width: 100%; max-width: 440px; background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.8rem; color: var(--forest); margin-bottom: .2em; }
.auth-card .sub { color: var(--ink-soft); margin-bottom: 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 800; font-size: .86rem; margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 11px; font: inherit; background: var(--cream); transition: border-color .15s, background .15s; }
.field input:focus { outline: none; border-color: var(--alpine); background: #fff; }
.field .hint { font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; }
.form-note { margin-top: 15px; padding: 12px 14px; border-radius: 11px; background: var(--cream-2); color: var(--ink-soft); font-size: .85rem; display: none; }
.form-note.show { display: block; }
.auth-foot { margin-top: 20px; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.auth-foot a { color: var(--terracotta); font-weight: 800; }
.auth-aside { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-soft); font-size: .8rem; }
.auth-aside::before, .auth-aside::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ===================== Panier (drawer) ===================== */
.overlay { position: fixed; inset: 0; background: rgba(36,31,27,.45); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 90; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--cream); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s ease; box-shadow: var(--shadow); }
.drawer.show { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); background: var(--snow); }
.drawer-head h3 { margin: 0; font-size: 1.3rem; color: var(--forest); }
.drawer-close { width: 40px; height: 40px; border: 0; background: var(--cream-2); border-radius: 10px; cursor: pointer; font-size: 1.1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 40px 10px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.cart-item .ci-img { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; }
.cart-item .ci-img svg { width: 60%; }
.cart-item .ci-name { font-weight: 800; font-size: .9rem; line-height: 1.2; }
.cart-item .ci-sub { font-size: .8rem; color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); background: var(--snow); border-radius: 7px; cursor: pointer; font-weight: 900; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: .85rem; }
.ci-price { font-weight: 900; }
.ci-remove { display: block; margin-top: 6px; background: none; border: 0; color: var(--ink-mute); font-size: .76rem; cursor: pointer; text-decoration: underline; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); background: var(--snow); }
.cart-total { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.15rem; margin-bottom: 12px; }
.drawer-foot .note { font-size: .78rem; color: var(--ink-soft); margin: 10px 0 0; text-align: center; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--forest); color: #fff; font-weight: 800; padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow); z-index: 120; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ===================== Footer ===================== */
.site-footer { background: var(--forest); color: rgba(255,255,255,.78); padding: clamp(44px,5vw,68px) 0 26px; margin-top: clamp(44px,6vw,88px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 36px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 13px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--amber); }
.site-footer .intro { margin: 13px 0 0; max-width: 34ch; }
.pay { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pay span { background: rgba(255,255,255,.12); border-radius: 7px; padding: 5px 10px; font-size: .72rem; font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; }

/* ===================== Mobile drawer nav ===================== */
.mnav { position: fixed; top: 0; left: 0; bottom: 0; width: min(330px,88vw); background: var(--cream); z-index: 100; transform: translateX(-100%); transition: transform .26s; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mnav.show { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mnav-body { padding: 10px 14px; overflow-y: auto; }
.mnav-body a { display: block; padding: 13px 12px; border-radius: 11px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mnav-body a:hover { background: var(--cream-2); color: var(--terracotta); }

/* ===================== Responsive ===================== */
@media (max-width: 1040px) {
  .pgrid { grid-template-columns: repeat(3,1fr); }
  .unis { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hd-nav { display: none; }
  .burger { display: inline-flex; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .hd-main { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .brand { margin-right: auto; }
  .topbar .tb-links { display: none; }
  .topbar .container { justify-content: center; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.show { display: block; }
  .filters-toggle { display: inline-flex; }
  .trust-bar .container { grid-template-columns: repeat(2,1fr); }
  .trust:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rent-band { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pgrid, .features, .steps { grid-template-columns: 1fr 1fr; }
  .unis { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .trust-bar .container { grid-template-columns: 1fr; }
  .trust + .trust { border-left: 0; border-top: 1px solid var(--line-2); }
  .news form { flex-direction: column; }
}
@media (max-width: 420px) {
  .pgrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }
