/* SICONEX — boutique en ligne (mobile d'abord). */
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+A720-A7FF; }
:root { --g: #0e9134; --g6: #0b7a2b; --g7: #095f22; --g0: #ecf7ef; --o: #f2921a; --o6: #d97a06; --o0: #fef3e4; --ink: #17201a; --ink2: #3c463f; --mut: #6b746d; --line: #e8e6df; --bg: #faf9f5; --r: 16px; --red: #c2321f; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font: 15px/1.5 "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.ic { flex: none; stroke-width: 1.9; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--mut); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }

/* en-tête */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: 70px; }
.logo img { height: 52px; width: auto; }
.srch { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: #f3f2ed; border-radius: 12px; color: var(--mut); border: 1.5px solid transparent; }
.srch:focus-within { border-color: var(--g); background: #fff; }
.srch input { flex: 1; border: 0; background: transparent; outline: none; color: var(--ink); min-width: 0; height: 100%; }
.hbtn { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--g); color: #fff; font-weight: 750; cursor: pointer; white-space: nowrap; }
.cart-btn:hover { background: var(--g6); }
.cart-n { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--o); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; border: 2px solid #fff; }
.cart-n.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.rays { display: flex; gap: 4px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.rays::-webkit-scrollbar { display: none; }
.rays a { flex: none; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 99px; font-weight: 650; font-size: 13.5px; color: var(--ink2); }
.rays a:hover { background: #f1f0ea; }
.rays a .ic { color: var(--g); }
.rays a.ray-hot { background: var(--o0); color: #9a5300; } .rays a.ray-hot .ic { color: var(--o6); }

/* diaporama */
.hero { position: relative; height: min(68vh, 560px); min-height: 380px; overflow: hidden; background: #0f2a18; color: #fff; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease; }
.slides img.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 12, .82) 0%, rgba(6, 22, 12, .45) 48%, rgba(6, 22, 12, .05) 100%); }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 800; max-width: 620px; }
.hero p { font-size: 17px; max-width: 480px; opacity: .9; margin: 14px 0 26px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-w, .btn-o { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 750; }
.btn-w { background: var(--o); color: #fff; } .btn-w:hover { background: var(--o6); }
.btn-o { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); }
.dots { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .45); transition: width .3s; }
.dots i.on { width: 24px; background: #fff; }

/* sections */
.sec { padding: 34px 0 6px; }
.sec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec-h h2 { font-size: 24px; font-weight: 800; }
.sec-h .muted, .sec-h .lnk { margin-left: auto; }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--g7); background: none; border: 0; cursor: pointer; }
.dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dept { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: #ddd; }
.dept img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dept:hover img { transform: scale(1.05); }
.dept::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .72)); }
.dept span { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 11px; color: #fff; font-weight: 750; line-height: 1.2; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s, border-color .15s; }
.pcard:hover { border-color: #d7d4ca; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.pcard .im { height: 140px; display: grid; place-items: center; margin-bottom: 10px; }
.pcard .im img { max-height: 140px; max-width: 100%; object-fit: contain; }
.pcard .br { font-size: 12px; color: var(--mut); font-weight: 650; }
.pcard .nm { font-weight: 700; font-size: 14px; line-height: 1.3; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .sz { font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.pcard .bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pcard .pr b { font-size: 17px; font-weight: 800; display: block; line-height: 1.1; }
.pcard .pr s { font-size: 12.5px; color: var(--mut); }
.pcard .tag { position: absolute; top: 10px; left: 10px; background: var(--o); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.pcard.out { opacity: .6; }
.add { height: 40px; min-width: 40px; border-radius: 12px; border: 0; background: var(--g); color: #fff; display: grid; place-items: center; cursor: pointer; }
.add:hover { background: var(--g6); }
.step { display: flex; align-items: center; background: var(--g0); border-radius: 12px; height: 40px; }
.step button { width: 36px; height: 40px; border: 0; background: none; color: var(--g7); font-size: 20px; font-weight: 700; cursor: pointer; }
.step b { min-width: 22px; text-align: center; font-size: 15px; }

.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.store { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; }
.store img { width: 42%; object-fit: cover; aspect-ratio: 1; }
.store-b { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.store-b h3 { font-size: 16px; } .store-b p { margin: 0; color: var(--mut); font-size: 13.5px; }
.store-b a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--g7); font-size: 13.5px; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gal a { aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal a:hover img { transform: scale(1.05); }

.ftr { margin-top: 50px; background: #10301c; color: #d6e6db; padding: 40px 0 20px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.ftr-logo { height: 70px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.ftr h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.ftr a { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.ftr a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 26px; padding-top: 16px; font-size: 13px; color: #a6bdae; line-height: 1.7; }
.legal strong { color: #fff; }

/* barre panier mobile */
.bar-cart { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 35; }
.bar-cart button { width: 100%; height: 58px; border: 0; border-radius: 16px; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(14, 145, 52, .7); cursor: pointer; }

/* tiroir panier / commande */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 20, 14, .45); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.drawer.open .drawer-p { transform: none; }
.drawer-h { display: flex; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-h h3 { font-size: 19px; }
.x { margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 0; background: #f3f2ed; display: grid; place-items: center; cursor: pointer; }
.drawer-b { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.drawer-f { border-top: 1px solid var(--line); padding: 14px 20px max(16px, env(safe-area-inset-bottom)); background: #fcfbf8; }
.cl { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0eee8; }
.cl img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; border: 1px solid #f0eee8; padding: 3px; flex: none; background: #fff; }
.cl .t { flex: 1; min-width: 0; } .cl .t b { display: block; font-size: 14px; line-height: 1.3; } .cl .t span { color: var(--mut); font-size: 13px; }
.sum { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink2); }
.sum.big { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.cta { width: 100%; height: 56px; border: 0; border-radius: 14px; background: var(--g); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; margin-top: 10px; }
.cta:hover { background: var(--g6); } .cta[disabled] { background: #b9c4bc; cursor: default; }
.cta.wa { background: #25d366; } .cta.wa:hover { background: #1eb457; }
.cta.ghost { background: #f3f2ed; color: var(--ink); }
.fld { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.fld span { font-size: 13px; font-weight: 700; color: var(--ink2); }
.inp { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; outline: none; width: 100%; }
textarea.inp { height: auto; padding: 10px 14px; }
.inp:focus { border-color: var(--g); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f3f2ed; padding: 4px; border-radius: 12px; }
.seg button { height: 42px; border: 0; border-radius: 9px; background: none; font-weight: 700; cursor: pointer; color: var(--mut); display: flex; align-items: center; justify-content: center; gap: 7px; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.pays { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pays label { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 650; font-size: 14px; }
.pays input { accent-color: var(--g); }
.pays label:has(input:checked) { border-color: var(--g); background: var(--g0); }
.geo { display: flex; align-items: center; gap: 8px; height: 44px; border: 1.5px dashed var(--g); border-radius: 12px; background: var(--g0); color: var(--g7); font-weight: 700; justify-content: center; cursor: pointer; width: 100%; margin-top: 8px; }
.geo.ok { border-style: solid; }
.err { background: #fcebe8; color: var(--red); padding: 10px 12px; border-radius: 10px; font-weight: 650; margin-top: 12px; }
.empty-cart { text-align: center; color: var(--mut); padding: 50px 10px; }
.empty-cart .ic { color: #cfd5cf; margin: 0 auto 10px; }
.ok-box { text-align: center; padding: 20px 4px; }
.ok-box .ok-ic { width: 70px; height: 70px; border-radius: 50%; background: var(--g0); color: var(--g); display: grid; place-items: center; margin: 0 auto 14px; }
.ok-box h3 { font-size: 22px; } .ok-box p { color: var(--mut); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1000px) { .dept-grid { grid-template-columns: repeat(4, 1fr); } .stores { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  html { scroll-padding-top: 160px; }
  .hdr-in { flex-wrap: wrap; height: auto; padding: 10px 0 8px; gap: 10px; }
  .logo img { height: 42px; }
  .srch { order: 3; flex-basis: 100%; height: 44px; }
  .hide-s { display: none; } .cart-btn { margin-left: auto; } .cart-total { display: none; }
  .hero { height: 62vh; min-height: 400px; } .hero::after { background: linear-gradient(180deg, rgba(6, 22, 12, .25), rgba(6, 22, 12, .85)); }
  .hero-in { justify-content: flex-end; padding-bottom: 54px; } .hero p { font-size: 15px; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .dept span { font-size: 13px; left: 8px; bottom: 8px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .pcard { padding: 10px; } .pcard .im { height: 120px; } .pcard .im img { max-height: 120px; }
  .stores { grid-template-columns: 1fr; } .gal { grid-template-columns: repeat(2, 1fr); }
  .ftr-in { grid-template-columns: 1fr; }
  .sec-h h2 { font-size: 20px; }
}
@media (min-width: 701px) { .bar-cart { display: none; } }

/* ---- magasin choisi ---- */
.sp { flex: 1; }
.store-pill { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 12px 0 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; white-space: nowrap; max-width: 260px; }
.store-pill:hover { border-color: var(--g); }
.store-pill > .ic:first-child { color: var(--g); }
.store-pill span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.store-pill small { font-size: 11px; color: var(--mut); font-weight: 650; }
.store-pill b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.store-pill > .ic:last-child { color: var(--mut); }
.hero-store { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-weight: 700; font-size: 13.5px; margin-bottom: 14px; backdrop-filter: blur(6px); }
.from-store { font-size: 13px; color: var(--mut); }
.from-store b { color: var(--ink); }
.pickup-box { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--g0); display: flex; flex-direction: column; gap: 2px; }
.pickup-box b { color: var(--g7); } .pickup-box span { color: var(--ink2); font-size: 13.5px; }
.step button:disabled { opacity: .35; cursor: not-allowed; }

/* ---- choix du magasin ---- */
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pk { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.pk:hover { border-color: #cfd8cf; box-shadow: 0 10px 30px -18px rgba(14, 40, 20, .35); }
.pk.fav, .pk.near { border-color: var(--g); box-shadow: 0 0 0 1px var(--g); }
.pk-im { position: relative; aspect-ratio: 16 / 9; background: #e9efe9; overflow: hidden; }
.pk-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pk:hover .pk-im img { transform: scale(1.04); }
.pk-tag, .pk-km { position: absolute; top: 10px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 750; }
.pk-tag { left: 10px; background: var(--g); color: #fff; } .pk-km { right: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); }
.pk-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pk-b h3 { font-size: 18px; } .pk-b p { margin: 0; color: var(--mut); font-size: 13.5px; }
.pk-st { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--mut); margin-top: 4px; }
.pk-st i { width: 8px; height: 8px; border-radius: 50%; background: #b9b6ac; } .pk-st.on { color: var(--g7); } .pk-st.on i { background: var(--g); box-shadow: 0 0 0 3px var(--g0); }
.pk-a { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.pk-go { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; background: var(--g); color: #fff; font-weight: 750; }
.pk-go:hover { background: var(--g6); }
.pk-map { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--g7); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how > div { padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.how b { display: block; font-size: 16px; margin: 10px 0 4px; } .how p { margin: 0; color: var(--mut); font-size: 14px; }
.how-n { width: 32px; height: 32px; border-radius: 10px; background: var(--o0); color: var(--o6); display: grid; place-items: center; font-weight: 800; }
button.btn-o { cursor: pointer; font: inherit; font-weight: 750; }
@media (max-width: 1000px) { .pick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .pick, .how { grid-template-columns: 1fr; }
  .store-pill { order: 2; flex: 1; max-width: none; height: 44px; }
  .in-store .cart-btn { order: 2; margin-left: 0; }
  .in-store .srch { order: 3; }
}
