/* Small, shared refinements to the existing SANJIESAN skin. */
html:has(.site-header) { scrollbar-gutter: stable; scroll-padding-top: 88px; }
.site-header { box-shadow: 0 6px 24px #6b4b5314; }
.site-header .header-inner { gap: 14px; }
.site-header .brand { min-height: 44px; justify-content: center; flex-shrink: 0; }
.site-header :is(.universe-header-collect, .locale-switch > summary, .mobile-browse > summary) {
  min-width: 44px; min-height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.site-header .universe-header-collect { border-radius: 12px; }
.site-header .main-nav { gap: clamp(12px, 1.2vw, 18px); padding-block: 5px; }
.site-header .main-nav > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; position: relative; }
.site-header .main-nav > a:nth-child(n+8) { display: none; }
.site-header .main-nav > a.current::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 3px; height: 2px;
  border-radius: 2px; background: #df90a6;
}
.site-header .header-search { height: 44px; width: 148px; min-width: 120px; }
.site-header .header-search button { min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.site-header .header-search input { padding-left: 0; }
.site-header .header-search:focus-within { border-color: #bb87a6; box-shadow: 0 0 0 3px #bb87a619; }
.site-header .mobile-browse { display: block; position: relative; flex: none; }
.site-header .mobile-browse > summary {
  width: 44px; height: 44px; list-style: none; cursor: pointer;
  border: 1px solid #eadce5; border-radius: 12px; background: #fffdfb;
}
.site-header .mobile-browse > summary::-webkit-details-marker { display: none; }
.site-header .mobile-browse svg { width: 22px; height: 22px; fill: none; stroke: #7f6581; stroke-width: 1.6; stroke-linecap: round; }
.site-header .mobile-browse[open] > summary, .site-header .locale-switch[open] > summary {
  background: #fff1f5; border-color: #dcb5c6; color: #98617b;
}
.site-header .mobile-browse-panel {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px;
  width: min(420px,calc(100vw - 32px)); padding: 18px;
  max-height: calc(100dvh - 94px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #eadbe6; border-radius: 22px; background: #fffdfb;
  box-shadow: 0 14px 50px #71577120;
}
.site-header .mobile-browse-panel > .eyebrow { grid-column: 1/-1; padding: 3px 5px 10px; }
.site-header .mobile-browse-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 48px; padding: 11px 12px; border: 1px solid #f0e5eb;
  border-radius: 11px; background: #fff7f9; font-size: .82rem; line-height: 1.5;
}
.site-header .mobile-browse-panel a span { color: #a17c95; flex: none; }
.site-header .mobile-browse-panel a[aria-current=page] { background: #edf4fb; border-color: #d6e4f1; color: #665a80; }
.site-header .locale-menu {
  top: calc(100% + 12px); min-width: 180px; padding: 8px;
  max-height: calc(100dvh - 94px); overflow-y: auto; overscroll-behavior: contain;
  border-color: #eadbe6; box-shadow: 0 14px 50px #71577120;
}
.site-header .locale-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; }
.site-header :is(a,summary,button):focus-visible,
.site-footer a:focus-visible,
body:has(.site-header) main :is(button,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid #aa7799; outline-offset: 3px;
}
body:has(.site-header) main :is(h1,h2) { text-wrap: balance; }
body:has(.site-header) main :is(.shop-heading,.ip-page-hero,.ip-brand-hero,.collab-hero) p { text-wrap: pretty; }
body:has(.site-header) :is(.button-row,.ip-contact-actions,.ip-hero-buttons) { gap: 12px; }
body:has(.site-header) main :is(.button,.ref-collab-cta,.ip-hub-nav a) { min-height: 44px; }
body:has(.site-header) main :is(.button,.ip-hub-nav a,.discovery-filters button) {
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
}
body:has(.site-header) main .button:disabled { transform: none; box-shadow: none; cursor: not-allowed; }
body:has(.site-header) main :is(.lead-form,.shop-search,.universe-asset-filters) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  min-height: 48px; transition: border-color .18s, box-shadow .18s;
}
body:has(.site-header) main :is(.lead-form,.shop-search) :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus {
  border-color: #bb87a6; box-shadow: 0 0 0 3px #bb87a616;
}
.discovery-dialog, .art-lightbox-dialog { overscroll-behavior: contain; scrollbar-gutter: stable; }
.discovery-dialog > .discovery-close {
  position: sticky; top: 12px; right: auto; display: grid; place-items: center;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  margin: 12px 12px -56px auto; padding: 0; flex: none;
  background: #fffdfbf5; box-shadow: 0 3px 12px #70566612;
}
#global-picks { scroll-margin-top: 90px; }
#global-picks .showcase-card { display: flex; flex-direction: column; }
#global-picks .showcase-card-image { flex: none; width: 100%; background: #fff; border-bottom: 1px solid #f4eaf0; }
#global-picks .showcase-card-copy { display: flex; flex-direction: column; flex: 1; width: 100%; }
#global-picks .showcase-card-copy h4 { flex: 1; line-height: 1.5; }
#global-picks .showcase-card-copy > p:last-child { min-height: 24px; align-items: center; }
html:lang(en) #global-picks h3 > span { display: none; }
.site-footer .footer-brand { line-height: 1.7; }
.site-footer .footer-groups nav { gap: 4px; }
.site-footer .footer-groups nav a { display: flex; align-items: center; min-height: 32px; line-height: 1.55; }

@media (min-width:1001px) and (max-width:1439px) {
  .site-header .header-search { display: none; }
}
@media (max-width:1279px) {
  .site-header .main-nav { display: none; }
  .site-header .header-search { display: none; }
  .site-header .header-inner { flex-wrap: nowrap; justify-content: space-between; }
  .site-header .brand { margin-right: auto; }
}
@media (max-width:700px) {
  .site-header { min-height: 64px; padding: 5px 14px; }
  .site-header .header-inner { min-height: 53px; gap: 8px; }
  .site-header .locale-switch { margin-left: 0; order: unset; }
  .site-header .locale-menu { position: absolute; right: 0; }
  .site-header .mobile-browse-panel { padding: 12px; gap: 6px; border-radius: 18px; }
  .site-header .mobile-browse-panel a { padding: 10px; font-size: .8rem; }
  .site-header .brand strong { font-size: 1.1rem; }
  .site-header .brand span { font-size: .35rem; }
  body:has(.site-header) main .button { max-width: 100%; line-height: 1.5; }
  body:has(.site-header) main :is(.lead-form,.shop-search,.universe-asset-filters) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { font-size: 16px; }
  .ip-card-copy p { font-size: .75rem; line-height: 1.7; }
  .ip-card-copy .eyebrow { font-size: .625rem; line-height: 1.6; letter-spacing: .04em; }
  .ip-card-copy h3 { line-height: 1.4; }
  .showcase-card-copy small { font-size: .625rem; letter-spacing: .07em; }
  #global-picks .showcase-card-copy > p:nth-last-child(2) { font-size: .7rem; line-height: 1.6; }
  #global-picks .showcase-card-copy > p:last-child { font-size: .75rem; }
  .site-footer .footer-groups nav a { min-height: 44px; }
}
@media (max-width:359px) {
  .site-header { padding-inline: 10px; }
  .site-header .header-inner { gap: 4px; }
  .site-header .brand strong { font-size: 1rem; }
  .site-header .brand span { font-size: .31rem; }
}
@media (hover:hover) and (pointer:fine) {
  .site-header :is(.universe-header-collect,.mobile-browse > summary,.locale-switch > summary):hover { background: #fff1f5; border-color: #dcb5c6; }
  .site-header .mobile-browse-panel a:hover { border-color: #dcb5c6; background: #fff0f4; }
  .site-footer a:hover { color: #985a78; text-decoration: underline; text-underline-offset: 4px; }
  body:has(.site-header) main .button:not(:disabled):active { transform: translateY(0); }
}
@media (hover:none) {
  body:has(.site-header) main :is(.button,.showcase-card,.campaign-card):hover { transform: none; }
}
@media (prefers-reduced-motion:reduce) {
  html:has(.site-header) { scroll-behavior: auto; }
  body:has(.site-header) :is(.button,.showcase-card,.campaign-card,.ip-asset-card,.discovery-card,.ip-hub-nav a,.discovery-filters button),
  body:has(.site-header) :is(.ip-art,.showcase-card-image) img { transition: none; }
  body:has(.site-header) :is(.button,.showcase-card,.campaign-card,.ip-asset-card):hover { transform: none; }
}
