/* Sitewide Divalyn visual quality — all sizes and every shared card. */
/* Keep the brand's dark editorial palette, vector wordmark and original film. */
:root{--dv-card-photo-ratio:3/4}
.dv-uniform-card,.product-grid .dv-uniform-card,.cj-related-grid .dv-uniform-card,.collection-grid .dv-uniform-card{
 display:flex!important;flex-direction:column!important;align-self:stretch!important;height:100%!important;min-width:0!important;background:#101521!important
}
.dv-uniform-card>a:first-child,.dv-uniform-card .cj-home-media,.dv-uniform-card .cj-catalog-media{
 display:block!important;position:relative!important;flex:0 0 auto!important;width:100%!important;height:auto!important;
 aspect-ratio:var(--dv-card-photo-ratio)!important;overflow:hidden!important;background:#1b2230!important;padding:0!important;border:0!important
}
.dv-uniform-card .cj-home-media img,.dv-uniform-card .cj-catalog-media img{
 display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
 object-fit:cover!important;object-position:center 35%!important;transition:transform .35s ease
}
.dv-uniform-card[data-category="Footwear"] .cj-home-media img,.dv-uniform-card[data-category="Footwear"] .cj-catalog-media img{object-position:center 55%!important}
.dv-uniform-card .cj-home-media:hover img,.dv-uniform-card .cj-catalog-media:hover img{transform:scale(1.025)}
.dv-uniform-card .dv-card-content{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;
 flex:1 1 auto!important;width:100%!important;min-height:164px!important;padding:22px!important;gap:25px!important
}
.dv-uniform-card .dv-card-intro{padding:0!important;margin:0!important;width:100%!important;min-width:0!important}
.dv-uniform-card .dv-card-intro h2{padding:0!important;margin:0 0 11px!important;font:400 clamp(21px,1.75vw,29px)/1.17 var(--editorial)!important;letter-spacing:-.02em!important;overflow-wrap:normal!important;word-break:normal!important}
.dv-uniform-card .dv-card-intro h2 a{padding:0!important;display:block!important;line-height:inherit!important}
.dv-uniform-card .dv-card-intro p{padding:0!important;margin:0!important;font:400 12px/1.5 var(--ui)!important;color:#cbc7d0!important}
.dv-uniform-card .cj-card-price,.dv-uniform-card .dv-card-unpriced{padding:0!important;margin:auto 0 0!important;font-size:18px!important;line-height:1.3!important;font-weight:600!important}
.product-grid,.cj-related-grid,.collection-grid{align-items:stretch!important;grid-auto-rows:1fr}
.product-grid .dv-uniform-card:last-child{display:flex!important}
.product-grid .dv-uniform-card .dv-card-content{min-height:185px!important}
.cj-related-grid .dv-uniform-card .dv-card-content{min-height:164px!important}
.collection-grid .dv-uniform-card .dv-card-content{min-height:176px!important}
.collection-grid{column-gap:7px!important;row-gap:7px!important}
/* Homepage: the four titles were manually split into two-line columns and their atlas images were missing. */
.mood-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;min-height:350px!important;gap:4px!important;background:#080b16!important}
.mood-strip .mood{display:flex!important;position:relative;justify-content:flex-end!important;min-width:0!important;min-height:350px!important;padding:25px clamp(14px,2vw,34px) 32px!important;background-color:#121621!important;background-repeat:no-repeat!important;background-size:cover!important;transition:filter .25s ease}
.mood-strip .mood:hover{filter:brightness(1.12)}
.mood-strip .mood:before{background:linear-gradient(180deg,rgba(8,12,20,.03) 12%,rgba(8,12,20,.23) 36%,rgba(4,7,14,.9) 100%)!important}
.mood-strip .mood span{position:relative;z-index:1;display:block!important;font:400 clamp(23px,2.15vw,38px)/1.15 var(--editorial)!important;letter-spacing:-.025em!important;white-space:nowrap!important}
.mood-strip .mood small{position:relative;z-index:1;margin-top:10px!important;font:500 11px/1.4 var(--ui)!important;letter-spacing:.045em!important;text-transform:uppercase}
.mood-strip .mood b{position:relative;z-index:1;margin-top:12px!important;font-size:23px!important}
.mood-strip .mood-night{background-image:url("media/videos/posters/cj-source-011-casual-dot-slim-v-neck-long-dresses-for-women-2026-fas.webp")!important;background-position:50% 34%!important}
.mood-strip .mood-air{background-image:url("media/videos/posters/cj-source-051-multi-color-rolled-sleeves-shirt-dress-women.webp")!important;background-position:50% 40%!important}
.mood-strip .mood-skin{background-image:url("https://images.pexels.com/photos/7520390/pexels-photo-7520390.jpeg?auto=compress&cs=tinysrgb&w=900")!important;background-position:center 36%!important}
.mood-strip .mood-escape{background-image:url("media/videos/posters/cj-source-056-printed-v-neck-waist-controlled-long-sleeves-dress-wom.webp")!important;background-position:50% 41%!important}
/* A real beauty editorial photograph, not an empty three-column gradient. */
.dv-beauty-feature{grid-template-columns:minmax(320px,43%) minmax(0,57%)!important;min-height:500px!important;overflow:hidden!important;background:linear-gradient(125deg,#500e30,#121225)!important}
.dv-beauty-feature:before{display:none!important}
.dv-beauty-feature .beauty-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;padding:55px clamp(30px,6vw,100px)!important}
.dv-beauty-feature .beauty-copy h2{font-size:clamp(41px,4vw,65px)!important;line-height:1.06!important;margin:16px 0!important}
.dv-beauty-feature .beauty-copy>p:not(.kicker){max-width:430px!important;color:#ece6eb!important;font-size:16px!important;line-height:1.7!important}
.dv-beauty-feature .beauty-copy .text-link{margin-top:23px!important}
.dv-beauty-feature-photo{display:block!important;position:relative!important;min-height:500px!important;background:#301626!important;overflow:hidden}
.dv-beauty-feature-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 41%;filter:saturate(.8) contrast(1.04)}
.dv-beauty-feature-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(66,11,44,.43),transparent 46%),linear-gradient(0deg,rgba(9,7,15,.38),transparent 38%)}
.dv-beauty-feature-photo>span{position:absolute;z-index:2;bottom:28px;right:38px;color:#fff;font:600 12px/1.3 var(--ui);letter-spacing:.08em;text-transform:uppercase}
.dv-beauty-feature-photo>span b{margin-left:12px;font-size:22px;font-weight:400}
/* Replace faux magazine boxes with two large authentic editorial images and functioning links. */
.dv-lookbook{display:grid!important;grid-template-columns:minmax(230px,26%) minmax(0,1fr)!important;gap:clamp(24px,3vw,52px)!important;padding:65px clamp(24px,5vw,84px) 75px!important;align-items:stretch!important}
.dv-lookbook .journal-intro{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.dv-lookbook .journal-intro h2{margin:12px 0 22px!important;font:400 clamp(36px,3.3vw,56px)/1.04 var(--editorial)!important}
.dv-lookbook .journal-intro>p:not(.kicker){max-width:31ch;font:400 15px/1.65 var(--ui);color:#4b4d52}
.dv-lookbook .journal-intro .text-link{margin-top:24px}
.dv-lookbook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.dv-lookbook-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#161622;color:#fff}
.dv-lookbook-card>img{width:100%;height:300px;object-fit:cover;object-position:center 38%;display:block}
.dv-lookbook-copy{display:flex;flex-direction:column;gap:12px;padding:20px 23px 25px}
.dv-lookbook-copy small{color:#e6b8cf;font:600 11px/1.4 var(--ui);letter-spacing:.1em;text-transform:uppercase}
.dv-lookbook-copy strong{font:400 clamp(24px,2vw,32px)/1.12 var(--editorial)}
.dv-lookbook-copy>span{font:500 12px/1.4 var(--ui);text-transform:uppercase;letter-spacing:.08em}
.dv-lookbook-copy>span b{margin-left:13px;font-size:19px}
/* Beauty destination has its own visual chapter and one listing of each actual product. */
.beauty-page .beauty-hero{grid-template-columns:minmax(320px,42%) minmax(0,58%)!important;min-height:650px!important}
.beauty-page .beauty-hero-copy{position:relative;z-index:2;padding:60px 45px 70px clamp(30px,7vw,120px)!important}
.beauty-page .dv-beauty-page-photo{background-image:url("https://images.pexels.com/photos/7520390/pexels-photo-7520390.jpeg?auto=compress&cs=tinysrgb&w=1600")!important;background-size:cover!important;background-position:center 40%!important;filter:saturate(.83) contrast(1.03)!important}
.beauty-page .beauty-hero-list{display:none!important}
.beauty-page .beauty-products#beauty-cj{padding-block:75px!important}
.beauty-page .beauty-products#beauty-cj .section-intro{max-width:740px;margin-bottom:32px!important}
.beauty-page .dv-beauty-collection-lead{font:400 16px/1.6 var(--ui);color:#dad5dd;max-width:55ch}
.beauty-page .dv-beauty-editorial-photo{background-image:url("https://images.pexels.com/photos/9253780/pexels-photo-9253780.jpeg?auto=compress&cs=tinysrgb&w=1400")!important;background-size:cover!important;background-position:center 48%!important}
.collection-hero-media{background-image:url("media/videos/posters/divalyn-hero-cover.webp")!important;background-size:cover!important;background-position:60% 35%!important}
@media(min-width:1120px){.selection{grid-template-columns:minmax(230px,265px) minmax(0,1fr)!important;gap:26px!important;padding:55px 36px 65px!important}.selection .section-intro h2{font-size:clamp(32px,3vw,51px)!important;line-height:1.05!important}}
@media(max-width:980px){
 .mood-strip .mood{min-height:280px!important}
 .mood-strip{min-height:280px!important}
 .mood-strip .mood span{font-size:clamp(20px,2.7vw,32px)!important}
 .dv-lookbook{grid-template-columns:1fr!important}
 .dv-lookbook .journal-intro>p:not(.kicker){max-width:55ch}
}
@media(max-width:760px){
 .mood-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mood-strip .mood{min-height:245px!important;padding:20px!important}
 .mood-strip .mood span{font-size:clamp(24px,4vw,36px)!important}
 .dv-beauty-feature{grid-template-columns:1fr!important}
 .dv-beauty-feature .beauty-copy{padding:48px 24px 38px!important}
 .dv-beauty-feature-photo{min-height:340px!important}
 .dv-lookbook{padding:50px 23px!important}
 .dv-lookbook-card>img{height:255px}
 .beauty-page .beauty-hero{display:flex!important;flex-direction:column!important;min-height:0!important;padding-top:65px}
 .beauty-page .beauty-hero-copy{position:relative!important;top:auto!important;bottom:auto!important;padding:70px 22px 38px!important}
 .beauty-page .dv-beauty-page-photo{position:relative!important;inset:auto!important;min-height:370px!important}
 .beauty-page .beauty-hero:after{display:none!important}
}
@media(max-width:520px){
 .product-grid .dv-uniform-card{flex:0 0 78%!important;min-width:78%!important;scroll-snap-align:start}
 .dv-uniform-card .dv-card-content{padding:17px!important;min-height:156px!important}
 .dv-uniform-card .dv-card-intro h2{font-size:clamp(20px,5vw,27px)!important}
 .mood-strip{gap:3px!important}
 .mood-strip .mood{min-height:220px!important;padding:16px!important}
 .mood-strip .mood span{font-size:clamp(22px,5vw,29px)!important;white-space:normal!important}
 .dv-lookbook-grid{grid-template-columns:1fr}
 .dv-lookbook-card>img{height:270px}
 .dv-beauty-feature .beauty-copy h2{font-size:clamp(37px,10vw,51px)!important}
}

/* Second visual pass: actual working beauty photograph and a restrained one-product discovery layout. */
.dv-beauty-feature-photo{background-image:url("https://images.pexels.com/photos/9253780/pexels-photo-9253780.jpeg?auto=compress&cs=tinysrgb&w=1600")!important;background-size:cover!important;background-position:center 43%!important}
.dv-beauty-feature-photo img{display:block!important}
.beauty-page .beauty-products#beauty-cj{display:grid!important;grid-template-columns:minmax(280px,.95fr) minmax(330px,1.05fr)!important;align-items:center!important;gap:clamp(28px,6vw,92px)!important}
.beauty-page .beauty-products#beauty-cj .section-intro{margin:0!important;max-width:570px}
.beauty-page .beauty-products#beauty-cj .cj-related-grid{display:grid!important;grid-template-columns:minmax(260px,365px)!important;justify-content:start!important;width:100%;gap:20px}
.beauty-page .beauty-products#beauty-cj .cj-home-card{max-width:365px}
.dv-lookbook-card>img{height:auto!important;aspect-ratio:4/5!important;object-fit:cover!important;object-position:center 28%!important}
@media(max-width:760px){
 .beauty-page .beauty-products#beauty-cj{grid-template-columns:1fr!important}
 .beauty-page .beauty-products#beauty-cj .cj-related-grid{grid-template-columns:minmax(240px,350px)!important}
}
@media(max-width:520px){.dv-lookbook-card>img{aspect-ratio:4/4.5!important}}

/* Editorial tiles must never paint as empty navy slabs while image decode is pending.
   Authentic local supplier-video stills serve as background placeholders underneath the <img>s. */
.dv-lookbook-card .dv-lookbook-photo{
 display:block!important;position:relative!important;flex:0 0 auto!important;width:100%!important;
 aspect-ratio:4/5!important;overflow:hidden!important;background-color:#1b1c27!important;
 background-size:cover!important;background-repeat:no-repeat!important;background-position:center 29%!important
}
.dv-lookbook-card .dv-lookbook-photo-one{background-image:url("media/videos/posters/cj-source-035-ins-halter-split-long-dress-summer-slim-fit-backless-d.webp")!important}
.dv-lookbook-card .dv-lookbook-photo-two{background-image:url("media/videos/posters/cj-source-083-v-neck-long-sleeve-lapel-dress-for-women-fashion-slim-.webp")!important}
.dv-lookbook-card .dv-lookbook-photo img{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;
 object-fit:cover!important;object-position:center 29%!important
}
@media(max-width:520px){.dv-lookbook-card .dv-lookbook-photo{aspect-ratio:4/4.5!important}}
/* Retail catalogue = selected fashion only; archive and supplier-inventory diagnostics are internal data. */
.collection-grid{scroll-margin-top:96px}
.collection-page .collection-toolbar{border-bottom:1px solid rgba(255,255,255,.12)}
.collection-page .collection-count{color:#dfc8d4!important;font-size:12px!important;white-space:nowrap}

/* 2026-11-07: product truth takes priority over automatic cover cropping.
 * Every card keeps its fixed layout and price baseline while showing the full item.
 * A seamless card-color mat avoids intrusive contrasting photo side panels. */
.dv-uniform-card>a:first-child,.dv-uniform-card .cj-home-media,.dv-uniform-card .cj-catalog-media{
 background:#101521!important
}
.dv-uniform-card .cj-home-media img,.dv-uniform-card .cj-catalog-media img{
 object-fit:contain!important;object-position:center!important;
 background:transparent!important;transform:none!important
}
.dv-uniform-card .cj-home-media:hover img,.dv-uniform-card .cj-catalog-media:hover img{
 transform:none!important
}
.dv-uniform-card .dv-card-content{gap:13px!important}
.dv-uniform-card .dv-card-intro h2{
 font-size:clamp(19px,1.5vw,25px)!important;line-height:1.23!important;
 overflow-wrap:break-word!important;text-wrap:pretty
}
.dv-uniform-card .dv-card-intro p{line-height:1.4!important}
.dv-uniform-card .cj-card-price{font-variant-numeric:tabular-nums}

/* Homepage product thumbnails: equal visible height, without stretching/cropping.
   Supplier originals include portrait and square photographs. A square viewing
   canvas avoids one portrait cover occupying 4/3 the visible height of the rest.
   All original image pixels remain visible through object-fit:contain. */
.product-grid .dv-uniform-card .cj-home-media{
 aspect-ratio:1/1!important;
}
.product-grid .dv-uniform-card .cj-home-media img{
 object-fit:contain!important;
 object-position:center!important;
}

/* November 2026 image QA: the catalogue is a uniform editorial grid.
   Cropping applies only to listing previews; product-detail galleries retain
   the complete, uncropped supplier originals and accurate colour variants. */
.collection-grid .dv-uniform-card .cj-catalog-media{
 aspect-ratio:3/4!important;
 background:#151a25!important;
}
.collection-grid .dv-uniform-card .cj-catalog-media img{
 width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
 object-fit:cover!important;object-position:center 38%!important;
 background:transparent!important;
}
.collection-grid .dv-uniform-card[data-category="Footwear"] .cj-catalog-media img{
 object-position:center 53%!important;
}
/* The collection mood shot must follow the season, not the original summer film poster. */
body[data-divalyn-season="spring"].collection-page .collection-hero-media{background-image:url("/media/seasonal/summer-hero.webp")!important}
body[data-divalyn-season="summer"].collection-page .collection-hero-media{background-image:url("/media/videos/posters/divalyn-hero-cover.webp")!important}
body[data-divalyn-season="autumn"].collection-page .collection-hero-media{background-image:url("/media/seasonal/autumn-hero.webp")!important}
body[data-divalyn-season="winter"].collection-page .collection-hero-media{background-image:url("/media/seasonal/winter-hero.webp")!important}
body[data-divalyn-season].collection-page .collection-hero-media{background-size:cover!important;background-position:center 44%!important}
/* Two moving, licensed original source films replace the unfortunate oversized
   static poster crops in the home editorial chapter. Posters remain accessible fallbacks. */
.dv-lookbook-card .dv-lookbook-photo{isolation:isolate}
.dv-lookbook-card .dv-lookbook-photo video.dv-lookbook-video{
 position:absolute!important;inset:0!important;z-index:2!important;
 display:block!important;width:100%!important;height:100%!important;max-width:none!important;
 object-fit:cover!important;object-position:center 39%!important;
 opacity:0;transition:opacity .35s ease;pointer-events:none;background:transparent
}
.dv-lookbook-card .dv-lookbook-photo video.dv-lookbook-video.is-playing{opacity:1}
.dv-lookbook-card .dv-lookbook-photo-one{background-image:url("/media/videos/posters/cj-source-052-one-shoulder-ribbon-long-dress-ins-fashion-slim-sleeve.webp")!important}
.dv-lookbook-card .dv-lookbook-photo-two{background-image:url("/media/videos/posters/cj-source-109-women-s-sweatshirt-suit-casual-collared-long-sleeved-p.webp")!important}
.dv-lookbook-card .dv-lookbook-photo img{object-position:center 42%!important}
@media(prefers-reduced-motion:reduce){.dv-lookbook-card .dv-lookbook-photo video.dv-lookbook-video{display:none!important}}
