.ns-style[hidden], .ns-style [hidden], .ns-style-home-only[hidden]{display:none!important}
.ns-style{--ns-style-width:min(100%,420px);color:#111;scroll-margin-top:68px;padding:36px 20px 32px;box-sizing:border-box}
.ns-style *{box-sizing:border-box}
.ns-style>h1,.ns-style>h2{text-align:center;margin:0 0 24px;font:inherit;font-size:15px;font-weight:500;letter-spacing:.11em}
.ns-style .ns-style__gallery{max-width:var(--ns-style-width);margin:0 auto;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none}
.ns-style .ns-style__gallery::-webkit-scrollbar{display:none}
.ns-style :is(.ns-style__rail,.ns-style__items ul){padding:0;margin:0;list-style:none}
.ns-style .ns-style__rail{display:flex}
.ns-style .ns-style__slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.ns-style .ns-style__link{display:block;color:inherit;text-decoration:none}
.ns-style img{display:block;width:100%;height:auto;object-fit:contain;background:#f7f7f7;border-radius:16px}
#style-programmes .ns-style__link img{aspect-ratio:2/3}
#ns-style-page img{aspect-ratio:4/5}
.ns-style .ns-style__caption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 0 6px}
.ns-style .ns-style__name{font-size:14px;letter-spacing:.09em}
.ns-style .ns-style__cta,.ns-style__back{font-size:13px;text-decoration:underline;text-underline-offset:4px}
.ns-style .ns-style__controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;max-width:var(--ns-style-width);margin:0 auto}
.ns-style .ns-style__controls button:last-child{justify-self:end}
.ns-style button{width:max-content;min-width:44px;min-height:44px;padding:0 10px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.ns-style button:disabled{opacity:.4;cursor:default}
.ns-style .ns-style__position{font-size:12px;letter-spacing:.1em;font-variant-numeric:tabular-nums}
#ns-style-page{--ns-style-width:min(100%,620px)}
.ns-style .ns-style__number{text-align:center;font-size:13px;letter-spacing:.1em;margin:24px 0 35px}
.ns-style .ns-style__items{max-width:var(--ns-style-width);margin:18px auto 0}
.ns-style .ns-style__items ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ns-style .ns-style__items a{color:inherit;text-decoration:none}
.ns-style .ns-style__item-name{display:block;font-size:12px;margin:9px 0 0}
.ns-style .ns-style__back{color:inherit;display:block;width:max-content;margin:28px auto 0}
.ns-style :focus-visible{outline:2px solid currentColor;outline-offset:-3px}
@media(max-width:600px){.ns-style{padding-inline:16px}}

.ns-style .ns-style__item-color{display:block;font-size:12px;color:#555;margin:4px 0 0}
@media(min-width:768px){
  #style-programmes{--ns-style-width:100%;--ns-style-gap:clamp(24px,4.4vw,64px)}
  #style-programmes .ns-style__rail{gap:var(--ns-style-gap)}
  #style-programmes .ns-style__slide{flex-basis:calc((100% - var(--ns-style-gap))/2)}
  #style-programmes .ns-style__slide:nth-child(even){scroll-snap-align:none}
  #style-programmes .ns-style__slide:last-child{scroll-snap-align:end}
  #style-programmes .ns-style__caption{margin-top:14px;padding:14px 16px;background:#f7f7f7;border-radius:12px;align-items:center}
  #style-programmes .ns-style__cta{background:#353535;color:#fff;border-radius:30px;text-decoration:none;padding:9px 14px;font-size:12px}
}

#style-programmes .ns-style__link picture{display:block}
@media(max-width:767px){
  #add_area #style-programmes .ns-style__gallery{max-width:none;margin-inline:-16px}
  #style-programmes .ns-style__link img{aspect-ratio:9/16;max-height:100vh;max-height:100svh;border-radius:0}
  #style-programmes .ns-style__caption{padding-inline:16px}
}

/* Native home already has mandatory y-snap under this exact root condition.
   Make the full-height STYLE listing a snap area so oversized content remains scrollable. */
html.nG:not(.sb-active):not(.nH) #index #add_area > .nA > #style-programmes:not([hidden]){
  scroll-snap-align:start;
  scroll-snap-stop:always;
  scroll-margin-top:0;
}

/* Match ASU's mobile reference: one uninterrupted photographic frame under the
   genuine transparent shop header. The tools and title live after the frame. */
@media(max-width:767px){
  #add_area #style-programmes:not([data-style-ratio="23"]){display:flex;flex-direction:column}
  #add_area #style-programmes:not([data-style-ratio="23"])>.ns-style__gallery{order:-2}
  #add_area #style-programmes:not([data-style-ratio="23"])>.ns-style__controls{order:-1}
  #add_area #style-programmes:not([data-style-ratio="23"])>.ns-style__gallery picture{
    background:#f7f7f7;
  }
  #add_area #style-programmes:not([data-style-ratio="23"]) [data-style-id="03"] picture{background:#f1f1f2}
  #add_area #style-programmes:not([data-style-ratio="23"])>.ns-style__gallery img{
    display:block;width:100%;height:100vh;height:100dvh;max-height:none;
    aspect-ratio:auto;object-fit:contain;object-position:50% 100%;
    background:transparent;border-radius:0;
  }
  #add_area #style-programmes:not([data-style-ratio="23"])>.ns-style__gallery .ns-style__caption{min-height:44px}
  #add_area #style-programmes:not([data-style-ratio="23"])>h2{padding-top:var(--ns,32px);padding-bottom:16px}
  html.nG:not(.sb-active):not(.nH) #index #add_area>.nA>#style-programmes:not([hidden]):not([data-style-ratio="23"]){
    position:relative;scroll-snap-align:none;
  }
  html.nG:not(.sb-active):not(.nH) #index #add_area>.nA>#style-programmes:not([hidden]):not([data-style-ratio="23"])::before{
    content:"";position:absolute;top:var(--nt,16px);bottom:0;left:0;right:0;pointer-events:none;
    scroll-snap-align:start;scroll-snap-stop:always;
  }
}

/* Smartphone listing only: the look name belongs on its photo. A tap opens
   details; swipe and the gallery's ArrowLeft/ArrowRight handler stay intact. */
@media(max-width:767px){
  #add_area #style-programmes .ns-style__link{position:relative}
  #add_area #style-programmes .ns-style__gallery .ns-style__caption{
    position:absolute;left:16px;bottom:16px;
    min-height:0;margin:0;padding:0;background:transparent;pointer-events:none;
  }
  #add_area #style-programmes .ns-style__link .ns-style__cta,
  #add_area #style-programmes>.ns-style__controls{display:none}
}

#ns-style-page > .ns-style__return-row{
  display:block;clear:both;text-align:center;width:100%;margin:var(--ns,36px) auto 0;
  padding:0;
}
#ns-style-page > .ns-style__return-row > .ns-style__back{
  display:inline-flex;align-items:center;justify-content:center;margin:0;
  min-height:44px;width:auto;
}

/* Worn items only: match the actual shop card title (and its native color line)
   without adopting the legacy product-grid behavior or affecting the look title. */
#ns-style-page .ns-style__items :is(.ns-style__item-name,.ns-style__item-color){
  display:block;
  font-size:12px!important;font-weight:400!important;line-height:16px!important;
  letter-spacing:.05em!important;
}
#ns-style-page .ns-style__items .ns-style__item-color{margin-top:6px}

#pgt.ns-style-replaced{display:none!important}
@media(min-width:1081px){
  #add_area :is(#style-programmes,#ns-style-page){
    width:100%;max-width:none;margin-inline:0;
    padding-left:var(--ns-style-native-start,280px);
    padding-right:var(--ns-style-native-end,80px);
  }
}
@media(max-width:1080px){
  #add_area #style-programmes,#add_area #ns-style-page{padding-inline:16px}
}
/* Listing only: mirror the adjacent native section-title box and NS MAGAZINE gutter. */
#add_area #style-programmes{
  margin:var(--ns,32px) 0;
  padding-block:0;
}
#add_area > .nA > #style-programmes{
  margin-top:0;
}
#add_area #style-programmes > h2{
  margin:0;
  padding-bottom:var(--ns,32px);
  font:300 var(--fs,15px)/1.6 var(--nf,Arial,sans-serif);
  letter-spacing:1.6px;
}
@media(min-width:768px){
  #add_area #style-programmes{--ns-style-gap:5%}
}

/* Mobile photo text aligned to the supplied guide; retain the full-card tap target. */
@media(max-width:767px){
  #add_area #style-programmes:not([data-style-ratio="23"])>.ns-style__gallery .ns-style__caption{
    bottom:19px;min-height:0;height:14px;
  }
  #add_area #style-programmes .ns-style__gallery .ns-style__name{
    font-size:10px;line-height:14px;
  }
}

.ns-style-detail-hidden{display:none!important}
@media(max-width:767px){#add_area #style-programmes picture{container-type:size;height:100dvh}@container (min-aspect-ratio:3/8) and (max-aspect-ratio:9/16){#add_area #style-programmes:not([hidden])>.ns-style__gallery img{object-fit:cover;object-position:center}}}
/* Two complete 2:3 portraits, two 5% gutters and half the next portrait.
   If viewport height caps the cards, cap the left-aligned scroll window too:
   this keeps the 2.5-card view without moving the native guide or adding tiles. */
@media(min-width:768px){
  #add_area #style-programmes>.ns-style__gallery{
    max-width:min(100%,calc((100vh - 176px)*50/27));
    max-width:min(100%,calc((100svh - 176px)*50/27));
    margin-left:0;
  }
  #add_area #style-programmes .ns-style__slide{flex-basis:36%}
}
/* Fixed-sidebar PC only. Shift ink into the native logo's horizontal line
   without enlarging the shared title box/pushing the photos down. */
@media(min-width:1081px){
  #add_area #style-programmes>h2{
    position:relative;top:calc(55.684px - var(--nt,16px) - var(--fs,15px)*.8);
  }
}
/* Keep the native logo and photo unchanged; title occupies the existing upper
   background of the phone's full-frame STYLE PROGRAMMES listing only. */
@media(max-width:767px){
  #add_area #style-programmes{position:relative}
  #add_area #style-programmes:not([data-style-ratio="23"])>h2{
    position:absolute;left:0;right:0;top:var(--nt,67px);
    top:clamp(53px,calc(15dvh - 20px),var(--nt,67px));
    z-index:2;margin:0;padding:0;line-height:1.2;text-align:center;pointer-events:none;
  }
}

/* Native nav hierarchy and a dedicated editorial index, not merchandise. */
[data-ns-look-nav]{position:relative;list-style:none}
[data-ns-look-nav] .ns-look-nav__head{display:flex;align-items:center;justify-content:space-between;width:100%}
[data-ns-look-nav] a{color:inherit;text-decoration:none}
[data-ns-look-nav] button{appearance:none;border:0;background:none;color:inherit;cursor:pointer;padding:0;min-width:24px;font:inherit;line-height:1}
[data-ns-look-nav] ul{list-style:none;padding:0 0 4px 16px;margin:0}
[data-ns-look-nav] ul[hidden]{display:none!important}
[data-ns-look-nav] ul li{margin:0;line-height:1.6}
[data-ns-look-nav] ul span[aria-disabled]{opacity:.46}
html:has(#ns-style-index:not([hidden])){scroll-snap-type:none!important}
#ns-style-index{padding-top:42px;padding-bottom:var(--ns,48px);padding-inline:16px}
#ns-style-index>h1{margin:0 0 var(--ns,32px)}
#ns-style-index .ns-style-index__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ns,48px) 5%;padding:0;margin:0;list-style:none}
#ns-style-index .ns-style-index__link{display:block;color:inherit;text-decoration:none}
#ns-style-index .ns-style-index__link img{aspect-ratio:2/3;object-fit:contain}
#ns-style-index .ns-style-index__name{display:block;margin-top:9px;font-size:12px;font-weight:400;line-height:16px;letter-spacing:.05em}
@media(min-width:1081px){#ns-style-index{padding-inline:280px 80px}}
@media(max-width:767px){
  #ns-style-index{padding-top:80px}
  #ns-style-index .ns-style-index__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-ns-look-nav] button{min-width:44px;min-height:36px}
}
.headerLeftTop [data-ns-look-nav],.sb-slidebar [data-ns-look-nav]{font-size:10px;letter-spacing:1.6px;font-weight:400}
.headerLeftTop [data-ns-look-nav]{line-height:13px}
.sb-slidebar [data-ns-look-nav]{line-height:14px}
/* Match the direct native row and child spacings, not global sidebar CSS. */
.headerLeftTop [data-ns-look-nav],.sb-slidebar [data-ns-look-nav]{margin:0 0 15px}
[data-ns-look-nav] button{min-width:0;width:16px;height:16px;min-height:0;flex:0 0 16px}
[data-ns-look-nav] ul{padding:0;margin:15px 0 0}
[data-ns-look-nav] ul li{padding-left:10px}
.sb-slidebar [data-ns-look-nav] ul{margin-left:2%}
#index:has(#ns-style-index:not([hidden])) :is(#add_area>.nA>.PickUpArea,#add_area>.nA>.CategoryArea){display:none!important}
/* Temporary native-style localized label occupies the original heading line. */
#style-programmes>h2 .ns-style-title-jp{display:inline-block;white-space:nowrap}
#style-programmes>h2 .ns-style-title-jp>span{display:inline-block}
