/* Boutique JeuxEnd : catalogue, fiche produit, paiement, commandes. Styles isolés (préfixe je-shop). */
.je-shop{--ink:#18181b;--muted:#52525b;--soft:#71717a;--line:#e4e4e7;--bg:#fafafa;--accent:#e11d48;--accent-soft:#fff1f2;--ok:#047857;--ok-soft:#ecfdf5;--warn:#b45309;--warn-soft:#fffbeb;max-width:1200px;margin:0 auto;padding:28px 16px 56px;color:var(--ink)}
.je-shop *{box-sizing:border-box}
.je-shop a{color:inherit}
.je-shop-crumbs{font-size:14px;color:var(--soft);margin-bottom:18px}
.je-shop-crumbs a{text-decoration:underline}
.je-shop-hero{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between;border:1px solid var(--line);background:#fff;border-radius:24px;padding:26px}
.je-shop-kicker{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:0}
.je-shop h1{font-size:clamp(28px,4vw,40px);font-weight:900;line-height:1.1;letter-spacing:-.02em;margin:6px 0 0}
.je-shop-lead{color:var(--muted);margin:10px 0 0;max-width:640px;line-height:1.6}
.je-shop-wallet{display:inline-flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:16px;padding:10px 16px;background:var(--bg);font-size:13px;color:var(--muted);text-decoration:none}
.je-shop-wallet strong{font-size:20px;color:var(--ink)}
.je-shop-promo{margin-top:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;border-radius:20px;padding:16px 20px;background:linear-gradient(120deg,#18181b,#3f0d1d);color:#fff}
.je-shop-promo p{margin:0;line-height:1.5}
.je-shop-promo a{color:#fff;font-weight:800;white-space:nowrap}
.je-shop-grid{display:grid;gap:20px;margin-top:24px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.je-shop-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden;transition:transform .15s,box-shadow .15s}
.je-shop-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(24,24,27,.08)}
.je-shop-card-media{position:relative;display:block;aspect-ratio:1/1;background:var(--bg);border-bottom:1px solid var(--line)}
.je-shop-card-media img,.je-shop-card-media svg{width:100%;height:100%;object-fit:contain;display:block}
.je-shop-badges{position:absolute;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:6px}
.je-shop-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;background:#fff;border:1px solid var(--line);color:var(--ink)}
.je-shop-badge--accent{background:var(--accent);border-color:var(--accent);color:#fff}
.je-shop-badge--ok{background:var(--ok-soft);border-color:#a7f3d0;color:var(--ok)}
.je-shop-badge--warn{background:var(--warn-soft);border-color:#fde68a;color:var(--warn)}
.je-shop-card-body{display:flex;flex-direction:column;gap:8px;padding:18px;flex:1}
.je-shop-card-body h2{font-size:18px;font-weight:900;margin:0;line-height:1.3}
.je-shop-card-body h2 a{text-decoration:none}
.je-shop-card-body p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.je-shop-price{display:flex;align-items:baseline;gap:10px;margin-top:auto;padding-top:6px}
.je-shop-price strong{font-size:24px;font-weight:900}
.je-shop-price s{color:var(--soft);font-size:14px}
.je-shop-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:13px 20px;background:var(--ink);color:#fff!important;font-weight:800;font-size:15px;text-decoration:none;cursor:pointer;width:100%}
.je-shop-btn:hover{background:#3f3f46}
.je-shop-btn:disabled{opacity:.55;cursor:not-allowed}
.je-shop-btn--ghost{background:#fff;color:var(--ink)!important;border:1px solid #d4d4d8}
.je-shop-btn--ghost:hover{background:var(--bg)}
.je-shop-btn--accent{background:var(--accent)}
.je-shop-btn--accent:hover{background:#be123c}
.je-shop-empty{grid-column:1/-1;text-align:center;border:1px solid var(--line);border-radius:22px;background:#fff;padding:32px;color:var(--muted)}
/* Fiche produit */
.je-shop-product{display:grid;gap:32px;margin-top:8px}
@media(min-width:900px){.je-shop-product{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start}}
.je-shop-gallery-main{position:relative;aspect-ratio:1/1;border:1px solid var(--line);border-radius:24px;background:var(--bg);overflow:hidden}
.je-shop-gallery-main img,.je-shop-gallery-main svg{width:100%;height:100%;object-fit:contain;display:block}
.je-shop-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;padding:0;list-style:none}
.je-shop-thumbs button{width:76px;height:76px;padding:0;border:2px solid var(--line);border-radius:14px;background:var(--bg);overflow:hidden;cursor:pointer}
.je-shop-thumbs button[aria-current="true"]{border-color:var(--ink)}
.je-shop-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.je-shop-summary h1{margin-top:4px}
.je-shop-summary .je-shop-price strong{font-size:32px}
.je-shop-stock{font-size:14px;font-weight:700;margin:8px 0 0}
.je-shop-stock--ok{color:var(--ok)}
.je-shop-stock--out{color:var(--accent)}
.je-shop-short{color:var(--muted);line-height:1.7;margin:14px 0 0}
.je-shop-form{margin-top:22px;display:grid;gap:18px}
.je-shop-label{display:block;font-weight:800;font-size:14px;margin-bottom:8px}
.je-shop-sizes{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0}
.je-shop-sizes legend{font-weight:800;font-size:14px;margin-bottom:8px;padding:0}
.je-shop-size input{position:absolute;opacity:0;pointer-events:none}
.je-shop-size span{display:inline-flex;min-width:52px;justify-content:center;border:1.5px solid #d4d4d8;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer;background:#fff}
.je-shop-size input:checked+span{border-color:var(--ink);background:var(--ink);color:#fff}
.je-shop-size input:focus-visible+span{outline:3px solid #fda4af;outline-offset:2px}
.je-shop-qty{display:flex;align-items:center;gap:12px}
.je-shop-input{width:100%;border:1px solid #d4d4d8;border-radius:12px;padding:11px 14px;font-size:15px;background:#fff;color:var(--ink)}
.je-shop-input:focus{outline:3px solid #fecdd3;border-color:var(--accent)}
.je-shop-qty .je-shop-input{width:96px}
.je-shop-reassure{display:grid;gap:8px;margin:18px 0 0;padding:16px;border-radius:16px;background:var(--bg);border:1px solid var(--line);font-size:14px;color:var(--muted);list-style:none}
.je-shop-reassure li{display:flex;gap:10px;align-items:flex-start}
.je-shop-reassure .je-icon{color:var(--ink);margin-top:3px;width:16px;height:16px}
.je-shop-tabs{margin-top:36px;border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden}
.je-shop-tabs details{border-top:1px solid var(--line)}
.je-shop-tabs details:first-child{border-top:0}
.je-shop-tabs summary{cursor:pointer;padding:18px 22px;font-weight:900;font-size:16px;list-style:none;display:flex;justify-content:space-between}
.je-shop-tabs summary::after{content:"+";font-weight:900}
.je-shop-tabs details[open] summary::after{content:"–"}
.je-shop-tabs .je-shop-tab-body{padding:0 22px 20px;color:var(--muted);line-height:1.7}
.je-shop-table{width:100%;border-collapse:collapse;font-size:14px}
.je-shop-table th,.je-shop-table td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left}
.je-shop-table th{color:var(--ink)}
.je-shop-related h2{font-size:22px;font-weight:900;margin:40px 0 0}
/* Paiement / commandes */
.je-shop-panel{border:1px solid var(--line);border-radius:22px;background:#fff;padding:22px}
.je-shop-panel h2{font-size:18px;font-weight:900;margin:0 0 12px}
.je-shop-fields{display:grid;gap:12px}
@media(min-width:640px){.je-shop-fields--2{grid-template-columns:1fr 1fr}}
.je-shop-note{font-size:13px;color:var(--soft);line-height:1.5;margin:8px 0 0}
.je-shop-orders{width:100%;border-collapse:collapse;font-size:14px}
.je-shop-orders th,.je-shop-orders td{padding:12px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.je-shop-status{display:inline-flex;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;background:var(--bg);border:1px solid var(--line)}
.je-shop-status--paid,.je-shop-status--shipped{background:var(--ok-soft);border-color:#a7f3d0;color:var(--ok)}
.je-shop-status--pending{background:var(--warn-soft);border-color:#fde68a;color:var(--warn)}
.je-shop-table-wrap{overflow-x:auto}
.je-shop-gallery-main.is-portrait{aspect-ratio:550/1022;max-width:min(100%,430px);margin:0 auto;background:#111}
.je-shop-gallery-main.is-portrait img{object-fit:cover}
.je-shop-card-media img[srcset],.je-shop-recap-media img[srcset]{object-fit:cover;object-position:50% 58%}
.je-shop-thumbs img{object-position:50% 40%}
