/* No Labels — béton, noir, cobalt. Motif : étiquette de prix suspendue + ligne de découpe. */
:root {
  --ink: #16181d;
  --ink-2: #2a2e37;
  --concrete: #e4e6e9;
  --paper: #ffffff;
  --cobalt: #2346ff;
  --cobalt-soft: #e3e8ff;
  --muted: #5d6370;
  --line: #cfd3d9;
  --red: #c4231b;
  --green: #127a4a;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 16px/1.5 var(--font); font-stretch: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 125%; font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grow { flex: 1; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.announce { background: var(--cobalt); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px 16px; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; gap: 6px; height: 60px; }
.logo { font-stretch: 125%; font-weight: 900; font-size: 1.35rem; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; border-radius: 12px; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.12); } }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; color: #c9cdd6; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; border: 1.5px solid #3a3f4a; white-space: nowrap; }
.tab[aria-current="page"] { background: #fff; color: var(--ink); border-color: #fff; }

main { min-height: 60vh; padding: 20px 0 48px; }
main:focus { outline: none; }

/* bandeau d'ouverture */
.intro { display: grid; gap: 6px; padding: 18px 0 8px; }
.intro h1 { font-size: clamp(2.2rem, 9vw, 4.6rem); font-weight: 900; text-transform: uppercase; }
.intro h1 .cut { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.intro p { max-width: 52ch; color: var(--muted); font-size: 1.05rem; margin-top: 8px; }
.cutline { height: 0; border-top: 2px dashed var(--ink); margin: 22px 0; position: relative; }
.cutline::before { content: "✂"; position: absolute; left: 0; top: -14px; font-size: 18px; background: var(--concrete); padding-right: 8px; }

.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 28px 0 14px; }
.section-title h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); text-transform: uppercase; }
.section-title a { font-weight: 700; font-size: .95rem; }

/* grille produits */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: block; text-decoration: none; background: var(--paper); border-radius: 6px; overflow: hidden; }
.card .pic { aspect-ratio: 4 / 5; background: #f1f2f4; position: relative; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
@media (hover: hover) { .card:hover .pic img, .card:hover .pic svg { transform: scale(1.04); } }
.card .meta { padding: 12px 12px 14px; }
.card .name { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.card .dots { display: flex; gap: 5px; margin-top: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }
.flag { position: absolute; bottom: 10px; left: 10px; z-index: 2; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 800; padding: 4px 9px; border-radius: 4px; }
.flag.cobalt { background: var(--cobalt); }
.flag.grey { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }

/* étiquette prix suspendue */
.tag { position: absolute; right: 10px; top: 10px; z-index: 2; background: #fff; color: var(--ink); font-weight: 800; font-size: .95rem; padding: 6px 10px 6px 22px; border-radius: 3px 6px 6px 3px; box-shadow: 0 6px 14px rgba(0, 0, 0, .14); transform: rotate(4deg); transform-origin: 100% 0; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--concrete); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tag s { color: var(--muted); font-weight: 600; font-size: .8em; margin-right: 4px; }
.tag.soon { font-size: .8rem; }

.art { width: 100%; height: 100%; display: grid; place-items: center; }
.art svg { width: 72%; height: 72%; transition: transform .35s; }

/* fiche produit */
.pdp { display: grid; gap: 22px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; } .pdp .gallery { position: sticky; top: 130px; } }
.gallery .main { aspect-ratio: 4 / 5; background: #fff; border-radius: 6px; overflow: hidden; position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); text-transform: uppercase; }
.price-big { font-stretch: 125%; font-size: 1.7rem; font-weight: 800; margin-top: 10px; }
.price-big s { font-size: .65em; color: var(--muted); margin-left: 8px; font-weight: 600; }
.block { margin-top: 22px; }
.block > .label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.block > .label span + span { color: var(--muted); font-weight: 500; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); position: relative; }
.swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 0 0 3px var(--concrete), 0 0 0 5px var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 52px; height: 46px; padding: 0 12px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.size[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size:disabled { color: #a3a8b2; text-decoration: line-through; cursor: not-allowed; background: #f3f4f6; }
.sizes.models .size { font-weight: 600; font-size: .92rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; border-radius: 50%; }
.qty span { min-width: 30px; text-align: center; font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink-2); }
.btn[disabled] { background: #9aa0aa; cursor: not-allowed; }
.btn.cobalt { background: var(--cobalt); }
.btn.wa { background: #1c8a4b; }
.btn.line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.block-btn { width: 100%; }
.add-row { display: flex; gap: 10px; margin-top: 24px; }
.add-row .btn { flex: 1; }
.notice { background: #fff; border-left: 4px solid var(--cobalt); padding: 10px 12px; border-radius: 4px; font-size: .9rem; margin-top: 14px; }
.err { color: var(--red); font-weight: 600; font-size: .9rem; margin-top: 10px; }
.desc { white-space: pre-line; margin-top: 18px; color: #2f333b; }
.details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .92rem; color: var(--muted); white-space: pre-line; }

/* panier (tiroir) */
.drawer-back { position: fixed; inset: 0; background: rgba(10, 12, 16, .55); z-index: 60; display: flex; justify-content: flex-end; }
.drawer { background: var(--concrete); width: min(460px, 100%); height: 100%; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0, 0, 0, .25); }
@media (prefers-reduced-motion: no-preference) { .drawer { animation: slideIn .25s ease-out; } @keyframes slideIn { from { transform: translateX(40px); opacity: .4; } } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; padding-top: calc(16px + env(safe-area-inset-top)); background: var(--ink); color: #fff; }
.drawer-head h2 { font-size: 1.3rem; text-transform: uppercase; }
.drawer-body { flex: 1; overflow: auto; padding: 14px 16px; }
.drawer-foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px dashed var(--ink); }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; background: #fff; border-radius: 6px; padding: 10px; align-items: center; }
.line-item + .line-item { margin-top: 8px; }
.line-item .thumb { width: 72px; height: 90px; border-radius: 4px; overflow: hidden; background: #f1f2f4; }
.line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item .t { font-weight: 700; line-height: 1.2; }
.line-item .v { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.line-item .p { font-weight: 800; text-align: right; }
.line-item .qty button { width: 34px; height: 34px; font-size: 1.1rem; }
.line-item .rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; padding: 4px 0; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-stretch: 125%; font-weight: 800; font-size: 1.35rem; margin-bottom: 4px; }
.field { margin-top: 12px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 46px; border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 12px; background: #fff; }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg button { min-height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: 6px; font-weight: 700; cursor: pointer; }
.seg button[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.empty { text-align: center; padding: 40px 10px; }
.empty .big { font-stretch: 125%; font-weight: 900; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 8px; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); font-weight: 600; }
.toast button { background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; }

.foot { background: var(--ink); color: #c9cdd6; padding: 32px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 20px; }
.foot .wrap { display: grid; gap: 14px; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot .logo { color: #fff; font-size: 1.6rem; }
.foot a { color: #fff; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
