/* Concept : boutique rose sur rose, la figurine Miss Boobs posée sur chaque goodie, slogans en grand */
:root {
  --bg: #f8c4d4;
  --bg-soft: #fad3df;
  --card: #fde3ec;
  --rose: #ee7ba2;
  --rose-deep: #c2255c;
  --ink: #6b1237;
  --white-rose: #fff0f5;
  --font-display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 48px;
}
.wrap { max-width: 1080px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; line-height: 1.05; color: var(--rose-deep); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Bandeau */
.top { background: var(--rose-deep); color: var(--white-rose); text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); }

/* En tete */
header.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 28px; color: var(--rose-deep); text-decoration: none; }
.brand .logo-h { width: 92px; height: auto; display: block; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a, .chip { text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 2px solid var(--rose); color: var(--ink); }
nav a:hover { background: var(--rose); color: var(--white-rose); }
.basket { cursor: pointer; font-family: inherit; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-block: 24px 40px; }
.hero h1 { font-size: clamp(44px, 9vw, 92px); }
.hero p { font-size: 19px; max-width: 46ch; margin: 18px 0 24px; }
.btn { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 16px; border: 0; cursor: pointer; text-decoration: none; padding: 13px 22px; border-radius: 999px; background: var(--rose-deep); color: var(--white-rose); }
.btn:hover { background: var(--ink); }
.btn.alt { background: var(--bg-soft); color: var(--ink); border: 2px solid var(--rose-deep); }
.btn.alt:hover { background: var(--rose); color: var(--white-rose); }
.hero-art { background: var(--card); border-radius: 50% 50% 46% 54% / 56% 48% 52% 44%; aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; }
.hero-art svg { width: auto; height: 82%; }

/* Phrases defilantes */
.slogans { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 8px 36px; }
.slogans span { font-family: var(--font-display); font-size: 20px; color: var(--ink); background: var(--bg-soft); border: 2px dashed var(--rose-deep); padding: 8px 16px; border-radius: 999px; }

/* Boutique */
section { padding-block: 16px 40px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(32px, 6vw, 52px); }
.sec-head p { margin: 0; max-width: 40ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.item { background: var(--card); border-radius: 26px; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.item .pic { background: var(--rose); border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; }
.item .pic svg { width: 80%; height: 80%; }
.item .pic { overflow: hidden; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item h3 { font-size: 24px; }
.item .tag { font-size: 14px; margin: 0; font-style: italic; }
.item .cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
.item .btn { margin-top: auto; text-align: center; padding: 10px 16px; font-size: 15px; }
.item .btn[aria-pressed="true"] { background: var(--ink); }

/* Fiche t-shirt */
.feature { background: var(--card); border-radius: 32px; padding: clamp(14px, 3vw, 28px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(18px, 4vw, 40px); align-items: start; }
.gallery { min-width: 0; display: grid; gap: 12px; }
.main { background: var(--rose); border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.main.sq { aspect-ratio: 1; }
@media (min-width: 761px) { .feature.rev .gallery { order: 2; } }
.main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--rose); }
.thumbs button[aria-current="true"] { border-color: var(--rose-deep); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.info h2 { font-size: clamp(34px, 6vw, 56px); }
.info .tag { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 0; }
.info ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.info li { background: var(--bg-soft); border-radius: 14px; padding: 10px 14px; }
.info li b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
.info .btn { align-self: flex-start; }
.motif { background: var(--white-rose); border-radius: 20px; padding: 14px; display: flex; align-items: center; gap: 16px; }
.motif svg { width: 120px; height: auto; flex: 0 0 auto; }
.motif span { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.info .cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }

/* Message */
.message { background: var(--rose-deep); color: var(--white-rose); border-radius: 32px; padding: clamp(22px, 5vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.message h2 { color: var(--white-rose); font-size: clamp(30px, 5vw, 46px); }
.message ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.message li { background: rgba(255,240,245,.14); border-radius: 18px; padding: 14px 16px; }
.message li strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; display: block; }

/* Selection */
.sel { background: var(--card); border-radius: 26px; padding: 22px; }
.sel ul { margin: 12px 0 16px; padding-left: 20px; }
.sel .empty { font-style: italic; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { font-size: 14px; }

footer { border-top: 3px solid var(--rose-deep); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 14px; }
footer .brand .logo-h { width: 76px; }

@media (max-width: 760px) {
  .hero, .message, .feature { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; justify-self: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .item { transition: transform .2s ease; }
  .item:hover { transform: translateY(-4px) rotate(-.6deg); }
}

/* Ajouts boutique en ligne */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.price { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin: 0; }
.price.soldout { font-size: 18px; font-style: italic; }
.item form, .info form { display: contents; }
.item form .btn { margin-top: auto; text-align: center; padding: 10px 16px; font-size: 15px; }
.info form .btn { align-self: flex-start; }
.flash { border-radius: 14px; padding: 10px 14px; background: var(--card); border: 2px solid var(--rose); font-weight: 700; }
.flash.err { border-color: var(--rose-deep); color: var(--rose-deep); }
.cart { display: grid; gap: 12px; }
.cart-line { background: var(--card); border-radius: 22px; padding: 12px 14px; display: grid; grid-template-columns: 72px 1fr auto auto; gap: 12px; align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: var(--rose); }
.cl-qty { display: flex; gap: 8px; align-items: center; }
.cl-qty input { width: 64px; padding: 8px; border-radius: 12px; border: 2px solid var(--rose); font: inherit; background: var(--white-rose); color: var(--ink); }
.cl-qty .btn { padding: 8px 14px; font-size: 14px; }
.cl-total { font-family: var(--font-display); font-size: 22px; min-width: 80px; text-align: right; }
.cart-sum { background: var(--card); border-radius: 22px; padding: 14px 18px; display: grid; gap: 8px; }
.cart-sum div { display: flex; justify-content: space-between; }
.cart-sum .grand { font-family: var(--font-display); font-size: 26px; color: var(--rose-deep); border-top: 2px dashed var(--rose-deep); padding-top: 8px; }
.checkout { display: grid; gap: 12px; justify-items: start; }
.cgv { font-size: 15px; }
.legal h3 { font-size: 22px; margin: 18px 0 6px; }
.legal p { margin: 0 0 8px; }
@media (max-width: 640px) { .cart-line { grid-template-columns: 56px 1fr; } .cart-line img { width: 56px; height: 56px; } .cl-qty, .cl-total { grid-column: 1 / -1; text-align: left; } }

/* Personnalisation du t-shirt */
.perso-view { background: var(--card); display: grid; place-items: center; padding: 16px; }
.perso-view svg { width: 100%; max-width: 420px; height: auto; }
.hint-line { font-size: 14px; margin: 8px 0 0; }
.opts { border: 2px dashed var(--rose-deep); border-radius: 16px; padding: 10px 14px 14px; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { font-family: var(--font-display); font-size: 18px; color: var(--rose-deep); padding: 0 6px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 2px solid var(--rose); font-weight: 700; }
.opt input:checked + span { background: var(--rose-deep); color: var(--white-rose); border-color: var(--rose-deep); }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
#perso-photo { width: 100%; height: auto; display: block; border-radius: 16px; }
.perso-view { padding: 0; }
.perso-view svg { padding: 16px; }
