/* Glimpse o' Nature — Aurora trial overrides & T011c thin-O logo system.
   Loaded on trial/aurora after v8.css, page styles, and aurora-palette.css. */

/* ---- Palette overrides for hardcoded warm values in base stylesheets ---- */
.pdp {
  background: var(--bg);
}

.sec .top,
.pdp .top,
.about-page .top {
  background: var(--surface);
  color: var(--text);
  border-bottom-color: var(--line);
}

.top nav.open {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero .cta {
  background: var(--surface);
  color: var(--navy);
}

.hero .cta:hover {
  background: var(--surface);
  color: var(--accent);
}

body.dark .hero .cta {
  background: var(--head);
  color: var(--dark);
}

body.dark .hero .cta:hover {
  background: var(--peach);
  color: var(--dark);
}

.btn:hover,
.waitlist button:hover,
.sm button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.ghost:hover {
  background: color-mix(in srgb, var(--navy) 6%, transparent);
  color: var(--navy);
  border-color: var(--navy);
}

.mtog {
  background: var(--ice);
}

.lights .sw {
  background: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(13, 32, 55, 0.16);
}

.lights[aria-pressed="true"] .sw {
  background: var(--peach);
  box-shadow: none;
}

.wlok,
.ok {
  background: #E6F3F2;
  color: var(--text);
}

footer:not(.sf):not(.pfoot) {
  background: var(--dark);
  color: #E4EAEB;
}

footer.sf,
footer.pfoot {
  background: var(--bg);
  color: var(--muted);
}

footer.sf a:hover,
footer.pfoot a:hover {
  color: var(--head);
}

footer input {
  border-color: #2B4255;
}

footer .note,
footer .base {
  color: #9AA8AE;
}

footer .base {
  border-top-color: #1E3344;
}

footer button {
  background: var(--peach);
  color: var(--dark);
}

.lab-page .lab-logos {
  background: #EEF3F5;
  border-color: var(--line);
}

.lab-page .lab-logo-item figcaption {
  color: var(--muted);
}

.abs.mat .abs-fig {
  background: var(--ice);
}

.guides-page .ai-note,
.guides-page .g-wrap p.ai-note {
  color: var(--muted);
}

/* Guides mosaic accent labels: keep WCAG AA >= 4.5:1 on cool bg & dark bg */
.guides-page .gx-m[style*="#2e829e"] .gx-label {
  color: #1E6B84;
}

.guides-page .gx-m[style*="#7d9438"] .gx-label {
  color: #52641D;
}

body.dark.guides-page .gx-m .gx-label,
body.dark .guides-page .gx-m .gx-label {
  color: color-mix(in srgb, var(--acc) 38%, #E8F0F2);
  filter: none;
}

.pdp.arr-frame .car,
.pdp.arr-frame .car:has(.vprint:not([hidden])),
.pdp.arr-frame .car:has(.vroom:not([hidden])) {
  border-color: rgba(13, 32, 55, 0.16);
  box-shadow: 0 10px 36px rgba(10, 22, 34, 0.07);
}

.pdp.arr-out .arr,
.pdp.arr-frame .arr {
  color: rgba(13, 32, 55, 0.45);
}

.pdp.arr-out .arr:hover,
.pdp.arr-frame .arr:hover {
  color: rgba(13, 32, 55, 0.78);
}

/* ---- Lights off / body.dark cool palette & contrast fixes ---- */
body.dark.pdp .top,
body.dark .pdp .top,
body.dark.sec .top,
body.dark.about-page .top {
  background: var(--bg);
  border-color: var(--line);
  color: var(--text);
}

body.dark.pdp .top nav a,
body.dark.pdp .top #nav .bag,
body.dark.pdp .top .burger,
body.dark .pdp .top nav a,
body.dark .pdp .top #nav .bag,
body.dark .pdp .top .burger {
  color: var(--text);
}

body.dark .top nav.open,
body.dark.sec .top nav.open,
body.dark.about-page .top nav.open,
body.dark.pdp .top nav.open,
body.dark .pdp .top nav.open {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

body.dark .link,
body.dark .gf .go,
body.dark .btn.ghost,
body.dark .side .clear,
body.dark .seg button[aria-pressed="true"],
body.dark .fc[aria-pressed="true"],
body.dark .mp-sw .fc[aria-current="page"],
body.dark .mtog button[aria-pressed="true"] {
  background: #E8F0F2;
  color: var(--dark);
  border-color: #E8F0F2;
}

body.dark .btn,
body.dark.about-page .btn {
  background: #E8F0F2;
  color: var(--dark);
  border-color: #E8F0F2;
}

body.dark .btn:hover,
body.dark.about-page .btn:hover,
body.dark .sm button:hover {
  background: var(--peach);
  color: var(--dark);
  border-color: var(--peach);
}

body.dark .sm button {
  background: #E8F0F2;
  color: var(--dark);
}

body.dark .waitlist button {
  background: var(--peach);
  color: var(--dark);
}

body.dark .waitlist button:hover {
  background: #96D8D7;
  color: var(--dark);
}

body.dark .mt[aria-pressed="true"] .ph::after {
  box-shadow: inset 0 0 0 4px #E8F0F2;
}

body.dark .float .mt[aria-pressed="true"] .ph::after {
  box-shadow: inset 0 0 0 2.5px #E8F0F2;
}

body.dark .tc[aria-pressed="true"] {
  outline-color: #E8F0F2;
}

body.dark .fc:hover {
  border-color: var(--head);
}

body.dark .pc .im {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 26px 60px -24px rgba(95, 181, 180, 0.28);
}

body.dark .mtog {
  background: #163040;
}

body.dark .lights .sw {
  background: #163040;
  box-shadow: inset 0 0 0 1px rgba(232, 240, 242, 0.22);
}

body.dark .lights[aria-pressed="true"] .sw {
  background: var(--peach);
  box-shadow: none;
}

body.dark .gal .more-a {
  color: #E8F0F2;
  border-color: var(--line);
}

body.dark .gal .more-a:hover {
  background: #E8F0F2;
  color: var(--dark);
  border-color: #E8F0F2;
}

body.dark .gal .more-t {
  color: #E8F0F2;
}

body.dark .wlok,
body.dark .ok {
  background: rgba(126, 207, 206, 0.14);
  color: var(--text);
}

body.dark.pdp .crumbs a:hover,
body.dark .pdp .crumbs a:hover {
  color: var(--head);
}

body.dark.pdp .thumbs .tp,
body.dark .pdp .thumbs .tp {
  background: var(--surface);
}

body.dark.pdp .thumbs [aria-pressed="true"],
body.dark .pdp .thumbs [aria-pressed="true"] {
  color: var(--head);
}

body.dark.pdp .thumbs [aria-pressed="true"] > img,
body.dark.pdp .thumbs [aria-pressed="true"] .tp,
body.dark.pdp .thumbs [aria-pressed="true"] .tr,
body.dark .pdp .thumbs [aria-pressed="true"] > img,
body.dark .pdp .thumbs [aria-pressed="true"] .tp,
body.dark .pdp .thumbs [aria-pressed="true"] .tr {
  border-color: var(--head);
}

body.dark.pdp.arr-frame .car,
body.dark.pdp.arr-frame .car:has(.vprint:not([hidden])),
body.dark.pdp.arr-frame .car:has(.vroom:not([hidden])),
body.dark .pdp.arr-frame .car,
body.dark .pdp.arr-frame .car:has(.vprint:not([hidden])),
body.dark .pdp.arr-frame .car:has(.vroom:not([hidden])) {
  background: var(--surface);
  border-color: var(--line);
}

body.dark.pdp.arr-frame .arr,
body.dark.pdp.arr-out .arr,
body.dark .pdp.arr-frame .arr,
body.dark .pdp.arr-out .arr {
  color: rgba(232, 240, 242, 0.68);
}

body.dark.pdp.arr-frame .arr:hover,
body.dark.pdp.arr-out .arr:hover,
body.dark .pdp.arr-frame .arr:hover,
body.dark .pdp.arr-out .arr:hover {
  color: rgba(232, 240, 242, 0.92);
}

/* Gentle top darkening for white transparent logo & nav legibility on bright skies (e.g. Okshorn) */
.hero::after {
  background: linear-gradient(
    180deg,
    rgba(10, 22, 34, 0.56) 0%,
    rgba(10, 22, 34, 0.34) 18%,
    rgba(10, 22, 34, 0.12) 34%,
    rgba(10, 22, 34, 0) 46%,
    rgba(10, 22, 34, 0.64) 100%
  );
}

/* ---- Never invert or tint the colourful Aurora O in Lights off ---- */
body.dark .logo img,
body.dark .float .logo img,
body.dark.sec .top .logo img,
body.dark.about-page .top .logo img,
body.dark.pdp .top .logo img,
body.dark .pdp .top .logo img {
  filter: none !important;
}

/* ---- Unified sky-strip header on all non-hero pages (PDP, About, Guides, Lab, Moods, Tags, legal, 404) ---- */
.sec .top,
.pdp .top,
.about-page .top,
body:not([data-allprints]) header.top,
html[data-aurora-hero="0"] header.top {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 22, 34, 0.56) 0%, rgba(10, 22, 34, 0.36) 100%),
    url("/assets/brand-aurora/header-sky-dune-glow.webp") center / cover no-repeat;
  color: #fff;
  border-bottom: 1px solid rgba(10, 22, 34, 0.18);
}

body.dark.pdp .top,
body.dark .pdp .top,
body.dark.sec .top,
body.dark.about-page .top,
body.dark:not([data-allprints]) header.top,
html[data-aurora-hero="0"] body.dark header.top {
  background:
    linear-gradient(180deg, rgba(10, 22, 34, 0.64) 0%, rgba(10, 22, 34, 0.46) 100%),
    url("/assets/brand-aurora/header-sky-dune-glow.webp") center / cover no-repeat;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sec .top nav:not(.open) a,
.pdp .top nav:not(.open) a,
.about-page .top nav:not(.open) a,
body:not([data-allprints]) header.top nav:not(.open) a,
.sec .top nav:not(.open) .lights.navl,
.pdp .top nav:not(.open) .lights.navl,
.about-page .top nav:not(.open) .lights.navl,
body:not([data-allprints]) header.top nav:not(.open) .lights.navl,
.sec .top #nav:not(.open) .bag,
.pdp .top #nav:not(.open) .bag,
.sec .top .burger,
.pdp .top .burger,
.about-page .top .burger,
body:not([data-allprints]) header.top .burger {
  color: #fff;
  text-shadow: 0 1px 6px rgba(10, 22, 34, 0.52);
}

.sec .top .lights,
.pdp .top .lights,
.about-page .top .lights,
body:not([data-allprints]) header.top .lights {
  border-color: rgba(255, 255, 255, 0.36);
}

.sec .top .lights .sw,
.pdp .top .lights .sw,
.about-page .top .lights .sw,
body:not([data-allprints]) header.top .lights .sw {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.sec .top .lights[aria-pressed="true"] .sw,
.pdp .top .lights[aria-pressed="true"] .sw,
.about-page .top .lights[aria-pressed="true"] .sw,
body:not([data-allprints]) header.top .lights[aria-pressed="true"] .sw {
  background: var(--peach);
}

/* Mobile opened menu drawer stays clean solid surface with readable text */
.top nav.open,
.sec .top nav.open,
.pdp .top nav.open,
.about-page .top nav.open,
body:not([data-allprints]) header.top nav.open {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.top nav.open a,
.top nav.open .lights.navl,
.sec .top nav.open a,
.pdp .top nav.open a,
.about-page .top nav.open a,
.pdp .top nav.open .lights.navl {
  color: var(--text);
  text-shadow: none;
}

.top nav.open .lights {
  border-color: var(--line);
}

.top nav.open .lights .sw {
  background: var(--ice);
}

body.dark .top nav.open .lights .sw {
  background: #163040;
}

/* ---- Unified white Aurora thin-O logo (54px desktop / 38px mobile) across Hero & all inner headers ---- */
header.top .logo,
.sec .top .logo,
.pdp .top .logo,
.about-page .top .logo,
body[data-allprints] .top .logo,
html[data-aurora-hero="1"] .top .logo,
html[data-aurora-hero="0"] .top .logo {
  display: inline-flex;
  align-items: center;
}

header.top .logo img,
.sec .top .logo img,
.pdp .top .logo img,
.about-page .top .logo img,
body[data-allprints] .top .logo img,
html[data-aurora-hero="1"] .top .logo img,
html[data-aurora-hero="0"] .top .logo img,
body.dark header.top .logo img,
body.dark.sec .top .logo img,
body.dark.pdp .top .logo img,
body.dark .pdp .top .logo img,
body.dark.about-page .top .logo img,
body.dark[data-allprints] .top .logo img {
  height: clamp(46px, 3.8vw, 54px);
  width: auto;
  margin-block: -7px;
  filter: drop-shadow(0 2px 10px rgba(10, 22, 34, 0.52)) drop-shadow(0 1px 3px rgba(10, 22, 34, 0.42)) !important;
}

@media (max-width: 860px) {
  header.top .logo img,
  .sec .top .logo img,
  .pdp .top .logo img,
  .about-page .top .logo img,
  body[data-allprints] .top .logo img,
  html[data-aurora-hero="1"] .top .logo img,
  html[data-aurora-hero="0"] .top .logo img,
  body.dark header.top .logo img,
  body.dark.sec .top .logo img,
  body.dark.pdp .top .logo img,
  body.dark .pdp .top .logo img,
  body.dark.about-page .top .logo img,
  body.dark[data-allprints] .top .logo img {
    height: clamp(34px, 9.5vw, 38px);
    margin-block: -5px;
  }
}

body[data-allprints] .top nav:not(.open) a,
body[data-allprints] .top nav:not(.open) .lights.navl,
body[data-allprints] .top .burger,
html[data-aurora-hero="1"] .top nav:not(.open) a,
html[data-aurora-hero="1"] .top nav:not(.open) .lights.navl,
html[data-aurora-hero="1"] .top .burger {
  text-shadow: 0 1px 6px rgba(10, 22, 34, 0.5);
}

.float .logo img {
  height: clamp(26px, 2.2vw, 32px);
  width: auto;
  margin-block: -5px;
}

/* ---- Guides hub hero: match 1040px magazine width so 1600px room & print render crisp ---- */
.guides-page .gx-hero {
  width: auto;
  max-width: 1008px;
  margin: 4px auto 0;
  border-radius: 10px;
}

@media (max-width: 1040px) {
  .guides-page .gx-hero {
    margin-inline: 16px;
  }
}

.guides-page .gx-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  max-height: 567px;
  object-fit: cover;
}

/* ---- Unified dark footer across the entire site (5 columns on desktop) ---- */
footer {
  background: var(--dark);
  color: #E4EAEB;
  padding: clamp(48px, 6vw, 80px) var(--pad) 30px;
}

body:not([data-allprints]) footer {
  margin-top: clamp(32px, 4vw, 64px);
}

footer .fg {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: 36px;
}

@media (max-width: 960px) {
  footer .fg {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  footer .fg {
    grid-template-columns: 1fr;
  }
}

footer .logo {
  display: inline-block;
  margin-bottom: 16px;
}

footer .logo img {
  height: 48px;
  width: auto;
  margin-bottom: 0;
}

/* ---- T015 / T015b: Mobile-only controls hidden unconditionally on desktop (>= 768px & normal height) ---- */
.m-exp,
.m-seg,
.pdp-sticky,
.glv {
  display: none;
}

@media (max-width: 767px), (max-width: 960px) and (max-height: 500px) {
  /* ---- T015: Expand button on gallery & mood cards ---- */
  .m-exp {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(10, 22, 34, 0.58);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    padding: 0;
  }

  /* ---- T015: All prints toolbar & Single / Grid toggle (variant B) ---- */
  .all .tools {
    width: 100%;
    gap: 10px;
  }

  #fbtnN:empty {
    display: none;
  }

  #view {
    display: none;
  }

  .m-seg {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
  }

  .m-seg button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 0;
    line-height: 1;
  }

  .m-seg button[aria-pressed="true"] {
    background: var(--navy);
    color: #fff;
  }

  body.dark .m-seg {
    background: var(--surface);
    border-color: var(--line);
  }

  body.dark .m-seg button[aria-pressed="true"] {
    background: #E8F0F2;
    color: var(--dark);
  }

  /* ---- T015: All prints Single layout (default) ---- */
  #pgrid.m-single {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  #pgrid.m-single .pc {
    width: 100%;
    margin: 0;
  }

  #pgrid.m-single .pc.is-port {
    width: 70%;
    margin-inline: auto;
  }

  #pgrid.m-single .pc .im {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
  }

  #pgrid.m-single .pc img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  #pgrid.m-single .pc .cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-top: 8px;
  }

  #pgrid.m-single .pc .cap b {
    font-size: 16px;
    line-height: 1.25;
  }

  #pgrid.m-single .pc .cap span {
    font-size: 13px;
    white-space: nowrap;
  }

  /* ---- T015: All prints Grid layout (2-col masonry, natural aspect) ---- */
  #pgrid.m-grid {
    position: relative;
    display: block;
  }

  #pgrid.m-grid .pc {
    margin: 0;
  }

  #pgrid.m-grid .pc .im {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
  }

  #pgrid.m-grid .pc img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  #pgrid.m-grid .pc .m-exp {
    right: 6px;
    bottom: 6px;
    width: 26px;
    height: 26px;
  }

  #pgrid.m-grid .pc .cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
  }

  #pgrid.m-grid .pc .cap b {
    font-size: 14px;
    line-height: 1.2;
  }

  #pgrid.m-grid .pc .cap span {
    font-size: 12px;
    white-space: nowrap;
  }

  /* ---- T015: Mood & Tag galleries on mobile (matching Single rhythm & 15% portrait margin) ---- */
  .stage .gal {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 28px !important;
  }

  .stage .gal .gf {
    width: 100%;
    margin: 0;
  }

  .stage .gal .gf.port {
    width: 70%;
    margin-inline: auto !important;
  }

  .stage .gal .gf .gi {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
  }

  .stage .gal .gf img,
  .stage .gal .gf.feat img,
  .stage .gal .gf.port img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .stage .gal .gf figcaption {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px 12px;
    margin-top: 8px;
  }

  .stage .gal .gf figcaption .n {
    font-size: 16px;
    line-height: 1.25;
    min-width: 0;
  }

  .stage .gal .gf figcaption .n .pl {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
    margin-top: 1px;
  }

  .stage .gal .gf figcaption .go {
    display: inline-block;
    margin-left: auto;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    background: transparent;
    border: 0;
  }

  body.dark .stage .gal .gf figcaption .go {
    background: transparent;
    color: var(--head);
    border: 0;
  }

  .stage .gal .more-a {
    align-self: center;
    margin-top: 4px;
  }

  /* Mood View-large page (2-hybrid-prints/mood.html) portrait 15% side margins */
  .mood-page .mp-list {
    gap: 28px;
  }

  .mood-page .mp-i {
    position: relative;
  }

  .mood-page .mp-f.port .mp-i {
    width: 70%;
  }

  .mood-page .mp-f.port figcaption {
    width: 70%;
    min-width: 0;
  }

  .mood-page .mp-f .n {
    font-size: 16px;
  }

  /* ---- T015: Product page on mobile (tall uncropped print + sticky waitlist bar) ---- */
  body.pdp.arr-frame .car,
  body.pdp.arr-frame .car:has(.vprint:not([hidden])),
  body.pdp.arr-frame .car:has(.vroom:not([hidden])),
  body.dark.pdp.arr-frame .car,
  body.dark.pdp.arr-frame .car:has(.vprint:not([hidden])),
  body.dark.pdp.arr-frame .car:has(.vroom:not([hidden])) {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.pdp .car .arr {
    display: none;
  }

  body.pdp .car .view.vprint:not([hidden]) {
    aspect-ratio: auto;
    height: auto;
  }

  body.pdp .car .view.vprint:not([hidden]) .pframe {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    border-radius: 6px;
    overflow: hidden;
  }

  body.pdp.is-port .car .view.vprint:not([hidden]) .pframe {
    width: 70%;
    margin-inline: auto;
  }

  body.pdp .car #pimg,
  body.pdp .car .pframe.fit-w #pimg,
  body.pdp .car .pframe.fit-h #pimg {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: var(--iar, auto);
    object-fit: contain;
    display: block;
  }

  body.pdp .car .view.vroom:not([hidden]) {
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    overflow: hidden;
  }

  body.pdp .car > .zbtn,
  body.pdp.arr-frame .car > .zbtn {
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 22, 34, 0.72);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 11px;
    border-radius: 999px;
  }

  body.pdp.is-port .car:has(.vprint:not([hidden])) > .zbtn {
    right: calc(15% + 10px);
    bottom: 10px;
  }

  .wlp {
    scroll-margin-top: 84px;
  }

  .pdp-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(10, 22, 34, 0.08);
  }

  body.dark .pdp-sticky {
    background: var(--surface);
    border-top-color: var(--line);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
  }

  .pdp-sticky-price {
    font: 600 clamp(12.5px, 3.6vw, 14px)/1.25 Inter, sans-serif;
    color: var(--head);
    white-space: nowrap;
  }

  .pdp-sticky-btn {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font: 600 clamp(13px, 3.6vw, 14px)/1 Inter, sans-serif;
    white-space: nowrap;
    flex: 0 0 auto;
    cursor: pointer;
  }

  body.dark .pdp-sticky-btn {
    background: var(--peach);
    color: var(--dark);
  }

  body.pdp footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .lbox {
    background: #0A1622;
  }

  /* ---- T015b: True full-screen dark viewer (#0A1622) with auto-hiding overlay chrome ---- */
  .glv {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 200;
    background: #0A1622;
    color: #E4EAEB;
    display: block;
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
    padding: 0;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
  }

  .glv:focus {
    outline: none;
  }

  .glv:fullscreen,
  .glv:-webkit-full-screen {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    background: #0A1622;
  }

  html.glv-open,
  body.glv-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .stage .sh-head,
  .stage .ori {
    max-width: 100%;
    min-width: 0;
  }

  .stage .ori {
    flex: 0 1 auto;
  }

  .glv::backdrop {
    background: #0A1622;
  }

  .glv[hidden] {
    display: none;
  }

  .glv-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    padding: 0;
    margin: 0;
  }

  .glv-wrap {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    will-change: transform;
    transform-origin: center center;
  }

  .glv-thumb,
  .glv-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
  }

  .glv-img {
    opacity: 0;
    transition: opacity 0.16s ease;
  }

  .glv-img.ready {
    opacity: 1;
  }

  .glv-nav {
    display: none;
  }

  .glv-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) calc(14px + env(safe-area-inset-right, 0px)) 28px calc(16px + env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, rgba(10, 22, 34, 0.58) 0%, rgba(10, 22, 34, 0.24) 62%, rgba(10, 22, 34, 0) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.24s ease;
  }

  .glv-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    pointer-events: none;
  }

  .glv-fs {
    pointer-events: auto;
    height: 40px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(10, 22, 34, 0.44);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .glv-fs[aria-pressed="true"] {
    background: rgba(95, 181, 180, 0.28);
    border-color: rgba(95, 181, 180, 0.85);
  }

  .glv-fs[hidden] {
    display: none;
  }

  .glv-close {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(10, 22, 34, 0.44);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .glv-count {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(10, 22, 34, 0.72);
  }

  .glv-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 36px calc(16px + env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, rgba(10, 22, 34, 0) 0%, rgba(10, 22, 34, 0.42) 48%, rgba(10, 22, 34, 0.72) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.24s ease;
  }

  .glv-hint {
    margin: 0 0 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(232, 240, 242, 0.9);
    text-shadow: 0 1px 4px rgba(10, 22, 34, 0.75);
  }

  .glv-hint[hidden] {
    display: none;
  }

  .glv-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
  }

  .glv-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .glv-title {
    font-family: Nunito, sans-serif;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 6px rgba(10, 22, 34, 0.78);
  }

  .glv-place {
    font-size: 13px;
    line-height: 1.25;
    color: rgba(232, 240, 242, 0.88);
    text-shadow: 0 1px 4px rgba(10, 22, 34, 0.78);
  }

  .glv-link {
    pointer-events: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--teal, #0E5C68);
    border: 1px solid rgba(95, 181, 180, 0.48);
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: none;
    box-shadow: 0 2px 10px rgba(10, 22, 34, 0.45);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  }

  .glv-link:active {
    background: #0A4A54;
    border-color: #5FB5B4;
    transform: scale(0.97);
  }

  .glv-link:focus-visible {
    outline: 2.5px solid #7ECFCE;
    outline-offset: 2px;
  }

  .glv.is-chrome-hidden .glv-top,
  .glv.is-chrome-hidden .glv-bar {
    opacity: 0;
    pointer-events: none;
  }

  .glv.is-chrome-hidden .glv-close,
  .glv.is-chrome-hidden .glv-fs,
  .glv.is-chrome-hidden .glv-link {
    pointer-events: none;
  }
}

.prints-page .all {
  border-top: 0;
  padding-top: 8px;
}

/* ---- T021: Site search buttons (header, mobile header, float mood bar) & overlay ---- */
@media (min-width: 861px) {
  .top nav {
    align-items: center;
  }
}

.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.search-btn svg {
  display: block;
}

header.top .search-btn {
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(10, 22, 34, 0.5));
}

header.top nav .search-btn {
  margin-inline: -6px;
  margin-block: -8px;
}

header.top .search-btn:hover,
header.top .search-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.float .float-search-btn {
  grid-column: 3;
  justify-self: end;
  color: var(--head);
}

.float .float-search-btn:hover,
.float .float-search-btn[aria-expanded="true"] {
  background: var(--ice);
  color: var(--navy);
}

body.dark .float .float-search-btn:hover,
body.dark .float .float-search-btn[aria-expanded="true"] {
  background: rgba(232, 240, 242, 0.14);
  color: var(--head);
}

.mobile-only-btn {
  display: none;
}

@media (max-width: 860px) {
  header.top nav .search-btn {
    display: none;
  }
  header.top .mobile-only-btn {
    display: inline-grid;
    margin-left: auto;
    margin-right: 4px;
  }
  .float .in {
    padding-right: 8px;
    gap: 4px;
  }
  .float .mbar {
    flex: 1 1 auto;
    min-width: 0;
  }
  .float .float-search-btn {
    grid-column: auto;
    justify-self: auto;
    flex: 0 0 40px;
  }
}

/* Shared search field & suggestion chips (overlay panel + /search results bar) */
.search-panel .field,
.search-bar .field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
  min-height: 56px;
}

.search-panel .field:focus-within,
.search-bar .field:focus-within {
  border-color: var(--aurora, #148A8C);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--peach) 40%, transparent);
}

.search-panel .field .ico,
.search-bar .field .ico {
  color: var(--muted);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.search-panel .field .q,
.search-bar .field .q {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: 400 18px/1.4 Inter, system-ui, sans-serif;
  color: var(--text);
  outline: none;
  padding: 10px 0;
}

.search-panel .field .q:focus,
.search-panel .field .q:focus-visible,
.search-bar .field .q:focus,
.search-bar .field .q:focus-visible {
  outline: none;
}

.search-panel .field .q::-webkit-search-cancel-button,
.search-panel .field .q::-webkit-search-decoration,
.search-bar .field .q::-webkit-search-cancel-button,
.search-bar .field .q::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-panel .field .q::placeholder,
.search-bar .field .q::placeholder {
  color: #78828A;
}

body.dark .search-panel .field .q::placeholder,
body.dark .search-bar .field .q::placeholder {
  color: var(--muted);
}

.search-panel .field .clear,
.search-panel .field .go,
.search-bar .field .clear,
.search-bar .field .go {
  flex: 0 0 auto;
  border-radius: 999px;
}

.search-panel .field .clear,
.search-bar .field .clear {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
}

.search-panel .field .clear[hidden],
.search-bar .field .clear[hidden] {
  display: none;
}

.search-panel .field .clear:hover,
.search-bar .field .clear:hover {
  background: var(--ice);
  color: var(--navy);
}

body.dark .search-panel .field .clear:hover,
body.dark .search-bar .field .clear:hover {
  background: rgba(232, 240, 242, 0.12);
  color: var(--head);
}

.search-panel .field .go,
.search-bar .field .go {
  padding: 10px 18px;
  background: var(--teal, #0E5C68);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  transition: background-color 0.2s var(--ease);
}

.search-panel .field .go:hover,
.search-bar .field .go:hover {
  background: #0A4A54;
}

body.dark .search-panel .field .go,
body.dark .search-bar .field .go {
  background: var(--peach);
  color: var(--dark);
}

body.dark .search-panel .field .go:hover,
body.dark .search-bar .field .go:hover {
  background: #96D8D7;
  color: var(--dark);
}

.search-panel .hint,
.empty-prompt .hint {
  margin: 14px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.search-panel .suggestions,
.empty-prompt .suggestions {
  margin-top: 18px;
}

.search-panel .sugg-label,
.empty-prompt .sugg-label {
  font: 600 11px/1 Inter, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.search-panel .chips,
.empty-prompt .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-panel .chip,
.empty-prompt .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.search-panel .chip:hover,
.empty-prompt .chip:hover {
  border-color: var(--head);
  background: var(--surface);
}

.search-panel .chip svg,
.empty-prompt .chip svg {
  color: var(--muted);
}

/* Desktop under-header search overlay & scrim */
.search-scrim {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--search-top, 85px);
  z-index: 55;
  background: rgba(13, 32, 55, 0.28);
}

body.dark .search-scrim {
  background: rgba(4, 10, 18, 0.56);
}

body.search-open {
  overflow: hidden;
}

body.search-open .search-scrim {
  display: block;
}

body.search-open header.top,
body.search-open .float.show {
  z-index: 58;
}

.search-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--search-top, 85px);
  z-index: 56;
  background: var(--surface);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(13, 32, 55, 0.35);
  padding: 28px var(--pad) 32px;
}

body.dark .search-panel {
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.65);
}

body.search-open .search-panel {
  display: block;
}

.search-panel .sp-inner {
  max-width: 720px;
  margin: 0 auto;
}

.search-panel .sheet-close {
  display: none;
}

/* Mobile-only search sheet & compact search bar. Desktop is untouched. */
@media (max-width: 860px) {
  .search-panel .field,
  .search-bar .field {
    min-height: 50px;
    padding: 3px 4px 3px 14px;
    gap: 8px;
  }
  .search-panel .field .q,
  .search-bar .field .q {
    font-size: 16px;
  }
  .search-panel .field .go,
  .search-bar .field .go {
    padding: 9px 14px;
    font-size: 13px;
  }

  body.search-open {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
  }
  body.search-open .search-scrim {
    display: none;
  }
  body.search-open .search-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 70;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: var(--surface);
    overflow-y: auto;
  }
  .search-panel .sp-inner {
    max-width: none;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .search-panel .sp-form {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px 10px 10px;
    border-bottom: 1px solid var(--line);
  }
  .search-panel .sheet-close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--head);
    flex: 0 0 auto;
    border-radius: 50%;
  }
  .search-panel .sp-form .field {
    flex: 1;
    min-height: 44px;
    padding: 3px 8px 3px 12px;
    gap: 8px;
  }
  .search-panel .sp-form .field .q {
    padding: 8px 0;
  }
  .search-panel .sp-form .field.is-empty .go {
    display: none;
  }
  .search-panel .sp-body {
    padding: 16px 20px 24px;
  }
  .search-panel .suggestions {
    margin-top: 0;
  }
}

@media (max-width: 375px) {
  .search-panel .sp-form {
    gap: 4px;
    padding: 10px 12px 10px 8px;
  }
  .search-panel .sheet-close {
    width: 34px;
    height: 34px;
  }
  .search-panel .sp-form .field {
    padding: 3px 8px 3px 10px;
    gap: 6px;
  }
}
