
:root{
  --black:#0a0a0a; --white:#fff; --ink-2:#3a3a3a; --surface:#fff; --fill:#0a0a0a; --on-fill:#fff; --page:#e9e9e9; --backrow:rgba(255,255,255,.94); --topbg:rgba(255,255,255,.97);
  --grey-line:#ececec; --grey-soft:#f5f5f5; --grey-text:#7b7b7b;
  --gold:#f2b705; --red:#ff2d55; --green:#1e9e5a; --blue:#2f8fe0;
  --nav-h:64px; --r:16px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;background:var(--page);color:var(--black);-webkit-font-smoothing:antialiased}
body{display:flex;justify-content:center}
button{font:inherit;color:inherit;cursor:pointer;border:none;background:none}
a{color:inherit;text-decoration:none}
input,select,textarea{font:inherit;color:inherit}
img,video{display:block;max-width:100%}
#app{width:100%;max-width:480px;height:100dvh;background:var(--white);position:relative;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.12)}
#view{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;overscroll-behavior:contain;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}
#view.full{overflow:hidden;padding-bottom:0}
.view-enter{animation:viewIn .28s ease both}
@keyframes viewIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- Bottom nav ---------- */
.bottom-nav{position:absolute;left:0;right:0;bottom:0;z-index:50;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#000;display:flex;align-items:stretch}
.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#8d8d8d;transition:color .2s,transform .15s}
.nav-item:active{transform:scale(.92)}
.nav-item svg{width:22px;height:22px}
.nav-item span{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}
.nav-item.active{color:#ffb066}
.nav-create .plus{width:44px;height:30px;border-radius:10px;background:linear-gradient(90deg,#25f4ee 0 30%,#fe2c55 70% 100%);display:flex;align-items:center;justify-content:center;position:relative}
.nav-create .plus i{position:absolute;inset:2px 3px;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}
.nav-create .plus svg{width:16px;height:16px;color:#000}
.nav-create span{display:none}

/* ---------- Top bar ---------- */
.topbar{position:sticky;top:0;z-index:25;background:var(--topbg);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:12px 16px 8px;border-bottom:1px solid var(--grey-line)}
.stickybar{background:var(--surface);padding:8px 16px 4px}
.tb-actions{display:flex;gap:8px;align-items:center}
.topbar-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.brand{display:flex;align-items:center;gap:8px}
.brand-mark{width:30px;height:30px;border-radius:9px;background:var(--fill);color:var(--on-fill);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.brand-name{font-size:19px;font-weight:800;letter-spacing:-.4px}
.brand-name em{font-style:normal;color:var(--gold)}
.icon-btn{width:38px;height:38px;border-radius:50%;background:var(--grey-soft);display:flex;align-items:center;justify-content:center;position:relative;transition:background .2s,transform .15s}
.icon-btn:active{transform:scale(.92)}
.icon-btn svg{width:18px;height:18px}
.badge{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--red);color:#fff;font-size:9px;font-weight:800;display:flex;align-items:center;justify-content:center}
.search{display:flex;align-items:center;gap:8px;background:var(--grey-soft);border-radius:999px;padding:10px 14px}
.search input{border:none;background:none;outline:none;width:100%;font-size:14px}
.chips{display:flex;gap:8px;overflow-x:auto;padding:10px 0 4px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;padding:7px 15px;border-radius:999px;background:var(--grey-soft);font-size:12.5px;font-weight:700;transition:all .2s}
.chip.active{background:var(--fill);color:var(--on-fill)}

/* ---------- Stories strip ---------- */
.stories{display:flex;gap:14px;overflow-x:auto;padding:14px 16px 12px;scrollbar-width:none}
.stories::-webkit-scrollbar{display:none}
.story{flex:0 0 auto;width:66px;display:flex;flex-direction:column;align-items:center;gap:6px;transition:transform .15s}
.story:active{transform:scale(.94)}
.ring{width:62px;height:62px;border-radius:50%;padding:2.5px;background:conic-gradient(from 200deg,#f2b705,#fe2c55,#8a3ffc,#25f4ee,#f2b705);transition:transform .25s}
.story.active .ring{transform:scale(1.08)}
.ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2.5px solid #fff;background:var(--grey-soft)}
.story span{font-size:10.5px;font-weight:600;max-width:66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.story.active span{font-weight:800}

/* ---------- Grid + cards ---------- */
.section-head{display:flex;align-items:baseline;justify-content:space-between;padding:6px 16px 10px}
.section-title{font-size:16.5px;font-weight:800;letter-spacing:-.3px}
.section-title .count{font-weight:500;color:var(--grey-text);font-size:12.5px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px 20px}
.card{background:var(--surface);border-radius:var(--r);overflow:hidden;border:1px solid var(--grey-line);cursor:pointer;transition:transform .2s,box-shadow .2s;animation:viewIn .35s ease both}
.card:active{transform:scale(.985)}
.card-shop{display:flex;align-items:center;gap:7px;padding:8px 9px}
.card-shop img{width:24px;height:24px;border-radius:50%;object-fit:cover;background:var(--grey-soft)}
.card-shop b{font-size:11.5px;font-weight:800;display:flex;align-items:center;gap:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-shop small{display:block;font-size:9.5px;color:var(--grey-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-shop .meta{min-width:0}
.collage{display:grid;grid-template-columns:1.35fr 1fr;gap:2px;aspect-ratio:1/1.22;background:var(--grey-line)}
.collage > *{width:100%;height:100%;object-fit:cover;background:var(--grey-soft)}
.collage .one{grid-column:1/-1}
.mediabox{position:relative;overflow:hidden}
.mediabox .play{position:absolute;right:6px;bottom:6px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center}
.mediabox .play svg{width:10px;height:10px;color:#fff}
.mediabox img,.mediabox video{width:100%;height:100%;object-fit:cover}
.card-info{padding:8px 10px 10px;display:flex;flex-direction:column;gap:5px}
.card-name{font-size:12.5px;font-weight:400;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.stars{display:inline-flex;gap:1px}
.stars svg{width:11px;height:11px}
.rate-line{display:flex;align-items:center;gap:4px;font-size:10.5px}
.rate-line b{font-weight:800}
.rate-line small{color:var(--grey-text)}
.stats{display:flex;gap:12px;font-size:11px;font-weight:700;color:var(--ink-2)}
.stats span{display:flex;align-items:center;gap:4px}
.stats svg{width:13px;height:13px}
.verified{width:12px;height:12px;flex:0 0 auto}

/* ---------- Generic ---------- */
.back-row{display:flex;align-items:center;gap:10px;padding:12px 16px 4px;position:sticky;top:0;z-index:15;background:var(--backrow);backdrop-filter:blur(10px)}
.back-btn{width:36px;height:36px;border-radius:50%;background:var(--grey-soft);display:flex;align-items:center;justify-content:center}
.back-btn svg{width:16px;height:16px}
.back-label{font-size:14px;font-weight:800}
.page-simple{padding:60px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.page-simple .glyph{width:68px;height:68px;border-radius:50%;background:var(--grey-soft);display:flex;align-items:center;justify-content:center;font-size:28px}
.page-simple h2{font-size:18px;font-weight:800}
.page-simple p{font-size:13px;color:var(--grey-text);line-height:1.5;max-width:290px}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px;border-radius:14px;background:var(--fill);color:var(--on-fill);font-weight:800;font-size:14px;transition:transform .15s,opacity .2s}
.btn:active{transform:scale(.97)}
.btn:disabled{opacity:.5}
.btn.ghost{background:var(--surface);color:var(--black);border:1px solid var(--grey-line);font-weight:700}
.btn.sm{width:auto;padding:9px 16px;font-size:12px;border-radius:999px}
.btn.accent{background:linear-gradient(90deg,#fe2c55,#ff6a3d)}
.form{padding:8px 16px 28px}
.form h1{font-size:21px;font-weight:800;margin:6px 0 4px}
.form .sub{font-size:12.5px;color:var(--grey-text);margin-bottom:18px;line-height:1.5}
.field{margin-bottom:14px}
.field label{display:block;font-size:11px;font-weight:800;color:var(--grey-text);margin-bottom:6px;text-transform:uppercase;letter-spacing:.3px}
.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid var(--grey-line);border-radius:12px;font-size:14px;background:var(--surface);outline:none;transition:border-color .2s,box-shadow .2s}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--black);box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.field textarea{resize:vertical;min-height:84px}
.row{display:flex;gap:10px}.row .field{flex:1}
.alert{padding:10px 12px;border-radius:12px;font-size:12.5px;font-weight:600;margin-bottom:14px}
.alert.err{background:#fdecee;color:#c0213f}
.switch{text-align:center;font-size:12.5px;color:var(--grey-text);margin-top:16px}
.switch a{color:var(--black);font-weight:800;text-decoration:underline;cursor:pointer}
.hint{font-size:11.5px;color:var(--grey-text);margin-top:6px}

/* ---------- Detail ---------- */
.gallery{margin:10px 16px 0}
.gal-main{width:100%;aspect-ratio:1/1.05;border-radius:20px;overflow:hidden;background:#000;position:relative}
.gal-main img,.gal-main video{width:100%;height:100%;object-fit:cover}
.gal-count{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px}
.thumbs{display:flex;gap:8px;margin-top:8px;overflow-x:auto;scrollbar-width:none}
.thumbs::-webkit-scrollbar{display:none}
.thumb{flex:0 0 auto;width:58px;height:58px;border-radius:12px;overflow:hidden;border:2px solid transparent;opacity:.65;transition:all .2s;position:relative}
.thumb.active{border-color:var(--black);opacity:1}
.thumb img,.thumb video{width:100%;height:100%;object-fit:cover}
.shopbar{display:flex;align-items:center;gap:10px;margin:14px 16px 0;padding:12px;background:var(--grey-soft);border-radius:16px;cursor:pointer}
.shopbar img{width:42px;height:42px;border-radius:50%;object-fit:cover}
.shopbar .meta{flex:1;min-width:0}
.shopbar b{font-size:13.5px;display:flex;align-items:center;gap:4px}
.shopbar small{font-size:11px;color:var(--grey-text);display:flex;align-items:center;gap:3px}
.detail-body{padding:16px 16px 4px}
.detail-name{font-size:20px;font-weight:800;line-height:1.25;letter-spacing:-.3px}
.price-row{display:flex;align-items:baseline;gap:10px;margin:12px 0}
.price{font-size:24px;font-weight:800}
.old{font-size:14px;color:var(--grey-text);text-decoration:line-through}
.disc{font-size:11px;font-weight:800;color:#c0213f;background:#fdecee;padding:3px 8px;border-radius:6px}
.block{margin:18px 0}
.block h3{font-size:13.5px;font-weight:800;margin-bottom:8px}
.desc{font-size:13.5px;line-height:1.65;color:var(--ink-2);white-space:pre-line}
.spec{border:1px solid var(--grey-line);border-radius:14px;overflow:hidden}
.spec div{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;font-size:12.5px;border-bottom:1px solid var(--grey-line)}
.spec div:last-child{border-bottom:none}
.spec .k{color:var(--grey-text);font-weight:600}.spec .v{font-weight:700;text-align:right}
.bigstats{display:flex;gap:8px;margin:12px 0 0}
.bigstat{flex:1;background:var(--grey-soft);border-radius:14px;padding:10px;text-align:center;cursor:pointer}
.bigstat b{display:block;font-size:17px;font-weight:800}
.bigstat small{font-size:10.5px;color:var(--grey-text);font-weight:600}
.ratebox{margin:0 16px 16px;padding:14px;border:1px solid var(--grey-line);border-radius:16px}
.ratebox h3{font-size:13px;font-weight:800;margin-bottom:8px}
.picker{display:flex;gap:6px;margin-bottom:10px}
.picker button svg{width:28px;height:28px;transition:transform .15s}
.picker button:active svg{transform:scale(1.25)}
.actions{display:flex;gap:10px;padding:4px 16px 18px}
.qty{display:flex;align-items:center;gap:14px;border:1px solid var(--grey-line);border-radius:14px;padding:0 14px}
.qty button{font-size:18px;font-weight:800;padding:10px 2px}

/* ---------- FEED (TikTok) ---------- */
.feed{height:100%;overflow-y:scroll;scroll-snap-type:y mandatory;scrollbar-width:none;background:#000;overscroll-behavior:contain}
.feed::-webkit-scrollbar{display:none}
.slide{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#000;color:#fff}
.slide .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide .bg.blur{filter:blur(28px) brightness(.5);transform:scale(1.2)}
.slide .main{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.slide img.main{object-fit:cover}
.slide img.bg.blur{display:none}
.shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45) 0,transparent 22%,transparent 50%,rgba(0,0,0,.82) 100%);pointer-events:none}
.feed-top{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 14px 0}
.feed-top .title{font-weight:800;font-size:16px;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.glass{width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.35);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;position:relative}
.glass svg{width:19px;height:19px}
.rail{position:absolute;right:10px;bottom:calc(var(--nav-h) + 24px);display:flex;flex-direction:column;align-items:center;gap:18px;z-index:5}
.rail-btn{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11.5px;font-weight:800;text-shadow:0 1px 5px rgba(0,0,0,.6);transition:transform .15s}
.rail-btn:active{transform:scale(.88)}
.rail-btn svg{width:32px;height:32px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.5))}
.rail-btn.liked svg{color:var(--red);animation:pop .35s}
@keyframes pop{0%{transform:scale(.6)}60%{transform:scale(1.3)}100%{transform:scale(1)}}
.caption{position:absolute;left:14px;right:78px;bottom:calc(var(--nav-h) + 18px);z-index:5;display:flex;flex-direction:column;gap:9px}
.caption .author{font-weight:800;font-size:15px;text-shadow:0 1px 5px rgba(0,0,0,.6)}
.caption .text{font-size:13.5px;line-height:1.4;text-shadow:0 1px 4px rgba(0,0,0,.6);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.prod-chip{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.16);backdrop-filter:blur(12px);border-radius:14px;padding:7px 10px 7px 7px;width:fit-content;max-width:100%;border:1px solid rgba(255,255,255,.18)}
.prod-chip img{width:38px;height:38px;border-radius:10px;object-fit:cover;flex:0 0 auto}
.prod-chip .t{min-width:0}
.prod-chip b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prod-chip small{font-size:10.5px;opacity:.85}
.heart-burst{position:absolute;left:50%;top:50%;width:110px;height:110px;margin:-55px 0 0 -55px;z-index:6;color:var(--red);pointer-events:none;animation:burst .8s ease forwards}
.heart-burst svg{width:100%;height:100%;filter:drop-shadow(0 4px 12px rgba(0,0,0,.4))}
@keyframes burst{0%{transform:scale(.3);opacity:0}25%{transform:scale(1.15);opacity:1}100%{transform:scale(1.4) translateY(-30px);opacity:0}}

/* ---------- SHOPS (TikTok) ---------- */
.shops-wrap{height:100%;display:flex;flex-direction:column;background:#000}
.shops-strip{flex:0 0 auto;display:flex;gap:14px;overflow-x:auto;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#000;scrollbar-width:none;z-index:6}
.shops-strip::-webkit-scrollbar{display:none}
.shops-strip .story span{color:#bbb}.shops-strip .story.active span{color:#fff}
.shops-strip .ring img{border-color:#000}
.shops-feed{flex:1;min-height:0}
.shop-info-hint{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.18);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);padding:7px 13px;border-radius:999px;font-size:11.5px;font-weight:800;width:fit-content}
.shop-title{font-size:26px;font-weight:800;letter-spacing:-.5px;display:flex;align-items:center;gap:8px;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.shop-title .verified{width:20px;height:20px}
.shop-loc{font-size:12.5px;display:flex;align-items:center;gap:5px;opacity:.92;text-shadow:0 1px 5px rgba(0,0,0,.6)}
.shop-loc svg{width:13px;height:13px}
.shop-caption{left:16px;right:16px}

/* ---------- Sheet ---------- */
.overlay{position:absolute;inset:0;z-index:80;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .25s}
.overlay.open{opacity:1;pointer-events:auto}
.sheet{position:absolute;left:0;right:0;bottom:0;z-index:90;background:var(--surface);border-radius:24px 24px 0 0;height:78%;display:flex;flex-direction:column;transform:translateY(105%);transition:transform .34s cubic-bezier(.2,.8,.2,1);color:var(--black)}
.sheet.open{transform:none}
.sheet-grab{width:40px;height:4px;border-radius:2px;background:#d6d6d6;margin:10px auto 6px}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:4px 16px 10px;border-bottom:1px solid var(--grey-line);font-weight:800;font-size:14px}
.sheet-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.sheet-foot{padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--grey-line);display:flex;gap:8px}
.sheet-foot input{flex:1;border:1px solid var(--grey-line);border-radius:999px;padding:11px 14px;font-size:14px;outline:none}
.comment{display:flex;gap:10px;padding:10px 16px}
.avatar{width:34px;height:34px;border-radius:50%;background:var(--fill);color:var(--on-fill);font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.comment b{font-size:12.5px}.comment small{color:var(--grey-text);font-size:10.5px;margin-left:6px}
.comment p{font-size:13.5px;line-height:1.4;margin-top:2px;word-break:break-word}
.shop-sheet-hero{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 16px 14px;text-align:center}
.shop-sheet-hero img{width:78px;height:78px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px #fff,0 0 0 4px var(--grey-line)}
.contact{margin:0 16px 14px;border:1px solid var(--grey-line);border-radius:16px;overflow:hidden}
.contact a,.contact div{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--grey-line);font-size:13px;font-weight:700}
.contact > :last-child{border-bottom:none}
.contact .ic{width:34px;height:34px;border-radius:10px;background:var(--grey-soft);display:flex;align-items:center;justify-content:center}
.contact .ic svg{width:15px;height:15px}
.contact small{display:block;font-size:10px;color:var(--grey-text);font-weight:700;text-transform:uppercase;letter-spacing:.3px}

/* ---------- Create ---------- */
.pick{display:flex;align-items:center;gap:12px;padding:10px 16px;cursor:pointer;transition:background .15s}
.pick:active{background:var(--grey-soft)}
.pick img,.pick video{width:54px;height:54px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.pick b{font-size:13.5px;display:block}.pick small{font-size:11.5px;color:var(--grey-text)}
.seg{display:flex;background:var(--grey-soft);border-radius:12px;padding:3px;margin-bottom:12px}
.seg button{flex:1;padding:9px;border-radius:10px;font-size:12.5px;font-weight:800;color:var(--grey-text);transition:all .2s}
.seg button.on{background:var(--surface);color:var(--black);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.preview{aspect-ratio:9/12;border-radius:18px;overflow:hidden;background:#000;margin-bottom:12px;display:flex;align-items:center;justify-content:center;color:#777;font-size:13px}
.preview img,.preview video{width:100%;height:100%;object-fit:cover}
.dropzone{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px;border:2px dashed #d5d5d5;border-radius:16px;text-align:center;font-size:12.5px;color:var(--grey-text);font-weight:700;cursor:pointer;margin-bottom:12px;transition:border-color .2s,background .2s}
.dropzone:active{background:var(--grey-soft)}
.media-slot{border:1px solid var(--grey-line);border-radius:14px;padding:10px;margin-bottom:10px;display:flex;gap:10px;align-items:center}
.media-slot .thumb-s{width:52px;height:52px;border-radius:10px;overflow:hidden;background:var(--grey-soft);flex:0 0 auto;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:11px}
.media-slot .thumb-s img,.media-slot .thumb-s video{width:100%;height:100%;object-fit:cover}
.media-slot input[type=url],.media-slot input[type=text]{flex:1;min-width:0;border:1px solid var(--grey-line);border-radius:10px;padding:9px 10px;font-size:12.5px;outline:none}
.media-slot .mini{font-size:11px;font-weight:800;padding:7px 10px;border-radius:9px;background:var(--grey-soft);white-space:nowrap}

/* ---------- Account / orders / admin ---------- */
.acct-head{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 16px 20px;border-bottom:8px solid var(--grey-soft)}
.acct-avatar{width:78px;height:78px;border-radius:50%;background:linear-gradient(135deg,#000,#444);color:#fff;font-size:26px;font-weight:800;display:flex;align-items:center;justify-content:center}
.tag{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:var(--gold);font-size:9.5px;font-weight:800;vertical-align:middle}
.rowlink{display:flex;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid var(--grey-line);cursor:pointer;width:100%;text-align:left}
.rowlink:active{background:var(--grey-soft)}
.rowlink .ic{width:36px;height:36px;border-radius:10px;background:var(--grey-soft);display:flex;align-items:center;justify-content:center;font-size:17px}
.rowlink .lb{flex:1;font-size:13.5px;font-weight:700}.rowlink .sb{font-size:11.5px;color:var(--grey-text);font-weight:500;display:block}
.cart-item{display:flex;gap:12px;padding:14px 16px;border-bottom:1px solid var(--grey-line)}
.cart-item .mb{width:68px;height:68px;border-radius:12px;overflow:hidden;flex:0 0 auto}
.cart-item .mb img,.cart-item .mb video{width:100%;height:100%;object-fit:cover}
.sum{padding:16px}
.sum div{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px;color:var(--grey-text)}
.sum .tot{color:var(--black);font-weight:800;font-size:16px;margin-top:6px}
.order{margin:0 16px 14px;border:1px solid var(--grey-line);border-radius:16px;overflow:hidden}
.order-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:var(--grey-soft)}
.order-head b{font-size:12.5px}.order-head small{display:block;font-size:10.5px;color:var(--grey-text)}
.status{font-size:10px;font-weight:800;padding:3px 9px;border-radius:999px;background:#fff3cd;color:#8a6d00}
.status.ok{background:#e6f7ee;color:#1e8449}.status.ko{background:#fdecee;color:#c0213f}
.oline{padding:8px 14px;border-bottom:1px solid var(--grey-line);font-size:12.5px}
.oline:last-of-type{border-bottom:none}
.oline .t{display:flex;justify-content:space-between;font-weight:700}
.oline .s{font-size:10.5px;color:var(--grey-text);margin-top:2px;font-weight:600}
.order-total{display:flex;justify-content:space-between;padding:11px 14px;font-weight:800;font-size:13px;border-top:1px solid var(--grey-line)}
.order select{margin:0 14px 14px;width:calc(100% - 28px);padding:10px;border:1px solid var(--grey-line);border-radius:12px;font-weight:700;font-size:12.5px;background:var(--surface)}
.admin-card{display:flex;align-items:center;gap:14px;margin:0 16px 12px;padding:16px;border:1px solid var(--grey-line);border-radius:16px;cursor:pointer;width:calc(100% - 32px);text-align:left}
.admin-card .ic{width:44px;height:44px;border-radius:13px;background:var(--fill);color:var(--on-fill);display:flex;align-items:center;justify-content:center;font-size:19px}
.admin-card b{display:block;font-size:14px}.admin-card small{font-size:11.5px;color:var(--grey-text)}

/* ---------- Toast & loader ---------- */
.toast{position:absolute;left:50%;top:calc(14px + env(safe-area-inset-top));transform:translate(-50%,-20px);background:#111;color:#fff;padding:11px 18px;border-radius:999px;font-size:13px;font-weight:700;z-index:200;opacity:0;pointer-events:none;transition:all .3s;max-width:90%;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.err{background:#c0213f}
.skeleton{background:linear-gradient(90deg,#efefef 25%,#f7f7f7 37%,#efefef 63%);background-size:400% 100%;animation:sk 1.3s infinite;border-radius:14px}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.spinner{width:28px;height:28px;border:3px solid #ddd;border-top-color:var(--black);border-radius:50%;animation:spin .8s linear infinite;margin:40px auto}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* ---------- Marque, CREER, enregistrer ---------- */
.wm{display:inline-flex;align-items:center;background:#000;border-radius:999px;padding:6px 14px 6px 12px;height:36px}
.wm img{height:20px;width:auto}
.nav-create{position:relative;overflow:visible}
.nav-create .plus{width:58px;height:58px;border-radius:50%;margin-top:-26px;background:radial-gradient(circle at 30% 25%,#ffb347,#ff7a00 55%,#e85d00);border:4px solid #000;box-shadow:0 8px 18px rgba(255,122,0,.55),0 2px 0 rgba(255,255,255,.25) inset;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s}
.nav-create:active .plus{transform:scale(.92)}
.nav-create.active .plus{transform:translateY(-2px) scale(1.04);box-shadow:0 12px 24px rgba(255,122,0,.7)}
.nav-create .plus i{position:static;inset:auto;background:none;border-radius:0;display:flex}
.nav-create .plus svg{width:28px;height:28px;color:#fff;margin:2px 3px 0 0;filter:drop-shadow(0 1px 2px rgba(120,40,0,.45))}
.save-btn{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10.5px;font-weight:800;color:var(--ink-2);padding:4px 2px;min-width:34px;transition:transform .15s}
.save-btn svg{width:22px;height:22px;transition:transform .2s}
.save-btn:active svg{transform:scale(1.3)}
.save-btn.on{color:#ff7a00}
.save-btn.on svg{animation:pop .35s}
.card{display:flex;flex-direction:column}
.card-a{display:block}
.card-info{flex-direction:row;align-items:stretch;justify-content:space-between;gap:6px}
.card-txt{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.card-info .save-btn{align-self:center}
.gal-main .save-btn.float{position:absolute;right:10px;top:50%;transform:translateY(-50%);z-index:3;width:48px;padding:9px 0;border-radius:24px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);box-shadow:0 4px 16px rgba(0,0,0,.3);color:#111}
.gal-main .save-btn.float.on{color:#ff7a00}
.mine-pill{font-size:10.5px;font-weight:800;background:#fff4e5;color:#b45f00;padding:3px 9px;border-radius:999px;margin-left:6px}
.myrate{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:10px}
.myrate .stars svg{width:20px;height:20px}
.cta-pub{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:13px;border-radius:14px;background:linear-gradient(90deg,#ff7a00,#ff4d2e);color:#fff;font-weight:800;font-size:14px;box-shadow:0 6px 16px rgba(255,100,0,.35);margin:4px 0 2px;transition:transform .15s}
.cta-pub:active{transform:scale(.97)}
.cta-pub svg{width:18px;height:18px}
.pubcard{display:flex;gap:14px;align-items:center;margin:0 16px 18px;padding:14px;border-radius:20px;background:linear-gradient(135deg,#111,#2a2a2a);color:#fff;box-shadow:0 10px 26px rgba(0,0,0,.25);position:relative;overflow:hidden}
.pubcard:before{content:"";position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(255,122,0,.55),transparent 70%)}
.pubcard .pv{width:84px;height:104px;border-radius:14px;overflow:hidden;flex:0 0 auto;position:relative;box-shadow:0 6px 16px rgba(0,0,0,.4);transform:rotate(-3deg)}
.pubcard .pv img,.pubcard .pv video{width:100%;height:100%;object-fit:cover}
.pubcard .pv .play{position:absolute;right:5px;bottom:5px;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center}
.pubcard .pv .play svg{width:9px;height:9px}
.pubcard .tx{flex:1;min-width:0;position:relative}
.pubcard small{font-size:10.5px;opacity:.7;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.pubcard b{display:block;font-size:14px;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pubcard .pr{font-size:13px;color:#ffb347;font-weight:800;margin-bottom:9px}
.pubcard .go{display:inline-flex;align-items:center;gap:7px;background:linear-gradient(90deg,#ff7a00,#ff4d2e);padding:9px 14px;border-radius:999px;font-size:12px;font-weight:800;white-space:normal;text-align:left;line-height:1.2}
.pubcard .go svg{width:15px;height:15px;flex:0 0 auto}

/* ---------- Fil : article épinglé ---------- */
.feed-top{flex-direction:column;align-items:stretch;gap:10px}
.feed-top .hrow{display:flex;align-items:center;justify-content:space-between}
.pin{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.18);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.28);border-radius:18px;padding:9px 12px 9px 9px;box-shadow:0 8px 24px rgba(0,0,0,.35);color:#fff;pointer-events:auto}
.pin img{width:62px;height:62px;border-radius:13px;object-fit:cover;flex:0 0 auto}
.pin .t{min-width:0;flex:1}
.pin .t em{font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#ffb347;display:block;margin-bottom:2px}
.pin .t b{display:block;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pin .t small{font-size:11.5px;opacity:.9;display:block;margin-top:2px}
.pin .pp{font-weight:800;font-size:13px;color:#fff}
.rail{gap:15px}
.rail-btn.saved svg{color:#ff7a00;animation:pop .35s}
.rail-btn svg{width:30px;height:30px}
.caption .prod-chip{display:none}

/* ---------- Créer (assistant) ---------- */
.wiz{min-height:100%;display:flex;flex-direction:column;padding:0 18px 30px}
.wiz-hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:30px 12px}
.wiz-hero .orb{width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ffb347,#ff7a00 60%,#e85d00);display:flex;align-items:center;justify-content:center;box-shadow:0 14px 34px rgba(255,122,0,.45);animation:float 3.2s ease-in-out infinite}
.wiz-hero .orb svg{width:42px;height:42px;color:#fff}
@keyframes float{50%{transform:translateY(-8px)}}
.wiz-hero h1{font-size:23px;font-weight:800;letter-spacing:-.4px}
.wiz-hero p{font-size:13.5px;color:var(--grey-text);line-height:1.55;max-width:300px}
.wiz-hero .btn{width:auto;padding:14px 26px;border-radius:999px;background:linear-gradient(90deg,#ff7a00,#ff4d2e);box-shadow:0 8px 20px rgba(255,100,0,.35)}
.wiz-pin{position:sticky;top:0;z-index:12;margin:0 -18px 14px;padding:10px 18px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--grey-line)}
.wiz-pin .row2{display:flex;align-items:center;gap:12px}
.wiz-pin img,.wiz-pin video{width:48px;height:48px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.wiz-pin b{font-size:13.5px;display:block}.wiz-pin small{font-size:11.5px;color:var(--grey-text)}
.wiz-pin .chg{margin-left:auto;font-size:11px;font-weight:800;padding:7px 12px;border-radius:999px;background:var(--grey-soft)}
.steps{display:flex;gap:6px;justify-content:center;margin:0 0 16px}
.steps i{width:26px;height:4px;border-radius:2px;background:#e3e3e3;transition:background .3s,width .3s}
.steps i.on{background:#ff7a00;width:40px}
.drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;min-height:340px;border-radius:26px;cursor:pointer;color:#fff;background:linear-gradient(135deg,#141414,#2b2b2b 60%,#3a1d00);overflow:hidden;transition:transform .2s,box-shadow .2s;box-shadow:0 14px 34px rgba(0,0,0,.28)}
.drop:before{content:"";position:absolute;inset:10px;border-radius:20px;border:2px dashed rgba(255,255,255,.28);pointer-events:none;transition:border-color .2s}
.drop:hover:before,.drop.over:before{border-color:#ff7a00}
.drop.over{transform:scale(1.015)}
.drop:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,122,0,.35),transparent 70%);top:-90px;right:-80px;pointer-events:none}
.drop .up{width:76px;height:76px;border-radius:50%;background:linear-gradient(135deg,#ff7a00,#ff4d2e);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(255,100,0,.5);animation:float 3s ease-in-out infinite;position:relative;z-index:1}
.drop .up svg{width:34px;height:34px}
.drop b{font-size:18px;position:relative;z-index:1}
.drop span.s{font-size:12.5px;opacity:.75;position:relative;z-index:1;max-width:250px;line-height:1.5}
.drop .fmts{display:flex;gap:8px;position:relative;z-index:1}
.drop .fmts em{font-style:normal;font-size:10.5px;font-weight:800;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.12)}
.mpv{position:relative;border-radius:22px;overflow:hidden;background:#000;aspect-ratio:9/13;max-height:60dvh;margin:0 auto;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.mpv img,.mpv video{width:100%;height:100%;object-fit:contain;background:#000}
.mtools{display:flex;align-items:center;justify-content:space-between;margin:0 auto 10px;max-width:520px}
.kind{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;padding:7px 13px;border-radius:999px;background:var(--grey-soft)}
.kind svg{width:14px;height:14px}
.trash{width:44px;height:44px;border-radius:50%;background:#fdecee;color:#e0173d;display:flex;align-items:center;justify-content:center;transition:transform .15s,background .2s}
.trash:active{transform:scale(.9)}
.trash svg{width:21px;height:21px}
.upbar{position:absolute;left:0;right:0;bottom:0;height:6px;background:rgba(255,255,255,.25)}
.upbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff7a00,#ff4d2e);transition:width .15s}
.upnote{position:absolute;left:12px;bottom:16px;background:rgba(0,0,0,.65);color:#fff;font-size:11.5px;font-weight:800;padding:6px 11px;border-radius:999px}
.wiz .btn{margin-top:16px}
.wiz .next{background:linear-gradient(90deg,#ff7a00,#ff4d2e);box-shadow:0 8px 20px rgba(255,100,0,.3)}
.review{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.review .mini-m{width:86px;height:110px;border-radius:14px;overflow:hidden;background:#000;flex:0 0 auto;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.review .mini-m img,.review .mini-m video{width:100%;height:100%;object-fit:cover}
.legend-box textarea{width:100%;min-height:110px;padding:14px;border:1px solid var(--grey-line);border-radius:16px;font-size:14.5px;outline:none;resize:none;transition:border-color .2s,box-shadow .2s}
.legend-box textarea:focus{border-color:#ff7a00;box-shadow:0 0 0 4px rgba(255,122,0,.12)}
.legend-box .lc{display:flex;justify-content:space-between;font-size:11.5px;font-weight:700;color:var(--grey-text);margin-top:6px}
.legend-box .lc .ok{color:var(--green)}
.pubbtn{display:none;background:linear-gradient(90deg,#ff7a00,#ff4d2e)!important;box-shadow:0 8px 20px rgba(255,100,0,.3)}
.pubbtn.show{display:flex;animation:viewIn .3s ease both}

/* ---------- Compte façon réseau social ---------- */
.prof{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 16px 16px;text-align:center}
.prof .acct-avatar{width:92px;height:92px;font-size:30px;box-shadow:0 0 0 4px #fff,0 0 0 6px #ff7a00}
.prof h2{font-size:19px;font-weight:800;margin-top:6px}
.prof .wa{font-size:12.5px;color:var(--grey-text)}
.pstats{display:flex;gap:26px;margin-top:8px}
.pstats div{text-align:center}.pstats b{display:block;font-size:17px}.pstats small{font-size:11px;color:var(--grey-text);font-weight:600}
.quad{display:grid;grid-template-columns:repeat(5,1fr);margin:6px 16px 4px;border:1px solid var(--grey-line);border-radius:18px;overflow:hidden;background:var(--surface);box-shadow:0 4px 14px rgba(0,0,0,.05)}
.quad > *{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 4px;border-right:1px solid var(--grey-line);font-size:10.5px;font-weight:800;text-align:center;line-height:1.2;position:relative;transition:background .15s}
.quad > *:last-child{border-right:none}
.quad > *:active{background:var(--grey-soft)}
.quad svg{width:22px;height:22px}
.quad .q-out{color:#c0213f}
.quad .badge{top:6px;right:50%;margin-right:-24px}
.tabs{display:flex;margin:16px 0 0;border-bottom:1px solid var(--grey-line);position:sticky;top:0;background:var(--surface);z-index:10}
.tabs button{flex:1;padding:12px 2px;font-size:11.5px;font-weight:800;color:var(--grey-text);display:flex;flex-direction:column;align-items:center;gap:4px;border-bottom:2.5px solid transparent;transition:color .2s,border-color .2s}
.tabs button svg{width:19px;height:19px}
.tabs button.on{color:var(--black);border-bottom-color:#ff7a00}
.mgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:2px}
.mcell{position:relative;aspect-ratio:3/4;background:#111;overflow:hidden;display:block}
.mcell img,.mcell video{width:100%;height:100%;object-fit:cover}
.mcell .n{position:absolute;left:6px;bottom:6px;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;gap:4px;text-shadow:0 1px 4px rgba(0,0,0,.7)}
.mcell .n svg{width:12px;height:12px}
.mcell .pl{position:absolute;right:6px;top:6px;color:#fff;width:16px;height:16px}
.empty{padding:44px 24px;text-align:center;color:var(--grey-text);font-size:13px;line-height:1.5}
.empty .glyph{font-size:30px;margin-bottom:8px}

/* ---------- Inscription WhatsApp ---------- */
.wa-box{display:flex;gap:10px;padding:12px 14px;border-radius:14px;background:#e8f8ee;color:#14663a;font-size:12.5px;line-height:1.5;font-weight:600;margin-bottom:16px}
.wa-box svg{width:22px;height:22px;flex:0 0 auto;color:#25d366}
.wa-box b{font-weight:800}
.phone-row{display:flex;gap:8px}
.phone-row select{flex:0 0 46%;min-width:0}
.check{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.45;font-weight:600;margin:4px 0 16px;cursor:pointer}
.check input{width:20px;height:20px;margin-top:1px;accent-color:#25d366;flex:0 0 auto}
.pending{padding:40px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.pending .big{width:84px;height:84px;border-radius:50%;background:#e8f8ee;color:#25d366;display:flex;align-items:center;justify-content:center}
.pending .big svg{width:42px;height:42px}
.pending h2{font-size:20px;font-weight:800}
.pending p{font-size:13.5px;line-height:1.6;color:var(--ink-2);max-width:340px}
.pending .steps2{text-align:left;background:var(--grey-soft);border-radius:16px;padding:14px 16px;font-size:12.5px;line-height:1.7;width:100%;max-width:340px}
.btn.wa{background:#25d366;color:#04361b}
.urow{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0 16px 10px;padding:12px;border:1px solid var(--grey-line);border-radius:16px}
.urow .info{flex:1;min-width:0}.urow b{font-size:13.5px;display:block}.urow small{font-size:11.5px;color:var(--grey-text)}
.urow .bt{display:flex;gap:6px;flex-wrap:wrap}
.urow .bt .btn{padding:8px 12px;font-size:11.5px;width:auto;border-radius:999px}

/* ---------- Tablette & grand écran ---------- */
@media (min-width:768px){
  :root{--nav-h:70px}
  #app{max-width:1024px;box-shadow:0 0 60px rgba(0,0,0,.18)}
  .grid{grid-template-columns:repeat(3,1fr);gap:16px;padding:0 24px 28px}
  .topbar{padding:14px 24px 10px}.section-head,.stories{padding-left:24px;padding-right:24px}
  .back-row{padding:14px 24px 6px}
  .detail-wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:8px 28px;padding:0 24px;align-items:start}
  .detail-wrap .gallery{margin:10px 0 0;position:sticky;top:60px}
  .detail-wrap .detail-body,.detail-wrap .ratebox,.detail-wrap .actions,.detail-wrap .shopbar{margin-left:0;margin-right:0}
  .detail-wrap .detail-body{padding:10px 0 4px}
  .detail-wrap .actions,.detail-wrap .shopbar,.detail-wrap .ratebox{padding-left:0;padding-right:0}
  .detail-wrap .ratebox{padding:14px}
  .form,.wiz,.pending{max-width:560px;margin-left:auto;margin-right:auto;width:100%}
  .cart-item,.order,.urow{max-width:720px;margin-left:auto;margin-right:auto}
  .quad,.prof,.acct-body{max-width:720px;margin-left:auto;margin-right:auto}
  .quad{width:calc(100% - 32px)}
  .mgrid{grid-template-columns:repeat(4,1fr)}
  .feed .slide > .main,.feed .slide > .bg{left:50%;width:min(100%,520px);transform:translateX(-50%);right:auto}
  .feed .slide > .bg.blur{width:100%;left:0;transform:scale(1.2)}
  .feed .feed-top,.feed .caption,.feed .rail{left:50%;right:auto;width:min(100%,520px);transform:translateX(-50%)}
  .feed .rail{width:auto;left:calc(50% + 260px - 66px);transform:none}
  .feed .caption{right:auto}
  .sheet{left:50%;right:auto;width:min(100%,640px);transform:translate(-50%,105%);height:82%}
  .sheet.open{transform:translate(-50%,0)}
  .shops-strip{justify-content:center}
  .shop-caption{left:50%!important;right:auto!important;width:min(100%,520px);transform:translateX(-50%)}
}
@media (min-width:1100px){ .grid{grid-template-columns:repeat(4,1fr)} }
@media (max-width:360px){ .quad > *{font-size:8.5px} .grid{gap:8px;padding:0 10px 16px} }

.feed .caption{padding:0 78px 0 0}@media(min-width:768px){.feed .caption{padding:0 78px 0 14px;box-sizing:border-box}}

/* ---------- Pages légales ---------- */
.legal{padding:6px 20px 8px;max-width:720px;margin:0 auto}
.legal header{text-align:center;padding:14px 0 6px}
.lg-ic{width:60px;height:60px;border-radius:18px;background:var(--grey-soft);display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 12px}
.legal h1{font-size:24px;font-weight:800;letter-spacing:-.4px}
.lg-up{font-size:11.5px;color:var(--grey-text);font-weight:700;margin-top:6px}
.lg-intro{font-size:14px;line-height:1.65;color:var(--ink-2);margin-top:12px}
.lg-toc{display:flex;flex-direction:column;background:var(--grey-soft);border-radius:16px;padding:14px 16px;margin:18px 0 6px;gap:6px}
.lg-toc b{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-text);margin-bottom:2px}
.lg-toc a{font-size:13px;font-weight:600;padding:3px 0}
.legal section{padding-top:20px;scroll-margin-top:70px}
.legal h2{display:flex;align-items:center;gap:10px;font-size:16.5px;font-weight:800;margin-bottom:10px;letter-spacing:-.2px}
.legal h2 span{flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:#000;color:#ffb347;font-size:12px;display:flex;align-items:center;justify-content:center}
.legal p{font-size:14px;line-height:1.7;color:var(--ink-2);margin-bottom:10px}
.legal ul{margin:0 0 10px;padding-left:4px;list-style:none}
.legal li{position:relative;padding-left:20px;font-size:14px;line-height:1.65;color:var(--ink-2);margin-bottom:6px}
.legal li:before{content:"";position:absolute;left:4px;top:.65em;width:7px;height:7px;border-radius:50%;background:#ff7a00}
.lg-other{display:flex;flex-direction:column;margin-top:26px;border:1px solid var(--grey-line);border-radius:16px;overflow:hidden}
.lg-other b{padding:12px 16px;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-text);background:var(--grey-soft)}
.lg-other a{display:flex;justify-content:space-between;padding:14px 16px;border-top:1px solid var(--grey-line);font-size:13.5px;font-weight:700}
.lg-other a span{color:var(--grey-text)}
.lg-other a:active{background:var(--grey-soft)}
.lg-note{text-align:center;font-size:12.5px;margin-top:18px}.lg-note a{font-weight:800;text-decoration:underline}
.legal-foot{display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 16px 28px;text-align:center}
.legal-links{font-size:11.5px;font-weight:700;display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:center}
.legal-links a{text-decoration:underline;text-underline-offset:2px}
.legal-foot small{font-size:10.5px;color:var(--grey-text)}
.consent{font-size:11.5px;line-height:1.6;color:var(--grey-text);text-align:center;margin:12px 0 0}
.consent a{color:var(--black);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.legal-card{margin:14px 16px 4px;border:1px solid var(--grey-line);border-radius:18px;overflow:hidden}
.legal-card .rowlink{padding:13px 16px}
.legal-card .rowlink .ic{width:32px;height:32px;font-size:15px}
.legal-card .rowlink:last-child{border-bottom:none}
.legal-card h3{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-text);padding:12px 16px 4px}

/* ---------- Notifications / contact / langue ---------- */
.notif-head{display:flex;align-items:center;justify-content:space-between;padding:6px 16px 10px}.notif-head b{font-size:13px;color:var(--grey-text)}
.notif-list{display:flex;flex-direction:column}
.notif{display:flex;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid var(--grey-line);transition:background .15s}
.notif:active{background:var(--grey-soft)}
.notif.unread{background:#fff8ef}
.notif .ni{width:42px;height:42px;border-radius:50%;background:var(--grey-soft);display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 auto}
.notif .nt{flex:1;min-width:0}.notif .nm{display:block;font-size:13.5px;line-height:1.45;font-weight:600}
.notif small{display:block;font-size:11px;color:var(--grey-text);margin-top:3px}
.notif .dot{width:10px;height:10px;border-radius:50%;background:#ff7a00;flex:0 0 auto}
.contact-page{padding:14px 20px;text-align:center;max-width:560px;margin:0 auto}
.contact-page h1{font-size:22px;font-weight:800;margin-top:6px}
.contact-page .btn{margin-top:16px;display:flex}
.topics-h{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-text);margin:22px 0 10px}
.topics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.topic{display:flex;align-items:center;gap:10px;padding:13px 12px;border:1px solid var(--grey-line);border-radius:14px;font-size:12.5px;font-weight:700;text-align:start;transition:transform .15s}
.topic:active{transform:scale(.97)}.topic span{font-size:18px}
.lang-row.rowlink{border-bottom:1px solid var(--grey-line)}
.lang-row .ic{font-size:20px;background:none}

/* ---------- Menus & signalement ---------- */
.sheet.auto{height:auto;max-height:80%}
.menu-sheet{padding:4px 0 calc(14px + env(safe-area-inset-bottom))}
.rowlink.danger .lb{color:#c0213f}
.rowlink.danger .ic{background:#fdecee}
.cmore{width:30px;height:30px;border-radius:50%;color:var(--grey-text);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.cmore svg{width:16px;height:16px}
.reason{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--grey-line);font-size:14px;font-weight:600;cursor:pointer}
.reason input{width:20px;height:20px;accent-color:#ff7a00}

/* ---------- Rayons ---------- */
.shelf-hint{margin-top:6px;font-size:12px;font-weight:700;color:#ffd9ad;letter-spacing:.2px}
.shelf-slide .shade{background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,.0) 55%,rgba(0,0,0,.72) 100%)}
.shelf-shop{position:absolute;top:12px;left:12px;z-index:3;display:flex;align-items:center;gap:9px;padding:5px 14px 5px 5px;border-radius:999px;background:rgba(0,0,0,.45);backdrop-filter:blur(8px);color:#fff;text-align:start;max-width:78%}
.shelf-shop img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #ff7a00;flex:0 0 auto}
.shelf-shop span{display:flex;flex-direction:column;min-width:0}
.shelf-shop b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shelf-shop small{font-size:11px;opacity:.8}
.shelf-title{color:#fff;font-size:22px;font-weight:800;line-height:1.2;text-shadow:0 2px 12px rgba(0,0,0,.6);margin-bottom:10px}
.shelf-slide .pin em{font-style:normal;font-weight:800;margin-inline-start:auto}
.shop-cover{position:relative;height:190px;overflow:hidden}
.shop-cover .cv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shop-cover .cv-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.72))}
.cv-id{position:absolute;left:16px;right:16px;bottom:14px;display:flex;align-items:center;gap:12px;color:#fff}
.cv-id>img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:3px solid #fff;flex:0 0 auto}
.cv-name{font-size:20px;font-weight:800;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.cv-id .rate-line small{color:#eee}
.shelf-row{display:flex;gap:10px;overflow-x:auto;padding:2px 16px 14px;scrollbar-width:none}
.shelf-row::-webkit-scrollbar{display:none}
.shelf-thumb{position:relative;flex:0 0 108px;height:160px;border-radius:14px;overflow:hidden;background:#222;color:#fff;text-align:start}
.shelf-thumb img,.shelf-thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shelf-thumb span{position:absolute;left:0;right:0;bottom:0;padding:22px 8px 8px;background:linear-gradient(transparent,rgba(0,0,0,.75));font-size:12px;font-weight:700;line-height:1.2}
.shelf-thumb .play{position:absolute;top:8px;right:8px;font-style:normal;font-size:10px;background:rgba(0,0,0,.55);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center}

/* ---------- Admin : comptes / modération / rayons ---------- */
.admin-card{position:relative}
.abadge{margin-inline-start:auto;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e5173f;color:#fff;font-style:normal;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.urow .bt,.mrow .bt,.srow .bt{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.urow .bt .btn,.mrow .bt .btn,.srow .bt .btn{width:auto;padding:8px 12px;font-size:12.5px;min-height:0}
.btn.danger,.btn.ghost.danger{color:#c0213f;border-color:#f3c3cc}
.tagadm{font-style:normal;font-size:10px;background:#111;color:#fff;border-radius:6px;padding:2px 6px;margin-inline-start:4px;vertical-align:middle}
.mrow,.srow{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--grey-line)}
.mrow.is-hidden{opacity:.65;background:#fafafa}
.mthumb{flex:0 0 64px;height:84px;border-radius:10px;overflow:hidden;background:#222}
.mthumb img,.mthumb video{width:100%;height:100%;object-fit:cover}
.minfo{min-width:0;flex:1}
.minfo b{display:block;font-size:14px}
.minfo small{display:block;color:var(--grey-text);font-size:12px}
.minfo p{font-size:13.5px;margin:4px 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mreasons{font-size:12px;font-weight:700;color:#c0213f;margin:2px 0}
.stitle{width:100%;border:1px solid var(--grey-line);border-radius:10px;padding:8px 10px;font-size:14px;font-weight:700}
.upbar{height:6px;border-radius:3px;background:var(--grey-line);margin-top:8px;overflow:hidden}
.upbar i{display:block;height:100%;width:0;background:#ff7a00;transition:width .2s}
.btn.wa{background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none}

/* ---------- RTL (arabe) ---------- */
[dir=rtl] body{text-align:right}
[dir=rtl] .back svg,[dir=rtl] .rowlink>:last-child:not(.lb):not(.ic){transform:scaleX(-1)}
[dir=rtl] .rail{right:auto;left:10px}
[dir=rtl] .caption{text-align:right}
[dir=rtl] .shelf-shop{left:auto;right:12px}
[dir=rtl] .pin{direction:rtl}
[dir=rtl] .urow .bt,[dir=rtl] .mrow .bt{justify-content:flex-start}
[dir=rtl] input[type=tel],[dir=rtl] input[type=email],[dir=rtl] input[type=url]{direction:ltr;text-align:right}

.urow .info small{display:block}
bdi{unicode-bidi:isolate}

/* Rayons : sensation de déambuler dans l'allée */
.shelf-slide img.bg{animation:aisleWalk 16s ease-in-out infinite alternate;transform-origin:50% 46%}
@keyframes aisleWalk{from{transform:scale(1.02) translate3d(0,0,0)}to{transform:scale(1.22) translate3d(0,0,0)}}
@media (prefers-reduced-motion:reduce){.shelf-slide img.bg{animation:none}}
.shelf-slide .shade{background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,0) 22%,rgba(0,0,0,0) 52%,rgba(0,0,0,.78) 100%)}
.shelf-title:before{content:"";display:inline-block;width:26px;height:3px;border-radius:2px;background:#ff7a00;margin-inline-end:10px;vertical-align:middle}

/* ---------- Abonnements / suivre ---------- */
.follow{display:inline-flex;align-items:center;gap:4px;padding:7px 14px;border-radius:999px;background:#ff7a00;color:#fff;font-size:12.5px;font-weight:800;border:2px solid #ff7a00;transition:transform .15s}
.follow:active{transform:scale(.94)}
.follow.on{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.7)}
.follow.sm{padding:5px 12px;font-size:12px}
.fol-row{display:flex;align-items:center;gap:10px;margin-top:4px}
.fol-row small{color:#eee;font-size:12px}
.shelf-follow{position:absolute;top:18px;right:12px;z-index:3}
[dir=rtl] .shelf-follow{right:auto;left:12px}
.sheet .follow{background:#ff7a00;color:#fff;border-color:#ff7a00}.sheet .follow.on{background:rgba(0,0,0,.35);border-color:rgba(255,255,255,.8)}
.fol-ring{display:flex;align-items:center;justify-content:center;background:#1a1a1a;color:#ff4d6d;font-size:26px}
.vbadge{display:inline-block;margin-top:2px;padding:2px 9px;border-radius:999px;background:#1d9bf0;color:#fff;font-size:11px;font-weight:800;width:fit-content}
.fgrid{padding:0 16px}
.fitem{margin-bottom:18px}
.fhead{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:2px 2px 8px;font-size:13px}
.fhead small{margin-inline-start:auto;color:var(--grey-text)}
.fb{font-weight:800;padding:3px 10px;border-radius:999px;font-size:12px}
.fb.new{background:#e8f5e9;color:#1e8449}.fb.drop{background:#ffe9e9;color:#c0213f}.fb.up{background:#fff4e0;color:#b36b00}
/* ---------- Suivi de commande ---------- */
.track{list-style:none;display:flex;justify-content:space-between;gap:2px;margin:12px 0 10px;padding:0;position:relative}
.track:before{content:"";position:absolute;top:13px;left:10%;right:10%;height:3px;background:var(--grey-line);z-index:0}
.track li{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;position:relative;z-index:1;min-width:0}
.track .dot{width:28px;height:28px;border-radius:50%;background:var(--surface);border:2px solid var(--grey-line);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#9a9a9a}
.track li.done .dot{background:#25d366;border-color:#25d366;color:#fff}
.track li.cur .dot{background:#ff7a00;border-color:#ff7a00;color:#fff;box-shadow:0 0 0 5px rgba(255,122,0,.18)}
.track b{font-size:10.5px;line-height:1.15;color:#777}.track li.cur b,.track li.done b{color:#111}
.track small{font-size:10px;color:var(--grey-text)}
.track-cancel{margin:10px 0;padding:10px 12px;border-radius:12px;background:#ffe9e9;color:#c0213f;font-weight:700;font-size:13px}
/* ---------- Statistiques ---------- */
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:10px 16px}
.tile{background:var(--grey-soft);border-radius:16px;padding:14px}
.tile b{display:block;font-size:20px;font-weight:800}.tile small{color:var(--grey-text);font-size:12px}
.scard{margin:0 16px 14px;padding:14px;border:1px solid var(--grey-line);border-radius:18px}
.shead{display:flex;align-items:center;gap:10px}
.shead img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.shead>div{flex:1}.shead b{display:flex;align-items:center;gap:4px;font-size:15px}.shead small{color:var(--grey-text);font-size:12px}
.vbtn{width:auto;white-space:nowrap}
.smet{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 8px}
.smet div{background:var(--grey-soft);border-radius:12px;padding:8px 10px}
.smet b{display:block;font-size:14px}.smet small{font-size:10.5px;color:var(--grey-text)}
.spark{width:100%;height:38px;fill:#ff7a00;opacity:.9;margin-top:4px}
.stop{margin-top:10px;font-size:12.5px}.stop>small{color:var(--grey-text);font-weight:700}
.stop div{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px dashed var(--grey-line)}
.priceedit{display:flex;gap:8px;margin-top:8px}
.priceedit input{flex:1;min-width:0;border:1px solid var(--grey-line);border-radius:10px;padding:9px 10px;font-size:14px;font-weight:700}
.priceedit .btn{width:auto}

/* ---------- PWA ---------- */
.pwa-card{margin:12px 16px 0;border:1px solid var(--grey-line);border-radius:16px;overflow:hidden;background:var(--surface)}
.pwa-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--grey-line)}
.pwa-row:last-child{border-bottom:none}
.pwa-row .ic{font-size:22px}
.pwa-row .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pwa-row b{font-size:14px}.pwa-row small{font-size:12px;color:var(--grey-text);line-height:1.35}
.pwa-row .btn{width:auto;white-space:nowrap}
.offbar{position:fixed;left:50%;transform:translateX(-50%);top:calc(8px + env(safe-area-inset-top));z-index:200;background:#222;color:#fff;font-size:12px;font-weight:700;padding:8px 14px;border-radius:999px;box-shadow:0 6px 20px rgba(0,0,0,.3);max-width:92vw;text-align:center}
.offbar.ok{background:#1e8449}
.offbar[hidden]{display:none}

.set-h{margin:18px 16px 0;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:#666}

/* ---------- Mode sombre ---------- */
html[data-theme=dark]{--black:#f2f2f2;--white:#121212;--surface:#1c1c1c;--ink-2:#cfcfcf;--grey-line:#2f2f2f;--grey-soft:#262626;--grey-text:#9b9b9b;--fill:#f2f2f2;--on-fill:#0a0a0a;--page:#000;--backrow:rgba(18,18,18,.94);--topbg:rgba(18,18,18,.97)}
html[data-theme=dark] #app{box-shadow:0 0 40px rgba(0,0,0,.6)}
html[data-theme=dark] .bottom-nav{border-top:1px solid #222}
html[data-theme=dark] .card{box-shadow:none}
html[data-theme=dark] .skeleton{background:linear-gradient(90deg,#222 25%,#2c2c2c 37%,#222 63%);background-size:400% 100%}
html[data-theme=dark] .spinner{border-color:#333;border-top-color:#f2f2f2}
html[data-theme=dark] .notif.unread{background:#2a2118}
html[data-theme=dark] .mrow.is-hidden{background:#1a1a1a}
html[data-theme=dark] .alert.err,html[data-theme=dark] .disc,html[data-theme=dark] .trash,html[data-theme=dark] .rowlink.danger .ic{background:#3a1820;color:#ff8da1}
html[data-theme=dark] .status{background:#3a3010;color:#ffd666}
html[data-theme=dark] .status.ok{background:#12301f;color:#6fdc9d}
html[data-theme=dark] .status.ko{background:#3a1820;color:#ff8da1}
html[data-theme=dark] .mine-pill{background:#3a2a12;color:#ffb35c}
html[data-theme=dark] .fb.new{background:#12301f;color:#6fdc9d}
html[data-theme=dark] .fb.drop{background:#3a1820;color:#ff8da1}
html[data-theme=dark] .fb.up{background:#3a2a12;color:#ffb35c}
html[data-theme=dark] .track-cancel{background:#3a1820;color:#ff8da1}
html[data-theme=dark] .quad .q-out,html[data-theme=dark] .btn.danger,html[data-theme=dark] .btn.ghost.danger{color:#ff8da1}
html[data-theme=dark] .ring img,html[data-theme=dark] .prof .acct-avatar{border-color:var(--white);box-shadow:0 0 0 4px var(--white),0 0 0 6px #ff7a00}
html[data-theme=dark] .ring img{box-shadow:none}
html[data-theme=dark] .shop-sheet-hero img{box-shadow:0 0 0 3px var(--surface),0 0 0 4px var(--grey-line)}
html[data-theme=dark] .acct-avatar{background:linear-gradient(135deg,#444,#222)}
html[data-theme=dark] .tagadm{background:#f2f2f2;color:#000}
html[data-theme=dark] .legal h2 span{background:#f2f2f2;color:#7a3d00}
html[data-theme=dark] .gal-main .thumb,html[data-theme=dark] .thumb{background:var(--grey-soft)}

/* ---------- Paramètres ---------- */
.set-sec{margin:18px 16px 0}
.set-sec>h2{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--grey-text);margin:0 4px 8px}
.set-card{border:1px solid var(--grey-line);border-radius:16px;overflow:hidden;background:var(--surface)}
.set-card .rowlink:last-child{border-bottom:none}
.set-card .seg{margin:12px}
.set-card .seg button{display:flex;align-items:center;justify-content:center;gap:6px}
.set-card .seg svg{width:15px;height:15px}
.set-card .seg button.on{background:var(--fill);color:var(--on-fill)}
.set-card .pwa-card{margin:0;border:none;border-radius:0}
.set-ver{text-align:center;color:var(--grey-text);font-size:12px;margin:22px 0 6px}
.lang-code{font-size:11px;font-weight:800;letter-spacing:.4px;margin-inline-start:5px}
.icon-btn.has-code{width:auto;min-width:38px;padding:0 10px;border-radius:999px}
.q-set{color:var(--ink-2)}

/* ---------- Bienvenue (premier lancement) ---------- */
.welcome{position:absolute;inset:0;z-index:300;background:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 24px calc(28px + env(safe-area-inset-bottom));text-align:center;animation:viewIn .4s ease both}
.welcome .wl-logo{width:84px;height:84px;border-radius:22px;margin-bottom:18px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.welcome h1{font-size:25px;font-weight:800;line-height:1.2}
.welcome p{color:var(--grey-text);font-size:14px;margin:8px 0 22px}
.wl-list{width:100%;max-width:360px;display:flex;flex-direction:column;gap:10px}
.wl-opt{display:flex;align-items:center;gap:14px;padding:14px 16px;border:2px solid var(--grey-line);border-radius:16px;background:var(--surface);text-align:start;transition:border-color .15s,transform .15s}
.wl-opt:active{transform:scale(.98)}
.wl-opt .fl{font-size:26px}
.wl-opt .nm{flex:1;font-size:16px;font-weight:700}
.wl-opt .ck{width:22px;height:22px;border-radius:50%;border:2px solid var(--grey-line);display:flex;align-items:center;justify-content:center;color:transparent}
.wl-opt.on{border-color:#ff7a00}
.wl-opt.on .ck{background:#ff7a00;border-color:#ff7a00;color:#fff}
.wl-opt .ck svg{width:13px;height:13px}
.welcome .btn{max-width:360px;margin-top:20px;background:linear-gradient(90deg,#ff7a00,#ff4d2e);color:#fff}
.welcome small{margin-top:12px;color:var(--grey-text);font-size:11.5px}
.btn svg{width:18px;height:18px;flex:0 0 auto}

/* ---------- Écran de langue épuré ---------- */
.welcome{justify-content:center;gap:0;padding:28px 28px calc(28px + env(safe-area-inset-bottom))}
.welcome .wl-brand{font-size:40px;font-weight:900;letter-spacing:-.5px;margin-bottom:34px;color:var(--black)}
.welcome .wl-brand span{color:#ff7a00}
html:not([data-theme=dark]) .welcome .wl-brand{color:#0a0a0a}
.wl-list{max-width:300px;gap:8px}
.wl-opt{padding:10px 14px;border-width:1.5px;border-radius:14px;gap:12px}
.wl-opt .fl{font-size:20px}
.wl-opt .nm{font-size:14.5px;font-weight:600}
.wl-opt .ck{width:18px;height:18px}
.wl-opt .ck svg{width:11px;height:11px}
.welcome .btn{max-width:300px;margin-top:26px;padding:12px}
/* ---------- Article : panier en haut ---------- */
.cart-top{margin:12px 0;padding:12px}
/* ---------- Commandes ---------- */
.order-sum{margin:8px 14px 0;padding-top:8px;border-top:1px dashed var(--grey-line);font-size:12.5px;color:var(--ink-2)}
.order-sum>div{display:flex;justify-content:space-between;padding:2px 0}
.order-sum .pend{color:#b36b00;font-weight:800}
.order-contact{margin:12px 14px 0;padding:12px;border-radius:14px;background:var(--grey-soft);font-size:12.5px;display:flex;flex-direction:column;gap:10px;color:var(--ink-2)}
.order-contact .btn{width:100%}
.fee-row{display:flex;gap:8px;align-items:flex-end;margin:0 14px 14px}
.fee-row label{flex:1;font-size:11.5px;font-weight:700;display:flex;flex-direction:column;gap:4px}
.fee-row input{width:100%;padding:10px;border:1px solid var(--grey-line);border-radius:12px;background:var(--surface);font-size:14px}
.fee-row .btn{width:auto;padding:11px 16px}
.fee-hint,.inv-hint{margin:0 14px 12px;font-size:12px}
.inv-btn{width:calc(100% - 28px);margin:12px 14px 14px;background:linear-gradient(90deg,#ff7a00,#ff4d2e)}
.order .inv-hint{margin-top:10px}
/* ---------- À propos ---------- */
.about .ab-steps{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.about .ab-step{display:flex;gap:12px;align-items:flex-start}
.about .ab-step .ic{width:40px;height:40px;border-radius:12px;background:var(--grey-soft);display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 auto}
.about .ab-step p{margin:2px 0 0}
.wa-num{text-align:center;color:var(--grey-text);font-size:12px;font-weight:700;letter-spacing:.3px}
.order .fee-row + .btn{margin:0 14px 10px}

/* ---------- Retouches v8 ---------- */
.order-contact .wa-logo{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;color:#25d366}
.order-contact .wa-logo svg{width:38px;height:38px}
.order-contact .wa-logo small{font-size:12.5px;font-weight:700;color:var(--ink-2);letter-spacing:.2px}
.inv-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(90deg,#ffc58a,#ffb066)!important;color:#4a2300!important;box-shadow:none}
.inv-btn svg{width:17px;height:17px}
/* formulaires de connexion / inscription plus compacts */
.form{max-width:360px;margin-left:auto;margin-right:auto;padding:8px 20px 28px}
.form .field{margin-bottom:11px}
.form .field label{font-size:10.5px;margin-bottom:5px}
.form .field input,.form .field select{padding:9px 12px;font-size:13.5px;border-radius:10px}
.form .btn{padding:12px;font-size:13.5px;border-radius:12px}
.form .phone-row select{flex:0 0 42%}
.form h1{font-size:19px}

/* ---------- Icônes SVG (remplacent les emojis) ---------- */
.ico{display:inline-flex;width:1.15em;height:1.15em;vertical-align:-.2em;flex:0 0 auto}
.ico svg{width:100%;height:100%}
.ico.ok{color:#1e9e5a}.ico.ko{color:#e5173f}.ico.warn{color:#e0a100}
.glyph .ico,.lg-ic .ico{width:1.2em;height:1.2em;color:#ff7a00}
.page-simple .glyph{width:84px;height:84px;font-size:36px;background:rgba(255,122,0,.1)}
.empty .glyph{display:flex;align-items:center;justify-content:center;width:70px;height:70px;margin:0 auto 10px;border-radius:50%;background:rgba(255,122,0,.1);font-size:30px}
.rowlink .ic .ico,.admin-card .ic .ico{width:1.15em;height:1.15em;color:var(--ink-2)}
.admin-card .ic .ico{color:var(--on-fill)}
.notif .ni{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--grey-soft);font-size:19px;flex:0 0 auto}
.notif .ni .ico{color:#ff7a00}
.btn .ico,.cta-pub .ico{width:1.1em;height:1.1em}
.track .dot .ico{width:15px;height:15px}
.seg button .ico{width:1.15em;height:1.15em}
.pwa-row .ic{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:var(--grey-soft);font-size:18px}
.pwa-row .ic .ico{color:#ff7a00}
.ab-step .ic .ico,.about .ab-step .ic .ico{color:#ff7a00}
.toast .ico,.offbar .ico{width:1.1em;height:1.1em}

.avwrap{position:relative;width:92px;margin:0 auto}
.avwrap .acct-avatar{overflow:hidden}.acct-avatar img{width:100%;height:100%;object-fit:cover}
.av-edit{position:absolute;right:-2px;bottom:-2px;width:32px;height:32px;border-radius:50%;background:#ffb066;color:#111;border:2px solid var(--white,#fff);display:flex;align-items:center;justify-content:center;cursor:pointer}
.av-edit svg{width:16px;height:16px}
.av-remove{display:block;margin:8px auto 0;background:none;border:0;color:var(--grey-text,#777);font-size:12.5px;text-decoration:underline;cursor:pointer}
.urlrow{display:flex;gap:8px;align-items:center}.urlrow input{flex:1;min-width:0}
.urlprev{flex:0 0 44px;height:44px;border-radius:10px;overflow:hidden;background:var(--grey-line,#eee)}.urlprev img{width:100%;height:100%;object-fit:cover}
.urlrow .mini{display:flex;align-items:center;gap:6px;padding:10px 12px;border-radius:10px;background:#ffb066;color:#111;font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.urlrow .mini svg{width:16px;height:16px}
.edit-go{display:flex;align-items:center;gap:6px;align-self:center;color:#c25e00;font-size:12.5px;font-weight:700}.edit-go svg{width:16px;height:16px}
a.srow{color:inherit;text-decoration:none;align-items:center}.srow .minfo{flex:1;min-width:0}.srow .minfo small{display:block;color:var(--grey-text,#777)}

.feed-top .top-icons{display:flex;align-items:center;justify-content:center;gap:14px}
.cap-title{font-weight:800;font-size:15px;margin:0 0 6px;text-shadow:0 1px 6px rgba(0,0,0,.6);color:#fff}
/* Bouton « Ajouter au panier » : largeur du texte seulement */
.btn[data-action=addcart]{display:inline-flex;width:auto;max-width:100%;padding:11px 22px;font-size:13.5px;white-space:nowrap;border-radius:999px;gap:8px}
.cart-top{margin:12px 16px;align-self:flex-start}
.forgot{display:block;text-align:right;margin:-4px 0 14px;font-size:13px;font-weight:700;color:#c25e00;text-decoration:none}.form .forgot[style]{text-align:center}
.alert.ok{background:#e8f6ec;color:#17803d}

/* Bouton « Appuie pour voir les infos » : noir, texte orange clair (toujours lisible) */
.shop-info-hint{background:#000;color:#ffb066;border:1.5px solid #ffb066;padding:9px 16px;font-size:12.5px;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.45);backdrop-filter:none}
.shop-info-hint svg{color:#ffb066}
/* Accueil : plus d'air entre les lignes d'images */
.grid{gap:26px 14px}
@media (min-width:600px){.grid{gap:30px 16px}}
.del-btn{margin-top:12px}
.srow.arch .minfo .bt{margin-top:10px}

/* Commandes : miniature + liens */
.oline{display:flex;gap:10px;align-items:center}
.oline .obody{flex:1;min-width:0}
.othumb-a{display:block;flex:0 0 auto}
.othumb{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:12px;overflow:hidden;background:var(--grey-soft,#eee);color:var(--grey-text,#888);flex:0 0 auto}
.othumb img{width:100%;height:100%;object-fit:cover}.othumb svg{width:22px;height:22px}
.olink{color:inherit;text-decoration:underline;text-decoration-color:#ffb066;text-underline-offset:3px;text-decoration-thickness:2px}
.oline .s .olink{font-weight:800}
/* Mot de passe : bouton afficher/masquer */
.pwwrap{position:relative;display:block}
.pwwrap input{width:100%;padding-right:46px}
.pw-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:none;border:0;color:var(--grey-text,#777);cursor:pointer;border-radius:10px}
.pw-eye svg{width:20px;height:20px}
[dir=rtl] .pw-eye{right:auto;left:4px}[dir=rtl] .pwwrap input{padding-right:12px;padding-left:46px}
/* Statistiques : articles / livraison / total */
.tiles3{grid-template-columns:repeat(3,1fr)}
.smoney{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 4px}
.smoney>div{background:var(--grey-soft,#f4f4f4);border-radius:12px;padding:9px 8px;text-align:center}
.smoney small{display:block;font-size:10.5px;color:var(--grey-text,#777);font-weight:700}
.smoney b{display:block;font-size:12.5px;margin-top:2px}
.smoney .tot{background:#000;color:#ffb066}.smoney .tot small{color:#ffb066;opacity:.85}
.card-shop .rate-line{margin-top:2px;font-size:9.5px}.card-shop .rate-line small{display:inline;font-size:9.5px}
