/* Native Légendes palette. Hero, typography, gallery and purchase geometry stay shared. */
body#product:has([data-tdc-product-page="legendes"]) #wrapper{background:#0e0d0b}
#legendes-preview{background:#0e0d0b}
#tdc-product-preview[data-tdc-product-page="legendes"]{--ink:#ede6d6;--muted:#b9b09e;--gold:#c7a873;--cream:#16140f;--line:#c7a87355;--pp-control-bg:#16140f;--pp-selected-bg:#c7a873;--pp-selected-ink:#0e0d0b;background:#0e0d0b;color:var(--ink)}
#tdc-product-preview.pp-native[data-tdc-product-page="legendes"] :is(h1,h2,h3,h4,h5,h6){color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-intro,#tdc-product-preview[data-tdc-product-page="legendes"] .pp-editorial{color:var(--muted)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-profile{color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-profile>span+span:before{color:var(--gold)}
#tdc-product-preview[data-tdc-product-page="legendes"] .product-prices,#tdc-product-preview[data-tdc-product-page="legendes"] .current-price,#tdc-product-preview[data-tdc-product-page="legendes"] .current-price span{color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-image-label{background:#0e0d0be8;border-color:var(--line);color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .lg-brand{display:inline-flex;line-height:0}
#tdc-product-preview[data-tdc-product-page="legendes"] .lg-brand img{display:block;width:110px;height:auto}
#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric,#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric-items{background:var(--pp-control-bg);border-color:var(--line)!important;color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric .label,#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric .button,#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric-items li{color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric-items li:hover,#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants .selectric-items li.selected{background:var(--gold);color:#0e0d0b}
#tdc-product-preview[data-tdc-product-page="legendes"] .product-variants-item{background:transparent!important}
#tdc-product-preview[data-tdc-product-page="legendes"] .product-choice{color:var(--muted)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-native-purchase .form-control,#tdc-product-preview[data-tdc-product-page="legendes"] .pp-native-purchase select{background:var(--pp-control-bg);border-color:var(--line);color:var(--ink)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-native-purchase .btn-primary,#tdc-product-preview[data-tdc-product-page="legendes"] .pp-primary{background:var(--gold)!important;border-color:var(--gold)!important;color:#0e0d0b}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-sticky{background:#16140ff5;border-color:var(--line)}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-native-cta{margin-top:28px}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-native-cta img{display:block;max-width:100%;height:auto;margin-bottom:16px}
#tdc-product-preview[data-tdc-product-page="legendes"] .pp-native-cta h3{margin:16px 0}
#tdc-product-preview[data-tdc-product-page="legendes"] .lg-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border:1px solid var(--gold);color:var(--gold)}
#tdc-product-preview[data-tdc-product-page="legendes"] .lg-native-collection-link{padding-top:24px;padding-bottom:40px}

/* The native PDP uses the same header palette as the Légendes category. */
body:has([data-tdc-product-page="legendes"]) #tdc-navigation{--tdcn-gold:#c8a677;--tdcn-line:#c8a67733;--tdcn-cream:#1b2018;background:#10130f;color:#f1ecdf}
body:has([data-tdc-product-page="legendes"]) .tdcn-header,body:has([data-tdc-product-page="legendes"]) .tdcn-logo{background:#10130f}
body:has([data-tdc-product-page="legendes"]) .tdcn-search-form input{color:#f1ecdf}
body:has([data-tdc-product-page="legendes"]) .tdcn-search-form input::placeholder{color:#b5b6a9}
body:has([data-tdc-product-page="legendes"]) #tdc-navigation.tdcn-compact{box-shadow:0 5px 20px #0003}
body:has([data-tdc-product-page="legendes"]) #tdc-navigation .tdcn-root-link:hover,body:has([data-tdc-product-page="legendes"]) #tdc-navigation .tdcn-root-toggle:hover{color:#f1ecdf}
body:has([data-tdc-product-page="legendes"]) .tdcn-mega,body:has([data-tdc-product-page="legendes"]) .tdcn-locale>div,body:has([data-tdc-product-page="legendes"]) .tdcn-secondary-group>div{background:#1b2018;border-color:#c8a67733}
body:has([data-tdc-product-page="legendes"]) .tdcn-locale select{background:#10130f;color:#f1ecdf}
body:has([data-tdc-product-page="legendes"]) #tdc-navigation .tdcn-card-link{color:#f1ecdf}
body:has([data-tdc-product-page="legendes"]) .tdcn-card-description{color:#b5b6a9}
body:has([data-tdc-product-page="legendes"]) .tdcn-group-toggle{color:#c8a677}
body:has([data-tdc-product-page="legendes"]) #tdcn-search-dialog{--tdcn-gold:#85642b;--tdcn-line:#e7e0d4;--tdcn-cream:#f8f6f1}
@media(max-width:1199px){body:has([data-tdc-product-page="legendes"]) #tdcn-main{background:#1b2018}}
