/* JOSESTORE — Boutique (même identité que le dashboard) */
:root {
    --primary: #8b0000;
    --primary-hover: #700000;
    --primary-soft: #fff1f1;
    --secondary: #0f172a;
    --secondary-2: #1e293b;
    --accent: #c9a84c;
    --accent-soft: #fbf6e8;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --success: #059669;
    --success-soft: #ecfdf5;
    --warning: #d97706;
    --warning-soft: #fffbeb;
    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --info: #3b82f6;
    --info-soft: #eff6ff;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 8px 24px -8px rgba(15,23,42,.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
[data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* Grid children must be allowed to shrink below their content width (prevents horizontal overflow on phones). */
.catalog > *, .product-page > *, .two-col > *, .account > *, .reviews-layout > *, .footer-top > * { min-width: 0; }

/* Announcement */
.announce { background: var(--secondary); color: rgba(255,255,255,.85); font-size: .8rem; }
.announce .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.announce strong { color: var(--accent); }
.announce .links { display: flex; gap: 1.25rem; }
@media (max-width: 760px) { .announce .links { display: none; } .announce .container { justify-content: center; text-align: center; padding-top: .4rem; padding-bottom: .4rem; } }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 900; }
.header-main { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .65rem; font-weight: 900; font-size: 1.35rem; letter-spacing: -.03em; color: var(--secondary); flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--primary); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 900; }
.logo span em { font-style: normal; color: var(--primary); }
.search { flex: 1; display: flex; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; max-width: 640px; }
.search input { flex: 1; border: none; background: transparent; padding: .75rem 1rem; font-family: inherit; font-size: .95rem; outline: none; min-width: 0; }
.search button { border: none; background: var(--primary); color: #fff; padding: 0 1.1rem; cursor: pointer; display: flex; align-items: center; }
.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.hdr-btn { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .75rem; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--secondary); border: none; background: none; cursor: pointer; }
.hdr-btn:hover { background: var(--bg); }
.hdr-btn .count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; border-radius: 100px; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.hdr-btn .lbl { display: none; }
@media (min-width: 1024px) { .hdr-btn .lbl { display: inline; } }
.menu-toggle { display: none; }
/* Category bar: one line on every screen — "all categories" panel (with sub-categories) + scrolling shortcuts */
.cat-nav { border-top: 1px solid var(--border); position: relative; }
.cat-nav-inner { display: flex; align-items: center; gap: .5rem; }
.cat-all { display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0; margin: .4rem 0; padding: .5rem .85rem; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cat-all:hover { background: var(--primary-hover, #700000); }
.cat-all [data-lucide], .cat-all svg { width: 17px; height: 17px; }
.cat-all .cat-all-chevron { transition: transform .2s; }
.cat-all[aria-expanded="true"] .cat-all-chevron { transform: rotate(180deg); }
.cat-all-short { display: none; }
.cat-line { position: relative; flex: 1; min-width: 0; }
.cat-line ul { list-style: none; display: flex; flex-wrap: nowrap; gap: .1rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.cat-line ul::-webkit-scrollbar { display: none; }
.cat-line ul.dragging { cursor: grabbing; scroll-behavior: auto; }
.cat-line ul.dragging a { pointer-events: none; }
.cat-line.can-next ul { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.cat-line a { display: flex; align-items: center; gap: .4rem; padding: .8rem .8rem; font-size: .88rem; font-weight: 600; color: var(--secondary-2); white-space: nowrap; }
.cat-line a:hover, .cat-line a.active { color: var(--primary); }
.cat-line a.flash { color: var(--primary); }
.cat-line-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(15,23,42,.12); }
.cat-line-arrow[hidden] { display: none; }
.cat-line-arrow.prev { left: 0; }
.cat-line-arrow.next { right: 0; }
.cat-line-arrow [data-lucide], .cat-line-arrow svg { width: 18px; height: 18px; }
.cat-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 18px 40px rgba(15,23,42,.14); max-height: min(70vh, 560px); overflow-y: auto; z-index: 60; }
.cat-panel[hidden] { display: none; }
.cat-panel-grid { columns: 190px 6; column-gap: 1.75rem; padding: 1.25rem 0 1.25rem; }
.cat-col { display: flex; flex-direction: column; gap: .1rem; min-width: 0; break-inside: avoid; padding-bottom: 1rem; }
.cat-col a { color: var(--muted, #64748b); font-size: .86rem; padding: .2rem 0; }
.cat-col a:hover { color: var(--primary); }
.cat-col .cat-col-title { color: var(--secondary); font-weight: 800; font-size: .92rem; margin-bottom: .1rem; }
@media (hover: none), (max-width: 640px) { .cat-line-arrow { display: none !important; } }
@media (max-width: 640px) {
    .cat-all { padding: .45rem .7rem; font-size: .82rem; }
    .cat-all-label { display: none; }
    .cat-all-short { display: inline; }
    .cat-line a { padding: .75rem .6rem; font-size: .84rem; }
    .cat-panel-grid { columns: 2; column-gap: 1rem; padding: 1rem 0 .5rem; }
}
@media (max-width: 900px) {
    .header-main { flex-wrap: wrap; gap: .75rem; padding-top: .75rem; padding-bottom: .75rem; min-height: 0; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .logo { font-size: 1.15rem; }
    .logo-mark { width: 36px; height: 36px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.35rem; border-radius: 12px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; border: 1px solid transparent; text-decoration: none; line-height: 1.2; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--secondary); }
.btn-accent:hover { filter: brightness(.95); }
.btn-dark { background: var(--secondary); color: #fff; }
.btn-outline { background: #fff; border-color: var(--border); color: var(--secondary); }
.btn-outline:hover { border-color: var(--secondary); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-sm { padding: .45rem .8rem; font-size: .8rem; border-radius: 9px; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link { color: var(--primary); font-weight: 600; }

/* Flash messages */
.flash-wrap { margin-top: 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; font-weight: 500; }
.alert-success { background: var(--success-soft); color: #065f46; }
.alert-error { background: var(--danger-soft); color: #991b1b; }
.alert-warning { background: var(--warning-soft); color: #92400e; }
.alert-info { background: var(--info-soft); color: #1e40af; }
.alert ul { padding-left: 1rem; }

/* Hero */

/* Sections */
.section { margin-top: 3rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.5rem; font-weight: 800; color: var(--secondary); letter-spacing: -.02em; display: flex; align-items: center; gap: .6rem; }
.section-head h2 [data-lucide] { color: var(--primary); width: 24px; height: 24px; }
.section-head p { color: var(--muted); }


/* Flash sale band */
.flash-band { background: linear-gradient(90deg, var(--primary), #b91c1c); color: #fff; border-radius: 20px; padding: 1.5rem; }
.flash-band .section-head h2 { color: #fff; }
.flash-band .section-head h2 [data-lucide] { color: var(--accent); }
.countdown { display: inline-flex; gap: .4rem; }
.countdown span { background: rgba(0,0,0,.25); border-radius: 10px; padding: .4rem .6rem; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 48px; text-align: center; font-size: 1rem; }
.countdown span small { display: block; font-size: .6rem; font-weight: 600; opacity: .8; text-transform: uppercase; }
.countdown.dark span { background: var(--secondary); color: #fff; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; } }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; color: var(--text); }
.p-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.p-media { display: block; position: relative; aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; font-weight: 800; padding: .25rem .55rem; border-radius: 100px; text-transform: uppercase; letter-spacing: .02em; }
.tag [data-lucide] { width: 12px; height: 12px; }
.tag-flash { background: var(--primary); color: #fff; }
.tag-member { background: var(--accent); color: var(--secondary); }
.tag-out { background: var(--secondary); color: #fff; }
.tag-low { background: var(--warning-soft); color: var(--warning); }
.tag-ok { background: var(--success-soft); color: var(--success); }
.p-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.p-vendor { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.p-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.p-card .member-price a { position: relative; z-index: 2; }
.p-name { font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-rating { display: flex; align-items: center; gap: .3rem; font-size: .78rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 1px; font-size: .85rem; }
.p-stock { font-size: .76rem; font-weight: 600; }
.p-stock.in { color: var(--success); }
.p-stock.low { color: var(--warning); }
.p-stock.out { color: var(--danger); }
.p-foot { margin-top: auto; padding-top: .4rem; }
@media (max-width: 560px) { .p-body { padding: .65rem; } .p-name { font-size: .85rem; } }

/* Price block: discount visible but reserved to members */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.price .now { font-size: 1.15rem; font-weight: 800; color: var(--secondary); }
.price .was { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.price.member .now { color: var(--primary); }
.member-price { margin-top: .35rem; display: flex; align-items: center; gap: .4rem; background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: 10px; padding: .35rem .55rem; font-size: .78rem; color: #7a5a12; line-height: 1.3; }
.member-price [data-lucide] { width: 14px; height: 14px; color: var(--accent); }
.member-price strong { color: var(--secondary); }
.member-price a { text-decoration: underline; font-weight: 700; }
.member-ok { margin-top: .3rem; font-size: .75rem; color: var(--success); font-weight: 700; display: flex; gap: .3rem; align-items: center; }
.member-ok [data-lucide] { width: 14px; height: 14px; }

/* Catalog layout */
.page-head { padding: 1.75rem 0 1rem; }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--secondary); letter-spacing: -.02em; }
.page-head p { color: var(--muted); }
.crumbs { display: flex; gap: .4rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: .5rem; flex-wrap: wrap; }
.crumbs [data-lucide] { width: 12px; height: 12px; }
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 1.5rem; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.25rem; position: sticky; top: 140px; }
.filters h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.1rem 0 .5rem; }
.filters h3:first-child { margin-top: 0; }
.filters .opt { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; font-size: .9rem; cursor: pointer; }
.filters .opt input { accent-color: var(--primary); width: 16px; height: 16px; }
.filters .row { display: flex; gap: .5rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filters-toggle { display: none; }
@media (max-width: 960px) {
    .catalog { grid-template-columns: 1fr; }
    .filters { display: none; position: static; }
    .filters.open { display: block; }
    .filters-toggle { display: inline-flex; }
}

/* Forms */
.input, .select, .textarea { width: 100%; padding: .7rem .9rem; border-radius: 11px; border: 1px solid var(--border); font-family: inherit; font-size: .92rem; outline: none; background: #fff; color: var(--text); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,0,0,.08); }
.textarea { min-height: 100px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 700; color: var(--secondary); }
.field .hint { font-size: .78rem; color: var(--muted); }
.error-text { color: var(--danger); font-size: .78rem; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { margin-top: .2rem; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

/* Cards / panels */
.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.5rem; }
.panel + .panel { margin-top: 1.25rem; }
.panel h2, .panel h3 { color: var(--secondary); font-weight: 800; letter-spacing: -.01em; }
.panel h2 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.panel h2 [data-lucide] { color: var(--primary); }
@media (max-width: 560px) { .panel { padding: 1.1rem; } }

/* Product page */
.product-page { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; margin-top: 1rem; }
@media (max-width: 900px) { .product-page { grid-template-columns: 1fr; gap: 1.25rem; } }
.gallery-main { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--border); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; }
.gallery-thumbs button { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; flex-shrink: 0; background: var(--bg); }
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; font-weight: 800; color: var(--secondary); letter-spacing: -.02em; margin: .4rem 0 .6rem; }
.pinfo .meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); align-items: center; }
.price-box { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem; margin: 1.25rem 0; }
.price-box .price .now { font-size: 2rem; }
.price-box .member-price { font-size: .9rem; padding: .7rem .85rem; }
.option-group { margin-bottom: 1rem; }
.option-group .label { font-size: .8rem; font-weight: 700; margin-bottom: .45rem; color: var(--secondary); }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--border); background: #fff; border-radius: 10px; padding: .45rem .9rem; cursor: pointer; font-weight: 600; font-size: .88rem; }
.chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.chip.disabled { opacity: .35; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 42px; height: 46px; border: none; background: none; cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.qty input { width: 52px; text-align: center; border: none; font-family: inherit; font-weight: 700; font-size: 1rem; outline: none; height: 46px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.buy-row .btn-primary, .buy-row .btn-outline { flex: 1; min-width: 180px; }
.assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.25rem; }
.assurances div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .7rem; font-size: .78rem; display: flex; gap: .5rem; align-items: center; color: var(--muted); }
.assurances [data-lucide] { color: var(--primary); }
@media (max-width: 560px) { .assurances { grid-template-columns: 1fr; } }
.rich { font-size: .95rem; color: var(--secondary-2); }
.rich p { margin-bottom: .75rem; }
.rich ul, .rich ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.rich h3, .rich h4 { margin: 1rem 0 .5rem; }

/* Reviews */
.reviews-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .reviews-layout { grid-template-columns: 1fr; } }
.rating-big { font-size: 3rem; font-weight: 900; color: var(--secondary); line-height: 1; }
.bar-row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; margin-top: .35rem; }
.bar { flex: 1; height: 8px; background: var(--bg); border-radius: 10px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); }
.review { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.review:last-child { border-bottom: none; }
.review .head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.verified { color: var(--success); font-weight: 700; font-size: .75rem; display: inline-flex; gap: .25rem; align-items: center; }
.verified [data-lucide] { width: 13px; height: 13px; }
.review-photos { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.review-photos img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.7rem; color: var(--border); cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--accent); }

/* Cart & checkout */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-line:last-child { border-bottom: none; }
.cart-line img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.cart-line .name { font-weight: 700; color: var(--secondary); }
.cart-line .actions { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; flex-wrap: wrap; }
.cart-line .line-total { font-weight: 800; text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-line img { width: 64px; height: 64px; } .cart-line .line-total { grid-column: 2; text-align: left; } }
.summary { position: sticky; top: 140px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .6rem; font-size: .92rem; }
.summary dt { color: var(--muted); }
.summary dd { font-weight: 700; text-align: right; }
.summary .grand { border-top: 1px dashed var(--border); padding-top: .8rem; font-size: 1.2rem; color: var(--secondary); }
.saving { color: var(--success); }
.member-cta { background: linear-gradient(120deg, var(--secondary), #3b0a0a); color: #fff; border-radius: 16px; padding: 1.1rem; margin-top: 1rem; }
.member-cta strong { color: var(--accent); }
.member-cta p { font-size: .88rem; color: rgba(255,255,255,.8); margin: .35rem 0 .8rem; }
.choice { display: flex; gap: .75rem; padding: 1rem; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; margin-bottom: .6rem; align-items: flex-start; background: #fff; }
.choice input { accent-color: var(--primary); margin-top: .25rem; }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice strong { display: block; color: var(--secondary); }
.choice small { color: var(--muted); }

/* Checkout: simplified one-page flow */
.checkout-steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: .4rem; }
.checkout-steps li + li::before { content: ''; width: 28px; height: 2px; background: var(--border); margin-right: .1rem; }
.checkout-steps a { display: flex; align-items: center; gap: .4rem; color: inherit; }
.checkout-steps span { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); border: 1.5px solid var(--border); font-weight: 700; font-size: .78rem; }
.checkout-steps .done span { background: var(--success); border-color: var(--success); color: #fff; }
.checkout-steps .current { color: var(--secondary); font-weight: 700; }
.checkout-steps .current span { background: var(--primary); border-color: var(--primary); color: #fff; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; margin-right: .35rem; vertical-align: 2px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.choice-grid-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice-grid .choice { margin-bottom: 0; }
.checkout-more { margin-top: .9rem; }
.checkout-more summary { cursor: pointer; color: var(--primary); font-weight: 600; font-size: .9rem; list-style: none; display: inline-flex; align-items: center; gap: .35rem; }
.checkout-more summary::-webkit-details-marker { display: none; }
.checkout-more summary::before { content: '+'; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; line-height: 1; }
.checkout-more[open] summary::before { content: '−'; }
.checkout-trust { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .35rem; }
.checkout-trust li { display: flex; align-items: center; gap: .4rem; }
.checkout-trust [data-lucide] { width: 15px; height: 15px; color: var(--success); }
.checkout-bar { display: none; }
@media (max-width: 960px) {
    [data-checkout] { padding-bottom: 76px; }
    .checkout-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--border); padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
    .checkout-bar div { display: grid; line-height: 1.2; }
    .checkout-bar strong { color: var(--secondary); font-size: 1.1rem; }
    .checkout-bar .btn { padding-left: 1.4rem; padding-right: 1.4rem; }
}
@media (max-width: 420px) { .choice-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .checkout-steps { gap: .3rem; font-size: .76rem; flex-wrap: nowrap; } .checkout-steps li { gap: .3rem; white-space: nowrap; } .checkout-steps li + li::before { width: 10px; } .checkout-steps span { width: 21px; height: 21px; font-size: .7rem; } }
.cart-added { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

/* Tracking */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; margin: 1rem 0 .5rem; }
.step { text-align: center; font-size: .75rem; color: var(--muted); position: relative; }
.step .dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto .4rem; background: var(--bg); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.step .dot [data-lucide] { width: 16px; height: 16px; }
.step.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.step.done { color: var(--secondary); font-weight: 700; }
.step::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--border); }
.step:first-child::before { display: none; }
.step.done::before { background: var(--primary); }
.timeline { list-style: none; position: relative; padding-left: 1.4rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-bottom: .9rem; font-size: .88rem; }
.timeline li::before { content: ''; position: absolute; left: -1.4rem; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.timeline time { display: block; font-size: .74rem; color: var(--muted); }
.delivery-box { border: 2px solid var(--accent); background: var(--accent-soft); border-radius: 16px; padding: 1.25rem; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; border-radius: 100px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-purple { background: #f5f3ff; color: #7c3aed; }
.badge-muted { background: var(--bg); color: var(--muted); }

/* Account */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
.account-nav { background: var(--secondary); color: #fff; border-radius: var(--radius); padding: .75rem; position: sticky; top: 140px; }
.account-nav .me { display: flex; gap: .75rem; align-items: center; padding: .75rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: .5rem; }
.account-nav .me .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.account-nav .me small { display: block; color: var(--accent); font-size: .72rem; font-weight: 700; }
.account-nav a, .account-nav button { display: flex; gap: .75rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500; width: 100%; background: none; border: none; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.account-nav a.active { background: var(--primary); color: #fff; }
@media (max-width: 900px) {
    .account { grid-template-columns: 1fr; }
    .account-nav { position: static; display: flex; overflow-x: auto; gap: .25rem; padding: .5rem; }
    .account-nav .me { display: none; }
    .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
    .account-nav form { flex-shrink: 0; }
}
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.mini-stat { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1rem; }
.mini-stat small { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mini-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--secondary); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .7rem .75rem; border-bottom: 2px solid var(--bg); white-space: nowrap; }
table.table td { padding: .8rem .75rem; border-bottom: 1px solid var(--bg); }
.coupon { border: 2px dashed var(--accent); border-radius: 14px; padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--accent-soft); flex-wrap: wrap; }
.coupon code { font-weight: 800; font-size: 1.05rem; color: var(--primary); letter-spacing: .05em; }
.copy-field { display: flex; gap: .5rem; }
.copy-field input { flex: 1; min-width: 0; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 300px); display: flex; align-items: center; justify-content: center; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: 22px; border: 1px solid var(--border); padding: 2rem; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 1.6rem; font-weight: 800; color: var(--secondary); letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); margin-bottom: 1.5rem; }
.auth-perks { background: var(--accent-soft); border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1.25rem; font-size: .85rem; color: #7a5a12; }
.auth-perks li { display: flex; gap: .45rem; align-items: center; padding: .15rem 0; list-style: none; }
.auth-perks [data-lucide] { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 560px) { .auth-card { padding: 1.4rem; border-radius: 18px; } }

/* Pagination */
.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 1.75rem; flex-wrap: wrap; list-style: none; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 .75rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: .88rem; background: #fff; border: 1px solid var(--border); }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled span { opacity: .4; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state .ic { width: 70px; height: 70px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.empty-state .ic [data-lucide] { width: 30px; height: 30px; }
.empty-state h3 { color: var(--secondary); font-size: 1.2rem; margin-bottom: .35rem; }

/* Footer : compact, three blocks on one row, stacked on small screens */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.68); margin-top: 2.5rem; padding: 1.75rem 0 1rem; font-size: .86rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo { color: #fff; margin-bottom: .45rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 1.25rem 2rem; align-items: start; }
.footer-brand p { margin: 0; font-size: .82rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 380px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-top: .35rem; }
.footer-links a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; gap: .4rem; align-items: stretch; }
.footer-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem; border-radius: 999px; background: rgba(255,255,255,.07); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.footer-chip [data-lucide] { width: 15px; height: 15px; flex-shrink: 0; }
.footer-chip:hover { background: rgba(255,255,255,.14); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 1.25rem; padding-top: .9rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; font-size: .76rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.pay-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.pay-tags span { background: rgba(255,255,255,.08); padding: .2rem .55rem; border-radius: 8px; font-size: .72rem; }
@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .site-footer { margin-top: 2rem; padding: 1.25rem 0 calc(4.75rem + env(safe-area-inset-bottom)); text-align: center; }
    .footer-top { grid-template-columns: 1fr; gap: .9rem; }
    .footer-brand .logo { justify-content: center; }
    .footer-brand p { margin: 0 auto; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .75rem; padding-top: 0; }
    .footer-links a { padding: .45rem 0; }
    .footer-contact { justify-content: center; }
    .footer-chip { padding: .45rem .7rem; }
    .footer-bottom { flex-direction: column; justify-content: center; gap: .5rem; margin-top: 1rem; }
    .footer-legal, .pay-tags { justify-content: center; }
}

/* Toast */
.toast { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%) translateY(150%); background: var(--secondary); color: #fff; padding: .85rem 1.25rem; border-radius: 12px; font-weight: 600; z-index: 3000; transition: transform .3s; display: flex; gap: .5rem; align-items: center; box-shadow: var(--shadow-md); max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast [data-lucide] { color: var(--accent); }

.muted { color: var(--muted); }
.small { font-size: .82rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.flex { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.hide-mobile { } @media (max-width: 640px) { .hide-mobile { display: none !important; } }

/* Bandeau de supervision (super admin connecté en tant qu'un autre compte) */
.impersonation-bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; padding: .55rem 1rem; background: #0f172a; color: #fbe7a1; font-size: .85rem; font-weight: 600; text-align: center; }
.impersonation-bar form { margin: 0; }
.impersonation-bar button { background: #c9a84c; color: #0f172a; border: 0; border-radius: 999px; padding: .3rem .85rem; font-weight: 800; cursor: pointer; font: inherit; }
.delivery-hint { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .92rem; color: var(--text); background: var(--accent-soft); border-radius: 12px; padding: .6rem .85rem; }
.delivery-hint [data-lucide] { width: 18px; height: 18px; color: var(--primary); }

/* Facture pro-forma */
.proforma-lines { display: flex; flex-direction: column; gap: .75rem; }
.proforma-line { display: grid; grid-template-columns: 64px 1fr 110px; gap: .9rem; align-items: center; padding: .75rem; border: 1px solid var(--border); border-radius: 14px; }
.proforma-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--bg); }
.proforma-line-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.proforma-line-body strong { overflow-wrap: anywhere; }
.proforma-qty { display: flex; flex-direction: column; gap: .2rem; }
.proforma-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; max-width: 900px; margin: 0 auto 1rem; }
@media (max-width: 560px) {
    .proforma-line { grid-template-columns: 52px 1fr; }
    .proforma-line img { width: 52px; height: 52px; }
    .proforma-qty { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .proforma-qty .input { max-width: 120px; }
    .proforma-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Petits écrans : boutons pleine largeur et en-tête compact */
@media (max-width: 520px) {
    .header-actions { gap: 0; }
    .hdr-btn { padding: .5rem; }
}

/* Règles de paiement par boutique */
.payment-rules { display: flex; flex-direction: column; gap: .5rem; }
.payment-rule { padding: .7rem .85rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.payment-rule > div { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.payment-rule p { margin: .35rem 0 0; }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }
.payment-status { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; align-items: center; padding: .55rem 0; border-bottom: 1px dashed var(--border); }
.payment-status:last-child { border-bottom: 0; }

/* Sous-catégories sur la page catégorie */
.subcategory-chips { display: flex; gap: .45rem; margin-top: .9rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
.subcategory-chips::-webkit-scrollbar { display: none; }
.subcategory-chips .chip { white-space: nowrap; text-decoration: none; color: var(--secondary); }
.subcategory-chips .chip.active { color: var(--primary); }

/* Panneau publicitaire de l'accueil (géré par le super administrateur) */
.ad-banner { position: relative; margin-top: 1.5rem; border-radius: 22px; overflow: hidden; background: var(--secondary); box-shadow: var(--shadow-md, 0 10px 30px rgba(15,23,42,.12)); }
.ad-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ad-track::-webkit-scrollbar { display: none; }
.ad-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(280px, 38vw, 520px); display: block; color: #fff; text-decoration: none; overflow: hidden; background: var(--secondary); }
/* Any visual (wide banner, portrait poster, square product photo) is shown whole, over a blurred copy of itself filling the frame. */
.ad-backdrop { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(30px) brightness(.9) saturate(1.3); transform: scale(1.08); }
.ad-slide img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 2rem 1.4rem; background: linear-gradient(transparent, rgba(15,23,42,.78)); display: flex; flex-direction: column; gap: .25rem; }
.ad-caption strong { font-size: clamp(1.1rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.15; }
.ad-caption small { font-size: clamp(.82rem, 1.6vw, 1.05rem); color: rgba(255,255,255,.85); }
.ad-dots { position: absolute; right: 1rem; bottom: .9rem; display: flex; gap: .35rem; }
.ad-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .2s; }
.ad-dots button.active { width: 24px; border-radius: 99px; background: var(--accent); }
.ad-placeholder { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 160px; border: 2px dashed var(--border); border-radius: 22px; color: var(--muted); font-weight: 600; text-align: center; padding: 1rem; }
@media (max-width: 900px) { .ad-slide { height: clamp(240px, 52vw, 420px); } }
@media (max-width: 640px) {
    .ad-banner { border-radius: 16px; margin-top: 1rem; }
    .ad-slide { height: auto; aspect-ratio: 1 / 1; }
    .ad-caption { padding: 1.75rem 1rem 1rem; }
    .ad-dots { right: .75rem; bottom: .6rem; }
}

/* Inscription : choix acheter / vendre, bien visible */
[hidden] { display: none !important; }
.account-type { border: 0; padding: 0; margin: 1.25rem 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.account-type legend { font-weight: 800; color: var(--secondary); font-size: 1rem; margin-bottom: .6rem; padding: 0; }
.account-type-card { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1rem .95rem; border: 2px solid var(--border); border-radius: 16px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.account-type-card input { position: absolute; top: .85rem; right: .85rem; width: 18px; height: 18px; accent-color: var(--primary); }
.account-type-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.account-type-card strong { font-size: 1.02rem; color: var(--secondary); }
.account-type-card small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.account-type-card small b { color: var(--primary); }
.account-type-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 6px 18px rgba(139, 0, 0, .12); }
.account-type-card:has(input:checked) .ic { background: #fff; }
.account-type-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.account-type-note { display: flex; gap: .5rem; align-items: flex-start; background: var(--accent-soft); color: #7a5a12; border-radius: 12px; padding: .75rem .9rem; font-size: .84rem; line-height: 1.45; margin-bottom: 1rem; }
.account-type-note [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: .1rem; }
@media (max-width: 400px) { .account-type { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .auth-card { padding: 1.4rem 1.1rem; border-radius: 18px; } }

/* Page profil d'une boutique */
.vendor-hero { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 20px; overflow: hidden; margin: 1rem 0 1.5rem; }
.vendor-hero-banner { aspect-ratio: 16 / 5; max-height: 300px; min-height: 140px; background: radial-gradient(circle at 85% 20%, rgba(201,168,76,.55), transparent 45%), linear-gradient(135deg, #0f172a, #5c0000 60%, #8b0000); background-size: cover; background-position: center; }
.vendor-hero-banner.has-image { aspect-ratio: auto; min-height: 0; max-height: none; position: relative; overflow: hidden; background: var(--secondary); }
.vendor-hero-backdrop { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) brightness(.9) saturate(1.2); transform: scale(1.08); }
.vendor-hero-banner.has-image img { position: relative; display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.vendor-hero-body { display: flex; gap: 1.25rem; align-items: flex-start; padding: 0 1.5rem 1.5rem; flex-wrap: wrap; }
.vendor-hero-logo { position: relative; z-index: 1; width: 104px; height: 104px; margin-top: -52px; border-radius: 24px; background: #fff; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(15,23,42,.15); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.vendor-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.vendor-hero-logo span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #e8c766; font-size: 2.6rem; font-weight: 900; }
.vendor-hero-main { flex: 1; min-width: 240px; padding-top: .9rem; }
.vendor-hero-main h1 { font-size: 1.6rem; line-height: 1.2; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.vendor-verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; color: #166534; background: #dcfce7; padding: .25rem .6rem; border-radius: 99px; }
.vendor-verified svg { width: 15px; height: 15px; }
.vendor-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .6rem; padding: 0; color: #4b5563; font-size: .92rem; }
.vendor-facts li { display: inline-flex; align-items: center; gap: .35rem; }
.vendor-facts svg { width: 16px; height: 16px; color: var(--primary); }
.vendor-about { margin-top: .85rem; color: #374151; line-height: 1.6; white-space: pre-line; max-width: 72ch; }
.vendor-catalog { align-self: center; margin-top: .9rem; }
@media (max-width: 640px) {
    .vendor-hero-banner { aspect-ratio: 16 / 7; min-height: 0; }
    .vendor-hero-banner.has-image img { max-height: 260px; }
    .vendor-hero-body { padding: 0 1rem 1.25rem; gap: .75rem; }
    .vendor-hero-logo { width: 84px; height: 84px; margin-top: -42px; }
    .vendor-hero-main { padding-top: 0; min-width: 0; flex-basis: 100%; }
    .vendor-hero-main h1 { font-size: 1.3rem; }
    .vendor-catalog { width: 100%; justify-content: center; }
}
.vendor-products-title { font-size: 1.25rem; margin-top: .25rem; }
.seller-card { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; padding: .75rem .9rem; border: 1px solid var(--border, #e5e7eb); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s; }
.seller-card:hover { border-color: var(--primary); }
.seller-card-logo { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #e8c766; font-weight: 900; font-size: 1.2rem; }
.seller-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.seller-card-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.seller-card-text small { color: #6b7280; font-size: .78rem; }
.seller-card-text strong { display: inline-flex; align-items: center; gap: .3rem; }
.seller-card-text strong svg { width: 15px; height: 15px; color: #16a34a; }
.seller-card-text span { color: #6b7280; font-size: .82rem; }
.seller-card-link { display: inline-flex; align-items: center; gap: .2rem; color: var(--primary); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.seller-card-link svg { width: 16px; height: 16px; }

/* Suivi d'une demande de retour / remboursement */
.return-card { border: 1px solid var(--border, #e5e7eb); border-radius: 14px; padding: 1rem; margin-bottom: 1rem; background: #fff; }
.return-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.return-steps { list-style: none; margin: 0; padding: 0 0 0 1.4rem; position: relative; }
.return-steps::before { content: ''; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--border, #e5e7eb); }
.return-steps li { position: relative; padding: 0 0 .85rem .6rem; }
.return-steps li:last-child { padding-bottom: 0; }
.return-steps li::before { content: ''; position: absolute; left: -1.25rem; top: .25rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #cbd5e1; }
.return-steps li.done::before { background: var(--primary); border-color: var(--primary); }
.return-steps strong { display: block; font-size: .95rem; }
.return-steps span { display: block; color: #6b7280; font-size: .85rem; margin-top: .1rem; }
.return-message { margin-top: .75rem; padding: .7rem .85rem; background: #f8fafc; border-radius: 10px; font-size: .9rem; display: flex; gap: .5rem; align-items: flex-start; }
.return-message svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .15rem; color: var(--primary); }

/* Pages d'information (retours, livraison, CGV…) */
.info-page { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.info-page > * { min-width: 0; }
.info-nav { display: flex; flex-direction: column; gap: .25rem; position: sticky; top: 1rem; }
.info-nav a { display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; border-radius: 10px; color: #374151; text-decoration: none; font-weight: 600; font-size: .92rem; }
.info-nav a svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }
.info-nav a:hover { background: #f8fafc; }
.info-nav a.active { background: var(--primary-soft); color: var(--primary); }
.info-body { line-height: 1.7; color: #1f2937; }
.info-body h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.info-body h3:first-child { margin-top: 0; }
.info-body p { margin: 0 0 .8rem; }
.info-body ul, .info-body ol { margin: 0 0 1rem 1.25rem; }
.info-body li { margin-bottom: .4rem; }
@media (max-width: 860px) {
    .info-page { grid-template-columns: 1fr; }
    .info-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .25rem; }
    .info-nav a { white-space: nowrap; background: #fff; border: 1px solid var(--border, #e5e7eb); }
}

/* Filtre de prix : curseur à deux poignées et tranches prédéfinies */
.price-range-values { font-weight: 700; font-size: .92rem; margin: 0 0 .5rem; }
.range-slider { position: relative; height: 28px; margin: 0 .4rem .6rem; }
.range-slider::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--border); }
.range-slider .range-fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: var(--primary); }
.range-slider input[type=range] { position: absolute; left: -.4rem; right: -.4rem; width: calc(100% + .8rem); top: 4px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 20px; }
.range-slider input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
.range-slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: pointer; }
.range-slider input[type=range]::-moz-range-track { background: none; }
.price-presets { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.price-presets .chip { padding: .3rem .6rem; font-size: .78rem; }
.price-presets .chip.active, .active-filters .chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.active-filters .chip { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.active-filters .chip svg { width: 14px; height: 14px; }

/* WhatsApp */
.btn-whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.btn-wave { background: #1dc8f2; border-color: #1dc8f2; color: #04254a; font-weight: 800; justify-content: center; }
.btn-wave:hover { background: #12b5de; border-color: #12b5de; color: #04254a; }
.btn-orange-money { background: #ff7900; border-color: #ff7900; color: #fff; font-weight: 800; justify-content: center; }
.btn-orange-money:hover { background: #e86d00; border-color: #e86d00; color: #fff; }
.online-pay { border: 1.5px solid var(--primary); border-radius: 14px; padding: .9rem 1rem; margin-bottom: .9rem; background: #fff; }
.online-pay-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .5rem; }
.om-pay { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.om-pay .om-amount { font-size: 1.8rem; font-weight: 800; }
.om-pay .om-qr { width: 220px; max-width: 70vw; height: auto; aspect-ratio: 1; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: .6rem; }
.om-pay .om-actions { display: grid; gap: .5rem; width: 100%; max-width: 360px; }
@media (max-width: 760px) { .om-pay .om-qr-block { order: 2; } }
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: .45rem; background: #25D366; color: #fff; border-radius: 999px; padding: .75rem 1rem; font-weight: 700; font-size: .9rem; box-shadow: 0 8px 24px rgba(37,211,102,.35); text-decoration: none; }
.wa-float [data-lucide] { width: 20px; height: 20px; }
.wa-float:hover { color: #fff; transform: translateY(-1px); }
@media (max-width: 640px) { .wa-float { padding: .8rem; } .wa-float span { display: none; } }
.vendor-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-self: center; margin-top: .9rem; }
[data-whatsapp-field][hidden] { display: none; }
.vendor-actions .vendor-catalog { margin-top: 0; }
@media (max-width: 640px) { .vendor-actions { width: 100%; } }
.whatsapp-same { margin: -.25rem 0 .9rem; }
.whatsapp-same [data-lucide] { width: 15px; height: 15px; display: inline; vertical-align: -3px; color: #25D366; }

/* Small phones (≤ 400 px): compact cards, two-column categories, timers that wrap */
.flash-timer { justify-content: center; }
.countdown { flex-wrap: wrap; justify-content: center; }
@media (max-width: 400px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .page-head h1, h1 { font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
    .product-grid { gap: .5rem; }
    .p-body { padding: .55rem; gap: .25rem; }
    .p-name { font-size: .82rem; }
    .p-vendor { font-size: .64rem; }
    .price .now { font-size: .98rem; }
    .price .was { font-size: .74rem; }
    .p-card .member-price { font-size: .68rem; padding: .3rem .4rem; gap: .25rem; }
    .p-card .member-price [data-lucide] { display: none; }
    .p-card .member-price a { display: block; }
    .tag { font-size: .6rem; padding: .2rem .45rem; }
    .flash-band { padding: 1rem .75rem; border-radius: 16px; }
    .countdown { gap: .3rem; }
    .countdown span { min-width: 40px; padding: .3rem .4rem; font-size: .9rem; border-radius: 8px; }
    .flash-timer { flex-direction: column; gap: .3rem; }
    .flash-timer .countdown { gap: .2rem; flex-wrap: nowrap; }
    .flash-timer .countdown span { min-width: 29px; padding: .22rem .2rem; font-size: .74rem; }
    .flash-timer .countdown span small { font-size: .5rem; }
    .seller-card { gap: .6rem; padding: .65rem .7rem; }
    .seller-card-logo { width: 40px; height: 40px; }
    .seller-card-link { font-size: 0; gap: 0; }
    .seller-card-link svg { width: 20px; height: 20px; }
    .panel { padding: .95rem; }
    .btn-lg { padding-left: 1rem; padding-right: 1rem; font-size: .95rem; }
    .checkout-steps { font-size: .74rem; }
    .checkout-steps li:not(.current) { font-size: 0; gap: 0; }
    .checkout-steps li + li::before { width: 14px; margin-right: .3rem; }
}

/* Product condition (new, used, refurbished, broken) */
.condition-box { margin-top: .9rem; display: grid; gap: .15rem; padding: .7rem .85rem; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-size: .88rem; }
.condition-label { display: inline-flex; align-items: center; gap: .35rem; color: var(--secondary); }
.condition-label [data-lucide] { width: 16px; height: 16px; }
.condition-text { color: var(--muted); font-size: .84rem; }
.condition-new { border-color: #bbf7d0; background: #f0fdf4; }
.condition-new .condition-label [data-lucide] { color: var(--success); }
.condition-like_new, .condition-good, .condition-refurbished { border-color: #bfdbfe; background: #eff6ff; }
.condition-like_new .condition-label [data-lucide], .condition-good .condition-label [data-lucide], .condition-refurbished .condition-label [data-lucide] { color: #2563eb; }
.condition-fair { border-color: #fde68a; background: #fffbeb; }
.condition-for_parts { border-color: #fecaca; background: #fef2f2; }
.condition-for_parts .condition-label [data-lucide] { color: var(--danger); }
.tag-condition-like_new, .tag-condition-good, .tag-condition-fair { background: #dbeafe; color: #1e40af; }
.tag-condition-refurbished { background: #e0e7ff; color: #3730a3; }
.tag-condition-for_parts { background: #fee2e2; color: #991b1b; }

/* Invoices on the tracking page */
.invoice-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .85rem; border: 1px solid var(--border); border-radius: 12px; margin-bottom: .5rem; color: var(--secondary); text-decoration: none; }
.invoice-link:hover { border-color: var(--primary); }
.invoice-link span { display: grid; }
.invoice-link small { color: var(--muted); }
.invoice-link [data-lucide] { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; }

/* Home categories: one row that scrolls horizontally (swipe, mouse drag, wheel or arrows) */
.section-tight { margin-top: 2rem; }
.section-tight .section-head { margin-bottom: .75rem; }
.cat-scroller { position: relative; }
.cat-strip { display: flex; flex-wrap: nowrap; gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; padding: .25rem .1rem .6rem; cursor: grab; touch-action: pan-x pan-y; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.cat-strip.dragging a { pointer-events: none; }
.cat-scroller.can-next .cat-strip { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.cat-chip { flex: 0 0 104px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; color: var(--secondary); text-decoration: none; padding: .2rem; user-select: none; -webkit-user-drag: none; }
.cat-chip .ic { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: transform .2s, border-color .2s, background .2s; }
.cat-chip .ic [data-lucide] { width: 24px; height: 24px; }
.cat-chip .name { font-size: .8rem; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-chip:hover .ic, .cat-chip:focus-visible .ic { transform: translateY(-2px); border-color: var(--accent); background: var(--primary-soft); }
.cat-arrow { position: absolute; top: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--secondary); box-shadow: var(--shadow-md, 0 6px 18px rgba(15,23,42,.15)); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cat-arrow[hidden] { display: none; }
.cat-arrow.prev { left: -8px; }
.cat-arrow.next { right: -8px; }
.cat-arrow [data-lucide] { width: 20px; height: 20px; }
@media (hover: none), (max-width: 640px) { .cat-arrow { display: none !important; } }
@media (max-width: 640px) {
    .cat-strip { gap: .4rem; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
    .cat-chip { flex: 0 0 76px; }
    .cat-chip .ic { width: 52px; height: 52px; }
    .cat-chip .ic [data-lucide] { width: 22px; height: 22px; }
    .cat-chip .name { font-size: .72rem; }
}
@media (max-width: 400px) { .cat-strip { margin: 0 -12px; padding-left: 12px; padding-right: 12px; } }
.condition-warranty { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; color: var(--secondary); font-size: .85rem; }
.condition-warranty [data-lucide] { width: 15px; height: 15px; color: var(--success); }

/* Reminder to keep orders and payments on JOSESTORE (traceability and security) */
.on-site-notice { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: .86rem; line-height: 1.5; margin: 1rem 0; }
.on-site-notice > [data-lucide], .on-site-notice > svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .1rem; color: #059669; }
.on-site-notice strong { display: block; font-size: .92rem; color: #064e3b; margin-bottom: .1rem; }
.on-site-notice span { display: block; overflow-wrap: anywhere; }
.on-site-notice.compact { padding: .6rem .8rem; font-size: .8rem; margin: .75rem 0 0; }
.on-site-notice.compact strong { font-size: .85rem; }
.vendor-hero-notice { flex-basis: 100%; min-width: 0; }
.vendor-hero-notice .on-site-notice { margin: 0; }

/* Home product rows: scroll sideways to see every product (swipe, drag, wheel or arrows), "see all" card at the end */
.product-scroller { position: relative; }
.product-row { display: flex; flex-wrap: nowrap; gap: 1.1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; padding: .25rem .1rem .75rem; cursor: grab; touch-action: pan-x pan-y; }
.product-row::-webkit-scrollbar { display: none; }
.product-row.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.product-row.dragging a, .product-row.dragging button { pointer-events: none; }
.product-row img { -webkit-user-drag: none; user-select: none; }
.product-row-item { flex: 0 0 clamp(190px, 21vw, 240px); scroll-snap-align: start; display: flex; min-width: 0; }
.product-row-item > .p-card { width: 100%; }
.product-scroller.can-next .product-row { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.product-row-more { flex: 0 0 160px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; text-align: center; border: 2px dashed var(--border); border-radius: var(--radius); color: var(--primary); font-weight: 800; text-decoration: none; padding: 1rem; background: rgba(255,255,255,.6); }
.product-row-more .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.product-row-more:hover .ic { transform: translateX(3px); }
.flash-band .product-row-more { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.flash-band .product-row-more .ic { background: var(--accent); color: var(--secondary); }
.row-arrow { position: absolute; top: 34%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--secondary); box-shadow: var(--shadow-md, 0 6px 18px rgba(15,23,42,.15)); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.row-arrow[hidden] { display: none; }
.row-arrow.prev { left: -14px; }
.row-arrow.next { right: -14px; }
.row-arrow [data-lucide] { width: 22px; height: 22px; }
@media (hover: none), (max-width: 640px) { .row-arrow { display: none !important; } }
@media (max-width: 640px) {
    .product-row { gap: .6rem; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
    .product-row-item { flex-basis: 44vw; }
    .product-row-more { flex-basis: 34vw; }
    .flash-band .product-row { margin: 0 -.75rem; padding-left: .75rem; padding-right: .75rem; scroll-padding-left: .75rem; }
}
@media (max-width: 400px) {
    .product-row { margin: 0 -12px; padding-left: 12px; padding-right: 12px; scroll-padding-left: 12px; }
}

/* ---------- Location ---------- */
.tag-rental { background: var(--info-soft); color: var(--info); display: inline-flex; align-items: center; gap: .3rem; }
.tag-rental svg { width: 14px; height: 14px; }
.price .per { font-size: .85rem; font-weight: 600; color: var(--muted); margin-left: .25rem; }
.rental-facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9rem; color: var(--muted); }
.rental-facts span { display: inline-flex; align-items: center; gap: .35rem; }
.rental-facts svg { width: 15px; height: 15px; color: var(--primary); }
.rental-terms { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.rental-terms h3 { font-size: .95rem; display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem; }
.rental-terms svg { width: 16px; height: 16px; color: var(--primary); }
.rental-form { margin-top: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.rental-form h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .45rem; margin-bottom: .75rem; }
.rental-form h3 svg { color: var(--primary); }
.rental-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: .9rem; }
.rental-grid label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 600; }
.rental-grid .full { grid-column: 1 / -1; }
.rental-grid .checkbox-line { flex-direction: row; align-items: center; gap: .5rem; font-weight: 500; }
.product-videos { margin-top: 1rem; display: grid; gap: .75rem; }
.product-videos h2 { font-size: 1rem; display: flex; align-items: center; gap: .4rem; }
.product-videos video { width: 100%; max-height: 420px; border-radius: 12px; background: #000; }
.narrow-page { max-width: 820px; }
.rental-card { margin-top: 1rem; }
.rental-card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }
.rental-head { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1rem; }
.rental-head img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.rental-head h1 { font-size: 1.35rem; margin: .35rem 0 .2rem; }
.rental-head > div { flex: 1; min-width: 200px; }
.rental-status { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--warning-soft); color: var(--warning); white-space: nowrap; }
.rental-status-rented { background: var(--success-soft); color: var(--success); }
.rental-status-not_rented { background: var(--bg); color: var(--muted); }
.rental-status-disputed { background: var(--danger-soft); color: var(--danger); }
.rental-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin-bottom: 1rem; }
.rental-details dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.rental-details dd { font-weight: 600; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.choice-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; font-weight: 600; background: var(--card); }
.choice-pill:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.mandate-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: start; margin: 1.25rem 0; }
.mandate-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: .5rem 0; }
.mandate-hero .rich { margin-bottom: 1rem; }
.mandate-hero .btn { margin: .25rem .4rem .25rem 0; }
.mandate-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.mandate-steps li { display: flex; gap: .75rem; padding: .9rem 1rem; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.mandate-steps li > svg { flex: none; width: 22px; height: 22px; color: var(--primary); margin-top: .1rem; }
.mandate-steps strong { display: block; }
.mandate-steps span { color: var(--muted); font-size: .9rem; }
.mandate-form-panel { margin-bottom: 2rem; }
.mandate-form-panel h2 { display: flex; align-items: center; gap: .45rem; font-size: 1.2rem; margin-bottom: 1rem; }
@media (max-width: 760px) {
    .rental-grid, .rental-details, .mandate-hero { grid-template-columns: 1fr; }
}
