/* Fiche produit : galerie collante à gauche, achat à droite, carrousel de produits liés (maquette « shoes_… »). */
.mp-pdp{padding:110px 24px 120px}
.mp-notices{max-width:1000px;margin:0 auto}
.mp-notices .woocommerce-message,.mp-notices .woocommerce-error,.mp-notices .woocommerce-info{list-style:none;margin:0 0 20px;padding:14px 18px;background:#F5F5F5;border-radius:16px;font-size:14px;color:var(--mp-ink);display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.mp-notices .woocommerce-error{background:#FFD9DA;color:var(--mp-bordeaux)}
.mp-notices .woocommerce-message .button{order:2;margin-left:auto;padding:6px 14px;border-radius:100px;background:var(--mp-bordeaux);color:#fff;font-size:13px}
.mp-pdp__layout{display:grid;grid-template-columns:minmax(0,651px) minmax(0,325px);gap:24px;max-width:1000px;margin:0 auto;align-items:start}

/* Galerie */
.mp-gallery{position:sticky;top:100px;display:flex;gap:10px;align-items:flex-start}
.mp-gallery__thumbs{display:flex;flex-direction:column;gap:10px;width:75px;flex:0 0 75px}
.mp-gallery__thumb{display:block;width:75px;height:75px;padding:0;border:2px solid transparent;border-radius:16px;overflow:hidden;background:#F5F5F5;cursor:pointer;transition:border-color .2s,opacity .2s;opacity:.75}
.mp-gallery__thumb.is-active,.mp-gallery__thumb:hover{opacity:1}
.mp-gallery__thumb.is-active{border-color:var(--mp-bordeaux)}
.mp-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mp-gallery__arrows,.mp-related__nav{display:flex;gap:6px;padding:6px 0 0 7px}
.mp-gallery__arrow{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#FAFAFA;color:var(--mp-ink);cursor:pointer;transition:background .2s,color .2s}
.mp-gallery__arrow:hover{background:var(--mp-bordeaux);color:#fff}
.mp-gallery__stage{position:relative;flex:1;min-width:0;aspect-ratio:1;background:#fff}
.mp-gallery__slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .35s ease}
.mp-gallery__slide.is-active{opacity:1;visibility:visible}
.mp-home .mp-gallery__slide img{width:100%;height:100%;object-fit:contain}

/* Achat */
.mp-buy{display:flex;flex-direction:column;gap:24px}
.mp-buy__head{display:flex;flex-direction:column;gap:7px}
.mp-buy__name{margin:0;font-family:var(--mp-text);font-size:16px;font-weight:400;line-height:1.2;color:var(--mp-ink)}
.mp-buy__sub{font-size:14px;line-height:1.5;color:#949494}
.mp-buy__price{font-size:14px;line-height:1.5}
.mp-buy__price del{color:#949494;margin-right:6px}
.mp-buy__price ins{text-decoration:none}
.mp-buy__label{margin-bottom:6px;font-size:14px;color:#949494}
.mp-swatches{display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:#F5F5F5;border-radius:23px}
.mp-home .mp-swatch{display:flex;flex-direction:column;gap:6px;width:75px;color:var(--mp-ink);font-size:11px;line-height:1.3;text-align:center}
.mp-swatch__img{display:block;width:75px;height:75px;border-radius:16px;overflow:hidden;background:#fff;border:2px solid transparent;transition:border-color .2s}
.mp-swatch:hover .mp-swatch__img{border-color:var(--mp-bordeaux)}
.mp-home .mp-swatch__img img{width:100%;height:100%;object-fit:cover}
.mp-cart__row{display:flex;gap:10px;align-items:center}
.mp-cart__qty{width:64px;height:30px;padding:0 10px;border:1px solid rgba(0,0,0,.12);border-radius:100px;background:#fff;font:inherit;font-size:13px;color:var(--mp-ink);text-align:center}
.mp-home .mp-btn.mp-btn--bordeaux{height:30px;padding:0 18px;border:0;border-radius:100px;background:var(--mp-bordeaux);color:#fff;font-size:13px;font-weight:400;cursor:pointer;transition:background .2s}
.mp-home .mp-btn.mp-btn--bordeaux:hover{background:var(--mp-bordeaux-2)}
.mp-buy__soldout{font-size:14px;color:var(--mp-bordeaux)}
.mp-buy__rule{width:100%;height:1px;margin:0;border:0;background:rgba(0,0,0,.08)}
.mp-buy__text{font-size:14px;line-height:1.5;color:var(--mp-muted)}
.mp-buy__text p+p{margin-top:.8em}
.mp-tags{display:flex;flex-wrap:wrap;gap:8px}
.mp-tag{display:inline-flex;align-items:center;height:28px;padding:0 12px;border:1px solid #FFD9DA;border-radius:1000px;background:#fff;font-size:12px;color:var(--mp-bordeaux)}

/* Accordéons */
.mp-acc{display:flex;flex-direction:column;gap:10px}
.mp-acc__item{background:#F5F5F5;border-radius:20px}
.mp-acc__item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;font-size:16px;color:var(--mp-ink);cursor:pointer;list-style:none}
.mp-acc__item summary::-webkit-details-marker{display:none}
.mp-acc__item summary::after{content:"";width:8px;height:8px;margin-right:4px;border-right:1.6px solid #949494;border-bottom:1.6px solid #949494;transform:rotate(45deg) translateY(-2px);transition:transform .25s}
.mp-acc__item[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.mp-acc__item summary:focus-visible{outline:2px solid var(--mp-bordeaux);outline-offset:2px;border-radius:20px}
.mp-acc__body{padding:0 20px 20px;font-size:14px;line-height:1.5;color:var(--mp-muted)}
.mp-acc__body a{color:var(--mp-bordeaux);text-decoration:underline}
.mp-prose h1,.mp-prose h2,.mp-prose h3,.mp-prose h4{margin:1em 0 .4em;font-family:var(--mp-text);font-size:14px;font-weight:600;line-height:1.4;text-align:left!important;color:var(--mp-ink)}
.mp-prose h1:first-child{margin-top:0}
.mp-prose p{margin-top:.8em}
.mp-prose hr{margin:1.2em 0;border:0;height:1px;background:rgba(0,0,0,.1)}
.mp-specs{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0}
.mp-specs dt{color:#949494}
.mp-specs dd{margin:0;color:var(--mp-ink)}

/* Produits liés */
.mp-related{max-width:1000px;margin:100px auto 0}
.mp-related__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.mp-related__head h2{margin:0;font-family:var(--mp-text);font-size:32px;font-weight:400;letter-spacing:-.01em;color:var(--mp-ink)}
.mp-related__nav{padding:0}
.mp-related__track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.mp-related__track::-webkit-scrollbar{display:none}
.mp-related__track .mp-prod{flex:0 0 calc((100% - 20px) / 3);scroll-snap-align:start}

@media (max-width:900px){
    .mp-pdp{padding:96px 16px 100px}
    .mp-pdp__layout{grid-template-columns:minmax(0,1fr);gap:28px}
    .mp-gallery{position:static;flex-direction:column-reverse}
    .mp-gallery__thumbs{flex-direction:row;width:auto;flex:none;overflow-x:auto;scrollbar-width:none}
    .mp-gallery__thumbs::-webkit-scrollbar{display:none}
    .mp-gallery__thumb{flex:0 0 64px;width:64px;height:64px}
    .mp-gallery__arrows{display:none}
    .mp-gallery__stage{width:100%;flex:none}
    .mp-related{margin-top:64px}
    .mp-related__head h2{font-size:26px}
    .mp-related__track .mp-prod{flex-basis:70%}
}
