/* VÉNARE: theme parity for recent storefront updates. Presentation only.
   Loaded last to override fixed light-only colors in the approved detail/cart layouts. */
body:not(.admin-mode) #storeView #catalogo #storeProducts .product .product-price-detail > span.venare-retail-price-original{color:var(--muted)!important}
body.theme-dark:not(.admin-mode) #catalogo #storeProducts .product .product-price-detail .venare-savings-pill{
  background:#393024!important;color:#f4d7a7!important;border:1px solid #746044!important
}
body.theme-dark:not(.admin-mode) #storeProducts .product .venare-discount-corner{
  background:#30261a!important;color:#ffebc1!important;border-color:#caa46d!important
}
body.theme-dark:not(.admin-mode) #storeView #catalogo #storeProducts .product .venare-card-compare:not([aria-pressed="true"]){
  background:#292b25!important;color:#f1eee4!important;border-color:#686b5c!important
}
body.theme-dark:not(.admin-mode) #storeView #catalogo #storeProducts .product :is(.venare-catalog-stepper,.venare-catalog-stepper button){
  background:var(--white)!important;color:var(--ink)!important;border-color:var(--line)!important
}
body.theme-dark:not(.admin-mode) #storeView #catalogo #storeProducts .product .venare-restock-link{
  background:var(--white)!important;color:var(--ink)!important;border-color:var(--line)!important
}
body.theme-dark:not(.admin-mode) #storeView #catalogo #storeProducts .product .venare-restock-link:hover{background:#393024!important;color:#f4d7a7!important}
body.theme-dark:not(.admin-mode) #storeView #catalogo #storeProducts .product .venare-catalog-restock-form{
  background:var(--white)!important;color:var(--ink)!important;border-color:var(--line)!important
}
/* The 2026-11-29 detail refresh uses fixed white surfaces: restore dark mode throughout. */
body.theme-dark #productDetailModal .modal,
body.theme-dark #productDetailModal .modalhead{
  background:#191b17!important;color:#f0efe8!important;border-color:#41443b!important
}
body.theme-dark #productDetailModal :is(.modalhead h2,.modalhead .close,.venare-v3-nav button,.venare-v3-back,.product-detail-title,.venare-v2-product-heading .product-detail-title){
  color:#f0efe8!important;-webkit-text-fill-color:#f0efe8!important
}
body.theme-dark #productDetailModal .modalhead .close{
  background:#292c25!important;border-color:#55594a!important
}
body.theme-dark #productDetailModal .venare-v2-gallery-holder .product-detail-art{
  background:linear-gradient(140deg,#2b2d27,#22241f)!important
}
body.theme-dark #productDetailModal :is(.venare-detail-image-controls button,.venare-v2-thumb){
  background:#282b25!important;color:#f0efe8!important;border-color:#4b4f43!important
}
body.theme-dark #productDetailModal :is(.venare-detail-image-counter,.venare-v2-product-heading .venare-detail-sku,.venare-v2-product-heading .muted,.venare-v2-product-heading>.muted,.venare-v2-product-heading .price-row span,.venare-v2-purchase .venare-detail-subtotal,.venare-v2-fragrance .venare-v2-fact small){
  color:#c3c5b9!important
}
body.theme-dark #productDetailModal :is(.venare-v2-product-heading .price-row b,.venare-v2-purchase .venare-detail-subtotal strong,.venare-v2-fragrance .venare-v2-fact strong,.venare-v2-profile-header h3,.venare-v2-accordion summary,.venare-v2-accordion summary:after,.venare-v2-recommendations .checkout-rec-price){
  color:#f0efe8!important
}
body.theme-dark #productDetailModal :is(.venare-v2-fragrance,.venare-v2-fragrance .fragrance-facts,.venare-v2-accordion,.venare-v2-purchase .venare-detail-quantity){
  background:#191b17!important;color:#f0efe8!important;border-color:#41443b!important
}
body.theme-dark #productDetailModal .venare-v2-profile-header{
  background:#2a2d26!important;color:#f0efe8!important
}
body.theme-dark #productDetailModal .venare-v2-fragrance .venare-v2-fact:not(:first-child){
  border-left-color:#44483d!important
}
body.theme-dark #productDetailModal .venare-v2-purchase .venare-detail-stepper{
  background:#242720!important;border-color:#585c4e!important
}
body.theme-dark #productDetailModal .venare-v2-purchase .venare-detail-stepper :is(button,output){
  background:#242720!important;color:#f0efe8!important
}
body.theme-dark #productDetailModal .venare-v2-secondary-actions>.btn{
  background:#292c25!important;color:#f0efe8!important;border-color:#5c6051!important
}
body.theme-dark #productDetailModal .venare-v2-recommendations .venare-detail-rec-card{
  background:#252820!important;border-color:#4b4f43!important;color:#f0efe8!important
}
body.theme-dark #productDetailModal .venare-v2-recommendations :is(.checkout-rec-name,.checkout-rec-price,.venare-detail-rec-brand){
  color:#f0efe8!important
}
body.theme-dark #productDetailModal .venare-v2-recommendations .checkout-rec-details small{color:#c3c5b9!important}
body.theme-dark #productDetailModal .venare-detail-rec-card .venare-detail-rec-original-price{color:#bcbdb1!important}
body.theme-dark #productDetailModal .venare-detail-offer{
  background:#30291f!important;color:#f5ead7!important;border-color:#806747!important
}
body.theme-dark #productDetailModal .venare-detail-offer-eyebrow,
body.theme-dark #productDetailModal .venare-detail-offer-savings{color:#e2c48e!important}
body.theme-dark #productDetailModal .venare-detail-offer-prices strong{color:#fff5e4!important}
body.theme-dark #productDetailModal .venare-detail-offer-prices del{color:#d2c6b0!important}
body.theme-dark #productDetailModal .venare-detail-offer-badge{background:#181715!important;color:#fff1d7!important}
body.theme-dark #productDetailModal .venare-detail-rec-card .venare-detail-rec-savings{
  background:#3b3123!important;color:#f0d5a7!important
}
/* The revamped cart also contains fixed white and beige blocks. */
body.theme-dark #cartModal .modal,
body.theme-dark #cartModal .modalhead{
  background:#191b17!important;color:#f0efe8!important;border-color:#41443b!important
}
body.theme-dark #cartModal #cartBreakdown{background:#191b17!important;color:#f0efe8!important}
body.theme-dark #cartModal #cartBreakdown .price-row:last-child{
  background:#2d3028!important;color:#f0efe8!important
}
body.theme-dark #cartModal :is(.venare-v2-cart-heading,.price-row strong,.cartline strong){color:#f0efe8!important}
/* Visible keyboard focus for both themes without changing layout. */
body:not(.admin-mode) :is(#storeProducts,#productDetailModal,#cartModal) :is(button,a,input,select,summary):focus-visible{
  outline:2px solid var(--gold)!important;outline-offset:3px!important
}
@media(prefers-reduced-motion:reduce){
  body:not(.admin-mode) #storeView #catalogo #storeProducts .product{transition:none!important}
}

/* Detail-screen consistency: override late inline styles and nested light-only components.
   The sheet is loaded at the very end of the document for deterministic precedence. */
body.theme-dark #productDetailModal,
body.theme-dark #productDetailModal .modal{
  background-color:#191b17!important;color:#f0efe8!important;color-scheme:dark!important
}
body.theme-dark #productDetailModal .modalhead{
  background:#191b17!important;color:#f0efe8!important;border-bottom-color:#41443b!important
}
body.theme-dark #productDetailModal .product-detail-grid,
body.theme-dark #productDetailModal .product-detail-copy{
  color:#f0efe8!important
}
body.theme-dark #productDetailModal :is(
  .venare-v2-product-heading,.venare-v2-product-heading .product-detail-title,
  .product-detail-title,.venare-v2-profile-header h3,.venare-v3-nav button,
  .venare-v3-back,.venare-detail-recommendations-heading h3,
  .venare-verified-reviews h3,#venareVerifiedReviews h3){
  color:#f0efe8!important;-webkit-text-fill-color:#f0efe8!important
}
body.theme-dark #productDetailModal :is(
  .venare-v2-fragrance,.venare-v2-fragrance .fragrance-facts,
  .venare-v2-accordion,.venare-detail-quantity,.venare-v2-purchase .venare-detail-quantity,
  .venare-v2-recommendations,.venare-detail-recommendations,
  .venare-verified-reviews,#venareVerifiedReviews){
  color:#f0efe8!important;border-color:#41443b!important
}
body.theme-dark #productDetailModal :is(
  .venare-v2-fragrance,.venare-v2-fragrance .fragrance-facts,
  .venare-v2-accordion){
  background-color:#191b17!important
}
body.theme-dark #productDetailModal :is(
  .venare-verified-reviews,#venareVerifiedReviews,.venare-review-list,
  .venare-review-entry,.venare-review-form){
  color:#f0efe8!important;background-color:transparent!important
}
body.theme-dark #productDetailModal :is(
  .venare-verified-reviews p,#venareVerifiedReviews p,
  .venare-review-list p,.venare-review-entry p,.venare-review-entry small,
  .venare-detail-quantity-hint){
  color:#c6c7bb!important;-webkit-text-fill-color:#c6c7bb!important
}
body.theme-dark #productDetailModal .venare-review-entry{
  border-color:#44483d!important
}
body.theme-dark #productDetailModal :is(
  .venare-v2-accordion summary,.venare-v2-accordion summary:after,
  .venare-v2-fragrance .venare-v2-fact strong,
  .venare-v2-product-heading .price-row b,
  .venare-v2-recommendations .checkout-rec-name,
  .venare-v2-recommendations .checkout-rec-price){
  color:#f0efe8!important
}
body.theme-dark #productDetailModal :is(
  .venare-v2-accordion summary,.venare-v2-purchase .venare-detail-stepper button,
  .venare-v2-purchase .venare-detail-stepper output,
  .venare-detail-image-controls button,.venare-v2-thumb){
  background-color:#252820!important;color:#f0efe8!important;border-color:#535749!important
}
body.theme-dark #productDetailModal :is(
  .venare-v2-secondary-actions>.btn,.venare-detail-rec-open,
  .venare-detail-rec-quantity,.venare-detail-recommendations-controls button){
  background-color:#252820!important;color:#f0efe8!important;border-color:#535749!important
}
body.theme-dark #productDetailModal .venare-v2-recommendations .venare-detail-rec-card{
  background-color:#252820!important;color:#f0efe8!important;border-color:#535749!important
}
body.theme-dark #productDetailModal .venare-v2-recommendations .checkout-rec-details small{
  color:#c6c7bb!important
}
body.theme-dark #productDetailModal :is(input,textarea,select){
  background-color:#252820!important;color:#f0efe8!important;border-color:#535749!important
}
body.theme-dark #productDetailModal :is(input,textarea)::placeholder{color:#bfc1b5!important}
body:not(.theme-dark) #productDetailModal :is(
  .venare-verified-reviews,#venareVerifiedReviews){
  color:#242320!important
}
body:not(.theme-dark) #productDetailModal :is(
  .venare-verified-reviews h3,#venareVerifiedReviews h3){
  color:#242320!important;-webkit-text-fill-color:#242320!important
}
body:not(.theme-dark) #productDetailModal :is(
  .venare-verified-reviews p,#venareVerifiedReviews p){
  color:#696761!important;-webkit-text-fill-color:#696761!important
}

/* In the full-screen product detail, the main storefront theme switch is hidden.
   Show the existing theme preference control in the detail header, both viewports. */
#productDetailModal .venare-v3-theme-toggle{
  flex:0 0 39px!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;width:39px!important;height:39px!important;
  min-width:39px!important;min-height:39px!important;padding:8px!important;
  border-radius:50%!important;border:1px solid #dcd9d3!important;
  background:#faf9f7!important;color:#242320!important;cursor:pointer!important;
  margin-left:auto!important
}
#productDetailModal .venare-v3-theme-toggle svg{
  display:block!important;width:20px!important;height:20px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;
  stroke-linecap:round!important;stroke-linejoin:round!important
}
#productDetailModal .modalhead .close{margin-left:0!important}
body.theme-dark #productDetailModal .venare-v3-theme-toggle{
  background:#292c25!important;color:#f0efe8!important;border-color:#55594a!important
}
body:not(.theme-dark) #productDetailModal :is(
  .venare-v2-product-heading .venare-detail-sku,
  .venare-v2-product-heading .venare-detail-sku *,
  .venare-v2-purchase .venare-detail-subtotal){
  color:#62605b!important;-webkit-text-fill-color:#62605b!important
}
body:not(.theme-dark) #productDetailModal :is(
  .venare-v2-product-heading .product-detail-title,
  .venare-v2-product-heading .price-row b,
  .venare-v2-purchase .venare-detail-subtotal strong){
  color:#181818!important;-webkit-text-fill-color:#181818!important
}
@media(max-width:760px){
  #productDetailModal .venare-v3-theme-toggle{
    width:36px!important;height:36px!important;flex-basis:36px!important;
    min-width:36px!important;min-height:36px!important;margin-left:auto!important
  }
}

/* Product detail uses the same real storefront header, not duplicate navigation. */
#productDetailModal .modalhead.venare-detail-shared-header{
  display:flex!important;align-items:stretch!important;justify-content:stretch!important;
  padding:0!important;margin:0 calc(-1 * max(26px,(100vw - 1480px)/2)) 24px!important;
  min-height:76px!important;position:sticky!important;top:0!important;z-index:80!important;
  background:var(--paper)!important;border-bottom:1px solid var(--line)!important
}
#productDetailModal .venare-detail-shared-header #storeNav{
  position:relative!important;top:auto!important;left:auto!important;right:auto!important;
  display:flex!important;visibility:visible!important;opacity:1!important;
  width:100%!important;max-width:none!important;min-height:76px!important;height:auto!important;
  flex:1 1 auto!important;margin:0!important;box-sizing:border-box!important;
  padding:10px max(26px,calc((100vw - 1480px)/2))!important;
  box-shadow:none!important;border:0!important;z-index:auto!important;
}
#productDetailModal .venare-detail-shared-header .venare-v2-modal-logo,
#productDetailModal .venare-detail-shared-header .venare-v3-nav,
#productDetailModal .venare-detail-shared-header .venare-v3-theme-toggle{
  display:none!important
}
#productDetailModal .venare-detail-shared-header>.close{
  position:absolute!important;right:8px!important;top:50%!important;
  transform:translateY(-50%)!important;z-index:3!important;
  width:32px!important;height:32px!important;min-width:32px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;
  background:var(--white)!important;color:var(--ink)!important;
  border:1px solid var(--line)!important;
}
#productDetailModal .venare-detail-shared-header #storeNav .navright{padding-right:34px!important}
body.theme-dark #productDetailModal .venare-detail-shared-header,
body.theme-dark #productDetailModal .venare-detail-shared-header #storeNav{
  background:#191b17!important;color:#f0efe8!important;border-color:#44483d!important
}
body.theme-dark #productDetailModal .venare-detail-shared-header #storeNav :is(a,button){
  color:var(--ink)!important
}
body.theme-dark #productDetailModal .venare-detail-shared-header #storeNav .navright button[onclick="openCart()"]{
  background:#d4b879!important;color:#171914!important;border-color:#d4b879!important
}
body.theme-dark #productDetailModal .venare-detail-shared-header>.close{
  background:#292c25!important;color:#f0efe8!important;border-color:#55594a!important
}
@media(max-width:760px){
  #productDetailModal .modalhead.venare-detail-shared-header{
    margin:0 -15px 12px!important;min-height:65px!important
  }
  #productDetailModal .venare-detail-shared-header #storeNav{
    min-height:65px!important;padding:9px 42px 8px 14px!important;
    flex-wrap:wrap!important
  }
  #productDetailModal .venare-detail-shared-header #storeNav .navright{padding-right:0!important}
  #productDetailModal .venare-detail-shared-header>.close{
    right:6px!important;top:24px!important;transform:none!important
  }
}

#productDetailModal .modalhead.venare-detail-shared-header>h2{
  display:none!important
}
body.theme-dark #productDetailModal .venare-detail-shared-header #storeNav .navlinks a,
body.theme-dark #productDetailModal .venare-detail-shared-header #storeNav .navright :is(button,select){
  color:#f0efe8!important
}
body.theme-dark #productDetailModal .venare-detail-shared-header #storeNav .navright button[onclick="openCart()"]{
  color:#171914!important
}

/* Fullscreen surface rules have higher specificity than the legacy dark layer. */
html body.theme-dark #productDetailModal.modalbg.open,
html body.theme-dark #productDetailModal.modalbg.open > .modal,
html body.theme-dark #productDetailModal.modalbg.open .modalhead{
 background:#191b17!important;color:#f0efe8!important;color-scheme:dark!important;
}
/* Keep the native header controls in separate tracks, including constrained widths. */
#productDetailModal .venare-detail-shared-header #storeNav{
 display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px 20px!important;
}
#productDetailModal .venare-detail-shared-header #storeNav>a{
 grid-column:1!important;grid-row:1!important;min-width:0!important;
}
#productDetailModal .venare-detail-shared-header #storeNav .navright{
 grid-column:2!important;grid-row:1!important;display:flex!important;
 flex-wrap:wrap!important;justify-content:flex-end!important;min-width:0!important;gap:8px!important;
}
#productDetailModal .venare-detail-shared-header #storeNav .navlinks{
 grid-column:1/-1!important;grid-row:2!important;display:flex!important;
 justify-content:center!important;flex-wrap:wrap!important;gap:24px!important;width:auto!important;
}
#productDetailModal .venare-detail-shared-header #storeNav>#adminReturnBtn{
 grid-column:1/-1!important;grid-row:3!important;margin:0!important;
}
@media(max-width:760px){
 #productDetailModal .venare-detail-shared-header #storeNav{
  grid-template-columns:minmax(0,1fr)!important;gap:8px!important;
 }
 #productDetailModal .venare-detail-shared-header #storeNav .navright{
  grid-column:1!important;grid-row:2!important;justify-content:flex-start!important;width:100%!important;
 }
 #productDetailModal .venare-detail-shared-header #storeNav .navlinks{grid-row:3!important}
 #productDetailModal .venare-detail-shared-header #storeNav>#adminReturnBtn{grid-row:4!important}
}
