/* Divalyn navigation: the injected control is mobile-only, never a desktop grey bar. */
.dv-mobile-menu{display:none;appearance:none}
@media(min-width:761px){
 .pdp-page .pdp-header .pdp-nav-left,
 .beauty-product-page .beauty-header .beauty-nav-left,
 .beauty-page .beauty-header .beauty-nav-left{display:flex}
}
/* Divalyn v1.1 — one compact mobile navigation, desktop untouched. */
@media(max-width:760px){
 .site-header,.collection-header,.beauty-page .beauty-header,
 .pdp-page .pdp-header,.beauty-product-page .beauty-header{
   display:grid!important;grid-template-columns:52px minmax(0,1fr) 78px!important;
   align-items:center!important;gap:6px!important;
   position:relative!important;inset:auto!important;
   min-height:65px!important;height:auto!important;
   padding:10px 13px!important;
   background:rgba(8,10,20,.98)!important;
   border-bottom:1px solid rgba(255,255,255,.13)!important;
   z-index:95!important
 }
 .collection-page .collection-header,.beauty-page .beauty-header{
   position:sticky!important;top:0!important
 }
 .dv-mobile-menu,.site-header .menu-toggle,.collection-header .collection-menu{
   display:flex!important;align-items:center;justify-content:flex-start;
   grid-column:1!important;grid-row:1!important;
   width:52px!important;min-height:44px!important;
   padding:0!important;margin:0!important;border:0!important;
   background:transparent!important;color:#f4efe9!important;
   font:600 11px/1.1 var(--ui,Arial,sans-serif)!important;
   letter-spacing:.02em!important;cursor:pointer!important;white-space:nowrap;position:relative!important;z-index:250!important
 }
 .site-header .nav-left,.collection-header .collection-nav-left,
 .beauty-header .beauty-nav-left,.pdp-header .pdp-nav-left{
   display:none!important;position:absolute!important;
   top:calc(100% - 1px)!important;left:12px!important;
   right:auto!important;bottom:auto!important;
   width:min(270px,calc(100vw - 24px))!important;
   padding:12px!important;margin:0!important;
   background:#111525!important;border:1px solid rgba(255,255,255,.2)!important;
   box-shadow:0 18px 32px rgba(0,0,0,.4)!important;
   flex-direction:column!important;align-items:stretch!important;
   gap:0!important;z-index:200!important
 }
 .site-header .nav-left.open,.collection-header .collection-nav-left.open,
 .beauty-header .beauty-nav-left.open,.pdp-header .pdp-nav-left.open{display:flex!important}
 .site-header .nav-left a,.collection-header .collection-nav-left a,
 .beauty-header .beauty-nav-left a,.pdp-header .pdp-nav-left a{
   display:flex!important;align-items:center!important;
   min-height:46px!important;padding:9px 12px!important;
   font:600 12px/1.2 var(--ui,Arial,sans-serif)!important;letter-spacing:.06em!important;
   color:#f4efe9!important;text-decoration:none!important
 }
 .site-header .brand-lockup,.collection-header .collection-wordmark,
 .beauty-header .beauty-wordmark,.pdp-header .pdp-wordmark{
   grid-column:2!important;grid-row:1!important;justify-self:center!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
   margin:0!important;min-width:0!important;max-width:100%!important;
   font-size:clamp(18px,5.1vw,26px)!important;white-space:nowrap!important;
   letter-spacing:.10em!important;transform:none!important
 }
 .site-header .brand-emblem,.collection-header .brand-emblem,
 .beauty-header .brand-emblem,.pdp-header .brand-emblem{
   width:26px!important;height:29px!important;flex:0 0 auto!important;margin-right:6px!important
 }
 .pdp-page .pdp-header .brand-lockup::after{
   width:clamp(100px,28vw,149px)!important;height:27px!important;
   background-size:contain!important
 }
 .site-header .nav-right,.collection-header .collection-nav-right,
 .beauty-header .beauty-nav-right,.pdp-header .pdp-nav-right{
   grid-column:3!important;grid-row:1!important;display:flex!important;
   justify-content:flex-end!important;align-items:center!important;
   position:static!important;width:auto!important;margin:0!important;padding:0!important;
   min-width:0!important;gap:0!important
 }
 .site-header .nav-right>*:not(.dv-nav-cart),
 .collection-header .collection-nav-right>*:not(.dv-nav-cart),
 .beauty-header .beauty-nav-right>*:not(.dv-nav-cart),
 .pdp-header .pdp-nav-right>*:not(.dv-nav-cart){display:none!important}
 .site-header .dv-nav-cart,.collection-header .dv-nav-cart,
 .beauty-header .dv-nav-cart,.pdp-header .dv-nav-cart{
   display:flex!important;align-items:center!important;justify-content:center!important;
   width:74px!important;min-height:41px!important;padding:6px!important;
   border:1px solid rgba(255,255,255,.64)!important;
   background:transparent!important;color:#f4efe9!important;
   font:600 10px/1.1 var(--ui,Arial,sans-serif)!important;letter-spacing:.025em!important
 }
 .collection-page .collection-toolbar{top:65px!important}
 .collection-page .collection-grid{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px!important
 }
 .collection-page .collection-grid .dv-uniform-card{grid-column:auto!important;grid-row:auto!important}
 .collection-page .collection-grid .dv-card-content{padding:12px!important;min-height:141px!important}
 .collection-page .collection-grid .dv-card-intro h2{font-size:clamp(16px,4.2vw,21px)!important}
 .collection-page .collection-grid .cj-card-price{font-size:15px!important}
}
@media(max-width:360px){
 .site-header,.collection-header,.beauty-page .beauty-header,
 .pdp-page .pdp-header,.beauty-product-page .beauty-header{
  grid-template-columns:43px minmax(0,1fr) 68px!important;padding:9px 8px!important
 }
 .site-header .dv-nav-cart,.collection-header .dv-nav-cart,
 .beauty-header .dv-nav-cart,.pdp-header .dv-nav-cart{width:66px!important}
 .site-header .brand-emblem,.collection-header .brand-emblem,
 .beauty-header .brand-emblem,.pdp-header .brand-emblem{width:23px!important;margin-right:3px!important}
}

@media(max-width:760px){
 /* The old PDP and Beauty style sheets contain more specific layout rules.
    Explicit hidden state always beats a legacy display:flex declaration. */
 .pdp-page .pdp-header .pdp-nav-left[hidden],
 .beauty-product-page .beauty-header .beauty-nav-left[hidden],
 .beauty-page .beauty-header .beauty-nav-left[hidden],
 .collection-page .collection-header .collection-nav-left[hidden]{
  display:none!important;visibility:hidden!important;pointer-events:none!important
 }
 .pdp-page .pdp-header .pdp-nav-left.open:not([hidden]),
 .beauty-product-page .beauty-header .beauty-nav-left.open:not([hidden]),
 .beauty-page .beauty-header .beauty-nav-left.open:not([hidden]),
 .collection-page .collection-header .collection-nav-left.open:not([hidden]){
  display:flex!important;visibility:visible!important;pointer-events:auto!important
 }
 .pdp-page .pdp-header .pdp-nav-right,
 .beauty-product-page .beauty-header .beauty-nav-right{
  display:flex!important;position:static!important;inset:auto!important;
  top:auto!important;right:auto!important;left:auto!important;
  transform:none!important;max-width:100%!important;min-width:0!important;
  width:auto!important;justify-self:end!important
 }
}

/* PDP legacy 'back arrow' styles are for the collapsed state only.
   When the hamburger opens, the full nav (including language choices)
   must regain normal size, position and visible link labels. */
@media(max-width:760px){
 .pdp-page .pdp-header .pdp-nav-left.open:not([hidden]){
  display:flex!important;position:absolute!important;
  left:12px!important;right:auto!important;top:calc(100% - 1px)!important;
  transform:none!important;
  width:min(270px,calc(100vw - 24px))!important;
  max-width:min(270px,calc(100vw - 24px))!important;min-width:0!important;
  padding:12px!important;z-index:260!important
 }
 .pdp-page .pdp-header .pdp-nav-left.open:not([hidden]) > a{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;height:auto!important;min-height:46px!important;
  padding:9px 12px!important;
  font:600 12px/1.2 var(--ui,Arial,sans-serif)!important;
  color:#f4efe9!important
 }
 .pdp-page .pdp-header .pdp-nav-left.open:not([hidden]) > a:first-child::before{
  content:none!important
 }
}
