/* Divalyn PDP visual refinement — shared fashion and beauty purchase experience.
 * Layout-only: no price, availability, cart, supplier or payment logic changes.
 * Preserve authentic media intact. Never crop product photography blindly.
 */
.pdp-page .pdp-hero.cj-pdp-hero{
 grid-template-columns:minmax(0,1.18fr) minmax(335px,.82fr)!important;
 column-gap:clamp(28px,4vw,72px)!important;
 max-width:1460px!important;
 align-items:start!important;
 padding-bottom:24px!important;
}
@media(min-width:831px){
 .pdp-page .pdp-hero.cj-pdp-hero>.pdp-product-gallery{
  position:sticky!important;top:18px!important;align-self:start!important;
  max-height:calc(100svh - 28px);overflow:visible
 }
 .pdp-page .cj-pdp-hero .pdp-buybox{
  position:relative!important;top:auto!important;align-self:start!important
 }
}
.pdp-page .pdp-product-gallery .pdp-main-media.cj-main-photo-wrap{
 height:auto!important;min-height:0!important;max-height:min(71svh,720px)!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 background:transparent!important;overflow:visible!important;
}
.pdp-page .pdp-product-gallery #cj-main-image{
 display:block!important;width:auto!important;height:auto!important;
 max-width:100%!important;max-height:min(70svh,705px)!important;
 min-width:0;object-fit:contain!important;object-position:center!important;
 background:none!important;filter:none!important
}
.pdp-page .pdp-product-gallery #cj-stage-video{
 width:100%!important;height:auto!important;max-height:min(70svh,705px)!important;
 aspect-ratio:auto;object-fit:contain!important;background:transparent!important
}
.pdp-page .pdp-product-gallery .pdp-media-rail{
 background:transparent!important;margin-top:4px!important
}
.pdp-page .pdp-product-gallery .cj-thumbnails button{
 background:transparent!important;aspect-ratio:4/5!important;height:78px!important;
 flex:0 0 66px!important;width:66px!important;min-width:66px!important;
 border-color:#ffffff20!important
}
.pdp-page .pdp-product-gallery .cj-thumbnails img{object-fit:contain!important;object-position:center!important}
.pdp-page .pdp-status-row{display:none!important}
.pdp-page .cj-pdp-hero .pdp-buybox{padding:4px 0 12px!important}
.pdp-page .cj-pdp-hero .pdp-buybox h1{
 font-size:clamp(34px,3.1vw,49px)!important;line-height:1.12!important;
 margin:0 0 9px!important;letter-spacing:-.018em!important
}
.pdp-page .pdp-price-row{margin:0 0 12px!important;padding:0!important;align-items:center!important}
.pdp-page .pdp-price-row strong{font-size:clamp(23px,2vw,29px)!important;line-height:1.15}
.pdp-page .pdp-subtitle{
 margin:0 0 7px!important;font:400 13px/1.5 var(--ui)!important;
 color:#cec7d0!important;display:-webkit-box;-webkit-line-clamp:2;
 -webkit-box-orient:vertical;overflow:hidden
}
.pdp-page .pdp-sales-copy{
 border:0!important;padding:0 0 11px!important;margin:0!important
}
.pdp-page #pdp-product-description{
 font:400 14px/1.55 var(--ui)!important;color:#e9dde5!important;
 display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.pdp-page #pdp-quick-details{
 margin:10px 0 0!important;gap:6px 15px!important
}
.pdp-page #pdp-quick-details li{
 font:500 11px/1.5 var(--ui)!important;color:#d5bdca!important;
 max-width:100%;text-wrap:pretty
}
.pdp-page .pdp-fieldset{
 margin:0 0 12px!important;padding:9px 0 0!important;
 border-top:1px solid #ffffff18!important
}
.pdp-page .pdp-fieldset legend{
 margin-bottom:8px!important;font:600 11px/1.4 var(--ui)!important;letter-spacing:.05em!important
}
.pdp-page .cj-product-selection{margin:2px 0 6px!important;font:500 11px/1.45 var(--ui)!important}
.pdp-page .pdp-buybox .cj-media-note:empty{display:none!important}
.pdp-page .dv-pdp-size-summary{margin:4px 0 8px!important;padding:0!important;background:transparent!important;border:0!important}
.pdp-page .pdp-primary{min-height:51px!important;margin:8px 0 0!important;font-size:12px!important;letter-spacing:.065em!important}
.pdp-page .pdp-trust-grid{
 margin:13px 0 0!important;padding:13px 0 0!important;gap:9px 14px!important;
 border-top:1px solid #ffffff18!important
}
.pdp-page .pdp-trust-grid a{gap:7px!important;align-items:center!important}
.pdp-page .pdp-trust-grid .dv-trust-icon{
 width:27px!important;height:27px!important;flex:0 0 27px!important
}
.pdp-page .pdp-trust-grid .dv-trust-icon svg{width:15px!important;height:15px!important}
.pdp-page .pdp-trust-grid a .dv-trust-copy{min-width:0!important}
.pdp-page .pdp-trust-grid .dv-trust-copy b{
 margin:0!important;font:600 10px/1.35 var(--ui)!important;letter-spacing:.015em
}
.pdp-page .pdp-trust-grid .dv-trust-copy>span{display:none!important}
/* Only one compact delivery estimate. No box-within-box and no picker. */
.pdp-page .dv-delivery-forecast,.beauty-product-page .dv-delivery-forecast{
 display:grid!important;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;
 column-gap:11px;row-gap:3px;margin:13px 0 0!important;
 padding:13px 0 8px!important;border:0!important;border-top:1px solid #ffffff23!important;
 border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#f7edf3!important
}
.dv-delivery-forecast[hidden]{display:none!important}
.dv-delivery-forecast>.dv-delivery-icon{
 width:25px;height:25px;min-width:25px;background:transparent!important;color:#e8bdd0
}
.dv-delivery-forecast .dv-delivery-icon svg{width:21px;height:21px}
.dv-delivery-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.dv-delivery-destination{color:#cbbcc7;font:500 10px/1.35 var(--ui);letter-spacing:.045em}
.dv-delivery-copy strong.dv-delivery-window{
 color:#f1dbe6;font:600 14px/1.4 var(--ui);letter-spacing:0;font-variant-numeric:tabular-nums
}
.dv-delivery-copy .dv-delivery-context{color:#afa2b0;font:400 10px/1.4 var(--ui)}
.dv-delivery-detail{
 color:#ebc7d8!important;text-decoration:underline!important;text-underline-offset:3px;
 font:500 11px/1.4 var(--ui)
}
.dv-delivery-forecast>.dv-core-delay-promise{
 grid-column:2/-1;margin:3px 0 0!important;padding:0!important;
 font:400 10px/1.4 var(--ui)!important;color:#bfaebe!important;
 text-decoration:underline;text-underline-offset:3px
}
.dv-delivery-forecast>.dv-core-delay-promise[hidden]{display:none!important}
/* Lower editorial section and media: real intrinsic ratios rather than rectangular letterboxes. */
.pdp-page .dv-ed-root .dv-ed-photo,.pdp-page .dv-ed-root .dv-ed-video-wrap{
 background:transparent!important;box-shadow:none!important
}
.pdp-page .dv-ed-root .dv-ed-photo img{
 width:auto!important;height:auto!important;max-width:100%!important;max-height:600px!important;
 object-fit:contain!important;object-position:center!important
}
.pdp-page .dv-ed-media-pair .dv-ed-photo,.pdp-page .dv-ed-media-pair .dv-ed-video-wrap{
 height:auto!important;min-height:0!important;max-height:none!important
}
.pdp-page .dv-ed-video-wrap video{
 width:100%!important;height:auto!important;max-height:600px!important;object-fit:contain!important
}
.pdp-page .dv-ed-story{padding-block:clamp(44px,5vw,72px)!important}
.pdp-page .dv-ed-specifications{padding-block:clamp(38px,4vw,65px)!important}
.pdp-page .cj-related{padding-block:50px 70px!important}
/* Beauty remains its own distinct chapter, with the same disciplined purchase hierarchy. */
.beauty-product-page .beauty-product-opening{
 display:block!important;padding:clamp(31px,4vw,60px) clamp(20px,6vw,95px) clamp(22px,3vw,40px)!important
}
.beauty-product-page .beauty-opening-copy h1{
 font-size:clamp(36px,4.8vw,68px)!important;line-height:1.08!important;
 margin:8px 0 12px!important;max-width:960px
}
.beauty-product-page .beauty-subtitle{font-size:15px!important;line-height:1.5!important;max-width:700px}
.beauty-product-page .beauty-product-stage{align-items:start!important;min-height:0!important}
.beauty-product-page .beauty-gallery{background:transparent!important;justify-content:flex-start}
.beauty-product-page .beauty-main-image{
 height:auto!important;min-height:0!important;max-height:min(71svh,720px)!important;
 background:transparent!important;overflow:visible!important
}
.beauty-product-page .beauty-main-image>img,.beauty-product-page .beauty-main-image>video{
 width:auto!important;height:auto!important;max-width:100%!important;
 max-height:min(70svh,705px)!important;object-fit:contain!important
}
.beauty-product-page .beauty-main-image>video{width:100%!important;background:transparent!important}
.beauty-product-page .beauty-product-options{padding:clamp(24px,3vw,44px) clamp(22px,3vw,54px)!important}
.beauty-product-page .beauty-product-options h2{
 font-size:clamp(27px,2.7vw,39px)!important;line-height:1.14!important;margin:0 0 15px!important
}
.beauty-product-page .beauty-product-options>.beauty-kicker{display:none!important}
.beauty-product-page .beauty-product-options fieldset{margin:13px 0!important;padding-top:12px!important}
.beauty-product-page .beauty-price{margin:10px 0 12px!important}
.beauty-product-page .beauty-mini-trust{
 margin-top:12px!important;padding-top:12px!important;gap:8px!important
}
.beauty-product-page .beauty-mini-trust .dv-trust-icon{
 width:27px!important;height:27px!important;flex-basis:27px!important
}
.beauty-product-page .beauty-mini-trust .dv-trust-copy span{display:none!important}
.beauty-product-page .beauty-mini-trust .dv-trust-copy b{font-size:10px!important;line-height:1.35!important}
.beauty-product-page .beauty-chapter,.beauty-product-page .beauty-specs{
 padding-block:clamp(40px,5vw,75px)!important
}
@media(min-width:831px){
 .beauty-product-page .beauty-gallery{position:sticky;top:16px;align-self:start}
}
@media(max-width:830px){
 .pdp-page .pdp-hero.cj-pdp-hero{display:flex!important;flex-direction:column!important;gap:17px!important}
 .pdp-page .pdp-product-gallery,.beauty-product-page .beauty-gallery{
  position:static!important;top:auto!important;max-height:none!important
 }
 .pdp-page .pdp-product-gallery .pdp-main-media.cj-main-photo-wrap{
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0 12px!important
 }
 .pdp-page .pdp-product-gallery #cj-main-image,.pdp-page .pdp-product-gallery #cj-stage-video{
  max-height:min(78svh,580px)!important
 }
 .pdp-page .cj-pdp-hero .pdp-buybox{padding:16px 22px 0!important}
 .pdp-page .cj-pdp-hero .pdp-buybox h1{font-size:clamp(32px,7vw,43px)!important}
 .beauty-product-page .beauty-product-stage{display:flex!important;flex-direction:column!important}
 .beauty-product-page .beauty-main-image{width:100%;max-height:none!important;min-height:0!important}
 .beauty-product-page .beauty-main-image>img,.beauty-product-page .beauty-main-image>video{
  max-height:min(78svh,580px)!important
 }
 .beauty-product-page .beauty-product-options{padding:22px!important;width:100%!important}
}
@media(max-width:520px){
 .pdp-page .pdp-product-gallery .cj-thumbnails button{width:54px!important;min-width:54px!important;flex-basis:54px!important;height:67px!important}
 .pdp-page .pdp-trust-grid{gap:10px 8px!important}
 .pdp-page .pdp-trust-grid .dv-trust-copy b{font-size:9px!important}
 .dv-delivery-forecast .dv-delivery-copy strong{font-size:13px!important}
 .pdp-page .dv-ed-media-pair{display:flex!important;flex-direction:column!important;gap:23px!important}
}
@media(prefers-reduced-motion:reduce){
 .pdp-page .pdp-product-gallery,.beauty-product-page .beauty-gallery{scroll-behavior:auto!important}
}

.pdp-page .pdp-subtitle[hidden]{display:none!important}

/* Mobile conversion: keep the cart accessible without obscuring the centered wordmark. */
@media(max-width:830px){
 .pdp-page .pdp-header .pdp-nav-right{
  display:flex!important;position:absolute!important;top:50%!important;right:12px!important;
  left:auto!important;transform:translateY(-50%)!important;
  width:auto!important;min-width:42px!important;max-width:65px!important;
  justify-content:flex-end!important;align-items:center!important
 }
 .pdp-page .pdp-header .pdp-nav-right>*:not(.dv-nav-cart){display:none!important}
 .pdp-page .pdp-header .pdp-nav-right .dv-nav-cart{
  display:block!important;font:600 10px/1.4 var(--ui)!important;
  letter-spacing:.02em!important;color:#f1dce7!important;white-space:nowrap
 }
}
@media(max-width:700px){
 .beauty-product-page .beauty-header{position:relative!important}
 .beauty-product-page .beauty-header .beauty-nav-right{
  display:flex!important;position:absolute!important;top:50%!important;right:12px!important;
  transform:translateY(-50%)!important;gap:0!important;
  justify-content:flex-end!important;align-items:center!important
 }
 .beauty-product-page .beauty-header .beauty-nav-right>*:not(.dv-nav-cart){display:none!important}
 .beauty-product-page .beauty-header .beauty-nav-right .dv-nav-cart{
  display:block!important;color:#f3dfeb!important;
  font:600 10px/1.4 var(--ui)!important;white-space:nowrap
 }
}

