/* Boutique : fiche produit, commande, confirmation */
.nav__links a.is-current::after { width: 100%; }

/* Fiche produit */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4vw; padding: 120px 5vw 8vh; align-items: start; }
.pdp__media { position: sticky; top: 90px; }
.pdp__stage { position: relative; height: calc(100vh - 130px); min-height: 520px; background: var(--ink); overflow: hidden; overflow: clip; display: flex; justify-content: center; align-items: flex-end; transition: background-color .6s; }
.pdp__bigtitle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--display); text-transform: uppercase; font-size: clamp(5rem, 15vw, 15rem); line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px rgba(var(--fg-rgb),.18); }
.pdp__glow { position: absolute; top: 55%; left: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(225,6,0,.35), transparent 62%); filter: blur(30px); }
body.theme-violet .pdp__glow { background: radial-gradient(circle, rgba(124,58,237,.3), transparent 62%); }
.pdp__stage .outfit { position: relative; z-index: 1; height: 94%; width: auto; object-fit: contain; transition: opacity .6s ease, scale .6s cubic-bezier(.2,.7,.2,1); }
.pdp__stage #outfitViolet { position: absolute; bottom: 0; left: 50%; translate: -50% 0; }
.pdp__stage .outfit:not(.is-shown) { opacity: 0; scale: .96; }
.pdp__slogan { position: absolute; z-index: 2; top: 24px; left: 24px; width: min(34%, 240px); filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.pdp__hint { position: absolute; z-index: 2; bottom: 20px; right: 20px; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--grey); }

.pdp__info { padding-top: 1rem; }
.pdp__crumbs { font-size: .75rem; color: var(--grey); margin-bottom: 2rem; }
.pdp__crumbs a:hover { color: var(--white); }
.pdp__info .label { display: flex; align-items: center; gap: .6rem; }
.pdp__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.pdp__title { font-size: clamp(3rem, 5.5vw, 5.5rem); margin-bottom: 1.2rem; }
.pdp__price { font-family: var(--display); font-size: 2.2rem; margin-bottom: 1.4rem; }
.pdp__desc { color: rgba(var(--fg-rgb),.72); line-height: 1.7; max-width: 520px; margin-bottom: 2.2rem; }

.pdp__option { margin-bottom: 1.8rem; }
.pdp__option-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: .9rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.pdp__option-title strong { color: var(--white); font-weight: 600; }
.pdp__guide { margin-left: auto; text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; }
.pdp__guide:hover { color: var(--white); }

.swatches { display: flex; gap: .8rem; }
.swatch { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); padding: 3px; background-clip: content-box; transition: .3s; position: relative; }
.swatch--red, .swatch--rouge { background-image: linear-gradient(135deg, #0a0a0a 50%, #e10600 50%); }
.swatch--violet { background-image: linear-gradient(135deg, #f5f5f3 50%, #7c3aed 50%); }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { border-color: var(--white); }

.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; max-width: 420px; }
.sizes button { padding: .9rem 0; border: 1px solid var(--line); font-weight: 600; font-size: .85rem; transition: .25s; }
.sizes button:hover { border-color: var(--white); }
.sizes button.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.pdp__add { width: 100%; max-width: 420px; padding: 1.2rem; margin: .4rem 0 1.6rem; }
.pdp__perks { list-style: none; display: grid; gap: .6rem; margin-bottom: 2rem; font-size: .85rem; color: rgba(var(--fg-rgb),.75); }
.pdp__perks li::before { content: '✓'; color: var(--red); font-weight: 700; margin-right: .7rem; }

.pdp__acc { border-top: 1px solid var(--line); max-width: 520px; }
.pdp__acc details { border-bottom: 1px solid var(--line); }
.pdp__acc summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; justify-content: space-between; }
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: '+'; font-size: 1.2rem; line-height: 1; transition: transform .3s; }
.pdp__acc details[open] summary::after { transform: rotate(45deg); }
.pdp__acc p { padding: 0 0 1.4rem; font-size: .9rem; line-height: 1.7; color: rgba(var(--fg-rgb),.7); }

/* Points forts */
.features { padding: 12vh 5vw; background: var(--ink); transition: background-color .6s; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { border: 1px solid var(--line); padding: 2.4rem 2rem; transition: border-color .3s, transform .3s; }
.feature:hover { border-color: var(--red); transform: translateY(-4px); }
.feature span { font-family: var(--display); font-size: 3rem; color: var(--red); }
.feature h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin: 1rem 0 .7rem; }
.feature p { font-size: .9rem; line-height: 1.7; color: rgba(var(--fg-rgb),.7); }

/* Bannière */
.drop-banner { position: relative; min-height: 80vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.drop-banner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.drop-banner__shade { position: absolute; inset: 0; background: rgba(var(--bg-rgb),.7); }
.drop-banner__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2.4rem; padding: 0 16px; }
.drop-banner__content img { width: min(560px, 80vw); filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); }

/* Responsive */
@media (max-width: 1000px) {
  .pdp { grid-template-columns: 1fr; padding-top: 100px; }
  .pdp__media { position: relative; top: 0; }
  .pdp__stage { height: 70vh; min-height: 440px; }
  .features__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pdp { padding-left: 16px; padding-right: 16px; gap: 2rem; }
  .pdp__slogan { width: 130px; top: 14px; left: 14px; }
  .features { padding-left: 16px; padding-right: 16px; }
  .sizes { max-width: none; }
  .pdp__add { max-width: none; }
}

/* Fiche produit : visuels selon le produit */
.pdp__stage.is-center { align-items: center; }
.pdp__photo { position: relative; z-index: 1; height: 94%; width: auto; object-fit: contain; transition: opacity .5s; }
.pdp__photo.crop-top, .pdp__photo.crop-bottom { width: 100%; height: 100%; object-fit: cover; }
.pdp__photo.crop-top { object-position: 50% 14%; transform: scale(1.55); transform-origin: 50% 20%; }
.pdp__photo.crop-bottom { object-position: 50% 88%; transform: scale(1.4); transform-origin: 50% 80%; }
.pdp__stage.is-logo { background: #0a0a0a; }
.pdp__stage.is-logo.is-light { background: #f2f0f6; }
.pdp__stage.is-logo .pdp__photo { width: 62%; height: auto; }
.pdp__stage.is-logo .pdp__bigtitle { -webkit-text-stroke-color: rgba(255,255,255,.12); }
.pdp__stage.is-logo.is-light .pdp__bigtitle { -webkit-text-stroke-color: rgba(0,0,0,.1); }
.pdp__buy { display: flex; gap: .7rem; max-width: 420px; margin: .4rem 0 1.6rem; }
.pdp__buy .pdp__add { margin: 0; flex: 1; width: auto; }
.pdp__err { color: var(--red); font-size: .8rem; font-weight: 600; min-height: 1.2em; margin: -.6rem 0 .8rem; }

/* Sélecteur de quantité (fiche produit + panier) */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 36px; height: 36px; font-size: 1.05rem; transition: background .2s; }
.qty button:hover { background: rgba(var(--fg-rgb),.08); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-size: .9rem; }
.pdp__buy .qty button { height: 100%; min-height: 52px; width: 44px; }

/* Tu aimeras aussi */
.more { padding: 10vh 5vw 12vh; }
.more .grid { margin-top: 2.4rem; }

/* Commande */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 5vw; padding: 130px 6vw 12vh; align-items: start; }
.checkout h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 2rem; }
.checkout__steps { display: flex; gap: .6rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.2rem; }
.checkout__steps b { color: var(--white); }
.co-block { border: 1px solid var(--line); padding: 1.6rem; margin-bottom: 1.2rem; }
.co-block h2 { font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; }
.co-block h2 span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: .72rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1rem; }
.field label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.field input { background: transparent; border: 1px solid var(--line); color: var(--white); font: inherit; padding: .95rem 1rem; outline: none; transition: border-color .2s; }
.field input:focus { border-color: var(--white); }
.ship-opt { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--line); padding: 1rem 1.1rem; margin-bottom: .6rem; cursor: pointer; transition: border-color .2s; }
.ship-opt.is-checked { border-color: var(--red); }
.ship-opt input { accent-color: var(--red); width: 18px; height: 18px; }
.ship-opt div { flex: 1; }
.ship-opt strong { display: block; font-size: .9rem; }
.ship-opt small { color: var(--grey); font-size: .78rem; }
.ship-opt em { font-style: normal; font-weight: 700; }
.co-note { font-size: .8rem; color: var(--grey); line-height: 1.6; }
.co-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; line-height: 1.5; margin: 1.2rem 0; cursor: pointer; }
.co-check input { accent-color: var(--red); width: 18px; height: 18px; margin-top: .1rem; flex: none; }
.co-check a { text-decoration: underline; text-underline-offset: 3px; }
.co-pay { width: 100%; padding: 1.2rem; font-size: .9rem; }
.co-pay[disabled] { opacity: .6; cursor: wait; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .75rem; color: var(--grey); margin-top: .9rem; }
.co-secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.co-msg { margin-top: 1rem; padding: 1rem 1.1rem; border-left: 3px solid var(--red); background: rgba(var(--fg-rgb),.05); font-size: .85rem; line-height: 1.6; }
.co-msg[hidden] { display: none; }
.summary { position: sticky; top: 100px; background: var(--ink); padding: 1.8rem; }
.summary h2 { font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: 1.2rem; }
.summary ul { list-style: none; margin-bottom: 1.2rem; }
.summary li { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.summary__img { position: relative; width: 64px; height: 80px; background: var(--card); }
.summary__img.is-light { background: #f2f0f6; }
.summary__img img { width: 100%; height: 100%; object-fit: contain; }
.summary__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.summary li p { font-size: .75rem; color: var(--grey); margin-top: .2rem; }
.summary li strong { font-size: .9rem; }
.summary__row { display: flex; justify-content: space-between; font-size: .9rem; padding: .35rem 0; color: rgba(var(--fg-rgb),.8); }
.summary__row.is-total { font-size: 1.1rem; font-weight: 700; color: var(--white); border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .9rem; }
.summary__empty { color: var(--grey); line-height: 1.6; }
.summary__empty a { color: var(--white); text-decoration: underline; }

/* Confirmation */
.thanks { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 150px 16px 12vh; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; margin: 0 auto 2rem; }
.thanks__icon svg { width: 38px; height: 38px; fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .6s .3s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.thanks h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); margin-bottom: 1.2rem; }
.thanks p { color: rgba(var(--fg-rgb),.75); line-height: 1.7; max-width: 520px; margin: 0 auto 1rem; }
.thanks .btn { margin-top: 1.4rem; }

@media (max-width: 1000px) {
  .checkout { grid-template-columns: 1fr; padding-top: 110px; }
  .summary { position: relative; top: 0; order: -1; }
}
@media (max-width: 760px) {
  .checkout { padding-left: 16px; padding-right: 16px; gap: 1.6rem; }
  .co-block { padding: 1.2rem; }
  .more { padding-left: 16px; padding-right: 16px; }
  .pdp__buy { max-width: none; }
}
