/* Ghiaccio theme — "winter light": icy paper, frosted glass, Libre Baskerville
   italics + IBM Plex Sans, soft radii and pill buttons. Tokens live in
   imperial-tokens.css [data-theme="ghiaccio"]. Overrides on shared Cadezone page
   classes use [data-theme="ghiaccio"] so they win over the pages' inline styles. */

html, body { max-width: 100%; overflow-x: hidden; }
body.gh { font-family: var(--font-ui); font-weight: 400; font-size: 15px; line-height: 1.6; background: var(--paper); color: var(--ink-900); }
img { max-width: 100%; }
.gh-wrap { max-width: 1480px; margin: 0 auto; padding-left: clamp(16px, 3.4vw, 40px); padding-right: clamp(16px, 3.4vw, 40px); }
.gh-hide-m { display: none; }
.gh-only-m { display: block; }
@media (min-width: 900px) { .gh-hide-m { display: inline; } .gh-only-m { display: none; } }
.thin-scroll::-webkit-scrollbar { width: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 999px; }
:focus-visible { outline: 2px solid var(--ink-500); outline-offset: 3px; border-radius: 6px; }
.gh-page { position: relative; z-index: 1; padding-top: 104px; }
.gh-home .gh-page { padding-top: 0; }

/* ---------- frosted glass ---------- */
.gh-glass { background: rgba(246, 250, 253, .62); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 24px 70px rgba(21, 38, 52, .12); }

/* ---------- winter light (background blobs) ---------- */
.gh-light { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.gh-light i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.gh-light i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: #c4dff0; }
.gh-light i:nth-child(2) { width: 40vw; height: 40vw; right: -14vw; top: 22vh; background: #c9dceb; }
.gh-light i:nth-child(3) { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: #d9e9f4; opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .gh-light i { animation: gh-drift 26s ease-in-out infinite alternate; }
  .gh-light i:nth-child(2) { animation-duration: 32s; }
  .gh-light i:nth-child(3) { animation-duration: 38s; }
  @keyframes gh-drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
}

/* ---------- header ---------- */
.gh-header { position: fixed; z-index: 60; top: 12px; left: 0; right: 0; padding: 0 clamp(10px, 2vw, 28px); pointer-events: none; }
@media (min-width: 900px) { .gh-header { top: 20px; } }
.gh-header-pill { pointer-events: auto; max-width: 1440px; margin: 0 auto; height: 58px; padding: 0 10px 0 14px; border-radius: 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(246, 250, 253, .55); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 40px rgba(21, 38, 52, .07); transition: background .3s, box-shadow .3s; }
.gh-header.is-scrolled .gh-header-pill { background: rgba(246, 250, 253, .82); box-shadow: 0 14px 44px rgba(21, 38, 52, .12); }
.gh-hleft { display: flex; align-items: center; gap: 8px; }
.gh-hright { display: flex; align-items: center; justify-content: flex-end; gap: 4px; position: relative; }
.gh-nav { display: none; gap: 26px; padding-left: 8px; }
.gh-nav a, .gh-textbtn { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-900); }
.gh-nav a { position: relative; padding: 6px 0; }
.gh-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.gh-nav a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .gh-nav { display: flex; } .gh-header .gh-burger { display: none; } }
.gh-logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.7vw, 20px); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-900); white-space: nowrap; }
.gh-icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--ink-900); background: none; border: 0; cursor: pointer; transition: background .2s; }
.gh-icon:hover, .gh-textbtn:hover { background: rgba(21, 38, 52, .06); }
.gh-textbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border-radius: 12px; background: none; border: 0; cursor: pointer; }
.gh-bag-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink-900); color: var(--paper); font-size: 10px; letter-spacing: 0; display: grid; place-items: center; }
.gh-icon svg, .gh-textbtn svg { flex: none; }
@media (max-width: 899px) {
  .gh-header-pill { padding: 0 6px; }
  .gh-logo { font-size: 14px; letter-spacing: .1em; }
  .gh-icon, .gh-textbtn { width: 36px; padding: 0; justify-content: center; }
  .gh-hright { gap: 0; }
  .gh-bag-count { position: absolute; top: 2px; right: -2px; }
}
.gh-acct { position: absolute; top: 52px; right: 0; min-width: 240px; padding: 8px; z-index: 70; border-radius: 16px;
  background: rgba(246, 250, 253, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 24px 60px rgba(21, 38, 52, .16); }
.gh-acct-head { padding: 10px 12px 12px; margin-bottom: 4px; border-radius: 10px; background: var(--ink-100); }
.gh-acct-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; font-size: 13px; border-radius: 10px; }
.gh-acct-item:hover { background: var(--ink-100); }

/* ---------- mobile drawer ---------- */
.gh-drawer { position: fixed; z-index: 92; top: 10px; left: 10px; bottom: 10px; width: min(360px, calc(100vw - 20px)); border-radius: 22px; padding: 22px 26px;
  display: flex; flex-direction: column; background: rgba(246, 250, 253, .9); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 30px 80px rgba(21, 38, 52, .18);
  transform: translateX(calc(-100% - 20px)); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.gh-drawer.is-open { transform: none; }
.gh-drawer-close { align-self: flex-end; }
.gh-drawer-links { display: flex; flex-direction: column; margin-top: 14px; }
.gh-drawer-links a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; font-family: var(--font-display); font-size: 28px; line-height: 1.15; border-bottom: 1px solid var(--border-hairline); }
.gh-drawer-links small { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--ink-500); }
.gh-drawer-links em { color: var(--ink-500); }
.gh-drawer-foot { margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.gh-drawer-scrim { position: fixed; inset: 0; z-index: 91; background: rgba(21, 38, 52, .16); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.gh-drawer-scrim.is-on { opacity: 1; visibility: visible; }

/* ---------- type ---------- */
.gh-kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 18px; }
.gh-lead { font-size: 14px; line-height: 1.85; color: var(--ink-500); max-width: 26rem; margin: 0 0 30px; }
.gh-display { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 96px); line-height: .95; letter-spacing: -.01em; margin: 0; }
.gh-display em, .gh-hero-title em { font-style: italic; color: var(--ink-500); }
.gh-display-xl { font-size: clamp(52px, 7vw, 120px); line-height: .84; margin-bottom: 30px; }
.gh-link { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.gh-link:hover { opacity: .6; }

/* ---------- hero ---------- */
.gh-hero { min-height: 100svh; display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; padding-top: 104px; padding-bottom: 56px; }
@media (min-width: 900px) { .gh-hero { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 128px; } }
.gh-hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(68px, 7.5vw, 136px); line-height: .82; letter-spacing: -.01em; margin: 0 0 32px; }
.gh-hero-card { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 620px; }
.gh-frame { display: block; padding: 8px; border-radius: 26px; background: rgba(246, 250, 253, .55); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 40px 90px rgba(21, 38, 52, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gh-frame img { display: block; width: 100%; aspect-ratio: 4/5; max-height: 76vh; object-fit: cover; object-position: top; border-radius: 19px; }
.gh-float { position: absolute; left: -10px; bottom: -22px; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px 18px; border-radius: 18px; min-width: 200px; }
@media (min-width: 900px) { .gh-float { left: -46px; bottom: 34px; } }
.gh-float b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.15; margin-top: 4px; }
.gh-float small { font-size: 12px; color: var(--ink-500); }

/* ---------- sections ---------- */
.gh-section { position: relative; z-index: 1; padding-top: clamp(88px, 11vw, 140px); }
.gh-split-head { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: end; margin-bottom: 44px; }
@media (min-width: 900px) { .gh-split-head { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.gh-split-side .gh-lead { margin-bottom: 22px; }
.gh-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.gh-allcount { margin: 0 0 8px; color: var(--ink-900); display: none; }
@media (min-width: 768px) { .gh-allcount { display: block; } }

/* ---------- draggable rail ---------- */
.gh-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px max(16px, calc((100vw - 1480px) / 2 + 40px)) 18px;
  scrollbar-width: none; cursor: grab; user-select: none; }
.gh-rail::-webkit-scrollbar { display: none; }
.gh-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gh-rail-card { flex: 0 0 clamp(230px, 24vw, 330px); scroll-snap-align: start; display: block; }
.gh-rail-meta { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); margin-top: 6px; }
.gh-skel { aspect-ratio: 3/4; border-radius: 18px; background: linear-gradient(110deg, var(--ink-100) 30%, var(--paper-pure) 50%, var(--ink-100) 70%); background-size: 200% 100%; animation: gh-sk 1.6s linear infinite; }
.gh-rail .gh-skel { flex: 0 0 clamp(230px, 24vw, 330px); }
@keyframes gh-sk { to { background-position: -200% 0; } }

/* ---------- cards ---------- */
.gh-card-img { position: relative; overflow: hidden; border-radius: 18px; background: var(--paper-pure); aspect-ratio: 3/4; }
.gh-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s ease; }
a:hover > .gh-card-img img, .gh-pc:hover .gh-card-img img { transform: scale(1.03); }
.gh-card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 14px; }
.gh-card-meta h3 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.25; margin: 0;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gh-card-meta p { margin: 4px 0 0; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.gh-card-meta span { font-size: 14px; white-space: nowrap; }
.gh-trio { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .gh-trio { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gh-pc { display: block; }
.gh-pc .gh-card-img { aspect-ratio: 4/5; }
.gh-pc-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 44px; display: grid; place-items: center; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-900);
  background: rgba(246, 250, 253, .75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8);
  transform: translateY(70px); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.gh-pc:hover .gh-pc-cta, .gh-pc:focus-visible .gh-pc-cta { transform: none; }
.gh-pc-sold { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(246, 250, 253, .8); color: var(--ink-700); }

/* ---------- edit ---------- */
.gh-edit { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .gh-edit { grid-template-columns: 1fr 1.45fr; gap: 64px; } }
.gh-edit-media { display: block; position: relative; }
.gh-edit-media img { display: block; width: 100%; aspect-ratio: 7/5; object-fit: cover; border-radius: 24px; transition: transform 1.2s ease; }
.gh-edit-media:hover img { transform: scale(1.015); }
.gh-edit-cap { display: flex; justify-content: space-between; margin-top: 12px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }

/* ---------- look spotlight ---------- */
.gh-look { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .gh-look { grid-template-columns: 1fr 1fr; gap: 72px; } }
.gh-look-media img { background: var(--paper-pure); object-fit: contain; }
.gh-look .gh-display { font-size: clamp(34px, 4.6vw, 70px); line-height: 1.02; margin-bottom: 24px; }
.gh-look .gh-display em { color: var(--ink-900); }
.gh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gh-chips span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 500;
  border: 1px solid var(--ink-900); }
.gh-chips span.off { border-color: rgba(83, 112, 130, .3); color: var(--ink-400); text-decoration: line-through; }
.gh-look-price { font-family: var(--font-display); font-size: 30px; margin: 0 0 24px; }

/* ---------- campaign mosaic ---------- */
.gh-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .gh-mosaic { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.gh-mosaic img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; }
.gh-mosaic img:nth-child(even) { margin-top: 40px; }

/* ---------- reveal ---------- */
.gh-js-reveal [data-gh-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.gh-js-reveal [data-gh-reveal].is-in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.gh-footer { position: relative; z-index: 1; margin-top: clamp(96px, 12vw, 150px); border-top: 1px solid var(--border-subtle); padding: 56px 0 28px; }
.gh-footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .gh-footer-top { grid-template-columns: 1.1fr 1.5fr; gap: 64px; } }
.gh-footer-logo { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: .12em; }
.gh-footer-tag { margin: 12px 0 22px; font-size: 14px; color: var(--ink-500); }
.gh-news { display: flex; max-width: 380px; padding: 4px 4px 4px 18px; border-radius: 999px; border: 1px solid var(--border-subtle); background: rgba(246, 250, 253, .6); }
.gh-news input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 13px; padding: 9px 0; }
.gh-news input:focus { outline: none; box-shadow: none; }
.gh-news button { width: 40px; height: 40px; border-radius: 999px; background: var(--ink-900); color: var(--paper); }
.gh-footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (min-width: 640px) { .gh-footer-cols { grid-template-columns: repeat(3, 1fr); } }
.gh-footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.gh-footer-cols a, .gh-footer-cols button { font-size: 13px; color: var(--ink-700); text-align: left; }
.gh-footer-cols a:hover, .gh-footer-cols button:hover { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }
.gh-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }

/* ---------- fields & drawers ---------- */
.gh-field { width: 100%; background: rgba(255, 255, 255, .55); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 14px; }
.gh-field:focus { border-color: var(--ink-900); outline: none; box-shadow: none; }
/* the cart drawer floats 12px from the edge, so push it fully off-screen when closed */
[data-theme="ghiaccio"] #cartDrawer.translate-x-full { transform: translateX(calc(100% + 24px)); }

/* =====================================================================
   Shared Cadezone pages (shop, product, cart, checkout…) in Ghiaccio style
   ===================================================================== */
[data-theme="ghiaccio"] .cz-container { position: relative; z-index: 1; max-width: 1480px; padding-left: clamp(16px, 3.4vw, 40px); padding-right: clamp(16px, 3.4vw, 40px); }
[data-theme="ghiaccio"] main, [data-theme="ghiaccio"] section { position: relative; z-index: 1; }
[data-theme="ghiaccio"] h1, [data-theme="ghiaccio"] h2 { font-family: var(--font-display); font-weight: 400; }

/* shop */
[data-theme="ghiaccio"] .cz-shop-title { font-size: clamp(48px, 7vw, 104px); line-height: .9; }
[data-theme="ghiaccio"] .cz-tab { border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .14em; border-color: var(--border-subtle); color: var(--ink-500); background: rgba(246, 250, 253, .5); }
[data-theme="ghiaccio"] .cz-tab.active { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
[data-theme="ghiaccio"] .cz-count { font-size: 10px; font-weight: 600; letter-spacing: .16em; }
[data-theme="ghiaccio"] .cz-shop-grid { gap: 30px 14px; }
@media (min-width: 768px) { [data-theme="ghiaccio"] .cz-shop-grid { gap: 48px 20px; } }
[data-theme="ghiaccio"] .cz-pc .frame { border-radius: 18px; background: var(--paper-pure); }
[data-theme="ghiaccio"] .cz-pc .frame img { aspect-ratio: 3/4; object-fit: contain; }
[data-theme="ghiaccio"] .cz-pc .add { left: 12px; right: 12px; bottom: 12px; border-radius: 999px; padding: 13px; font-weight: 600; color: var(--ink-900);
  background: rgba(246, 250, 253, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(70px); }
[data-theme="ghiaccio"] .cz-pc:hover .add { transform: none; }
[data-theme="ghiaccio"] .cz-pc .meta { font-size: 14px; }
[data-theme="ghiaccio"] .cz-pc .meta p:first-child { font-family: var(--font-display); font-style: italic; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.25; }
[data-theme="ghiaccio"] .cz-pc .meta .sub { font-weight: 600; font-size: 10px; }
[data-theme="ghiaccio"] .cz-pc .meta .pz { font-family: var(--font-ui); font-size: 14px; }
[data-theme="ghiaccio"] .cz-pc .soldout { top: 12px; left: 12px; border-radius: 999px; padding: 5px 11px; background: rgba(246, 250, 253, .85); font-weight: 600; }
[data-theme="ghiaccio"] .cz-skel { border-radius: 18px; }
[data-theme="ghiaccio"] .cz-btn-outline { background: rgba(246, 250, 253, .5); }

/* product page */
[data-theme="ghiaccio"] .cz-gallery img.tall { border-radius: 22px; background: var(--paper-pure); box-shadow: 0 30px 80px rgba(21, 38, 52, .12); }
[data-theme="ghiaccio"] #czName { font-style: italic; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; }
[data-theme="ghiaccio"] .cz-price-lg { font-family: var(--font-display); font-size: 26px; }
[data-theme="ghiaccio"] .cz-micro { font-weight: 600; letter-spacing: .14em; }
[data-theme="ghiaccio"] .cz-desc { line-height: 1.85; color: var(--ink-500); }
[data-theme="ghiaccio"] .cz-size-grid button { border-radius: 999px; min-width: 44px; height: 44px; }
[data-theme="ghiaccio"] .cz-size-grid button.active { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
[data-theme="ghiaccio"] .cz-thumbs button { border-radius: 10px; overflow: hidden; }
[data-theme="ghiaccio"] .cz-thumbs button.active { border-color: var(--ink-900); }

/* =====================================================================
   Studio di Stile (themes/ghiaccio/studio.html)
   ===================================================================== */
.gh-studio { position: relative; z-index: 1; padding-bottom: 40px; }
.gh-st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.gh-st-title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; margin: 0; }
.gh-st-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gh-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border-subtle);
  background: rgba(246, 250, 253, .55); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-900); transition: background .2s, border-color .2s; }
.gh-pill:hover { border-color: var(--ink-900); background: rgba(246, 250, 253, .9); }
.gh-pill .material-symbols-outlined { font-size: 18px; }
.gh-st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gh-st-chips span, .gh-st-chips button { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border-subtle); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-700); }
.gh-st-chips button { cursor: pointer; background: transparent; }
.gh-st-chips button.on { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper); }

/* board: collection | stage | your look */
.gh-st-board { display: grid; grid-template-columns: 1fr; border-radius: 26px; overflow: hidden; }
@media (min-width: 1024px) { .gh-st-board { grid-template-columns: 290px minmax(0, 1fr) 340px; min-height: 740px; } }
.gh-st-col { padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.gh-st-left { border-bottom: 1px solid var(--border-hairline); }
.gh-st-right { border-top: 1px solid var(--border-hairline); }
@media (min-width: 1024px) {
  .gh-st-left { border-bottom: 0; border-right: 1px solid var(--border-hairline); }
  .gh-st-right { border-top: 0; border-left: 1px solid var(--border-hairline); }
}
.gh-st-right.is-over { background: rgba(246, 250, 253, .5); }

.gh-st-cats { display: flex; flex-direction: column; }
.gh-st-cats button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 0; border-top: 1px solid var(--border-hairline);
  font-family: var(--font-display); font-style: italic; font-size: 20px; text-align: left; color: var(--ink-600); background: none; }
.gh-st-cats button:hover { color: var(--ink-900); }
.gh-st-cats button[aria-pressed="true"] { color: var(--ink-900); }
.gh-st-cats button .material-symbols-outlined { font-size: 18px; transition: transform .3s; }
.gh-st-cats button[aria-pressed="true"] .material-symbols-outlined { transform: rotate(180deg); }
@media (max-width: 1023px) {
  .gh-st-cats { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .gh-st-cats::-webkit-scrollbar { display: none; }
  .gh-st-cats button { flex: 0 0 auto; width: auto; padding: 8px 16px; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 15px; }
  .gh-st-cats button[aria-pressed="true"] { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
  .gh-st-cats button .material-symbols-outlined { display: none; }
}
.gh-st-left .gh-st-search { margin: 18px 0 6px; width: 100%; border: 0; border-bottom: 1px solid var(--border-subtle); background: transparent; padding: 9px 2px; font: inherit; font-size: 13px; }
.gh-st-left .gh-st-search:focus { outline: none; box-shadow: none; border-color: var(--ink-900); }
.gh-st-count { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); min-height: 16px; margin: 4px 0 10px; }
.gh-st-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 1024px) { .gh-st-list { grid-template-columns: 1fr; max-height: 430px; overflow-y: auto; padding-right: 4px; } }
.gh-st-item { display: flex; align-items: center; gap: 12px; text-align: left; padding: 6px; border-radius: 14px; background: none; cursor: grab; transition: background .2s; min-width: 0; }
.gh-st-item:hover { background: rgba(246, 250, 253, .75); }
.gh-st-item:active { cursor: grabbing; }
.gh-st-item img { flex: none; width: 56px; height: 70px; border-radius: 10px; object-fit: contain; background: var(--paper-pure); }
.gh-st-item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gh-st-item b { font-size: 12px; font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gh-st-item small { font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.gh-st-item > .material-symbols-outlined { flex: none; font-size: 18px; color: var(--ink-500); }
@media (max-width: 1023px) {
  .gh-st-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
  .gh-st-list::-webkit-scrollbar { display: none; }
  .gh-st-item { flex: 0 0 136px; flex-direction: column; align-items: stretch; gap: 8px; padding: 0; scroll-snap-align: start; cursor: pointer; }
  .gh-st-item img { width: 100%; height: 170px; }
  .gh-st-item > .material-symbols-outlined { display: none; }
  .gh-st-sk { flex: 0 0 136px; height: 230px !important; }
  .gh-st-stage { min-height: 460px; }
}
.gh-st-sk { height: 82px; border-radius: 14px; background: linear-gradient(110deg, var(--ink-100) 30%, var(--paper-pure) 50%, var(--ink-100) 70%); background-size: 200% 100%; animation: gh-sk 1.6s linear infinite; }
.gh-st-more { align-self: center; margin-top: 14px; }
.gh-st-empty { grid-column: 1 / -1; padding: 26px 0; font-size: 14px; line-height: 1.8; color: var(--ink-500); }

/* stage */
.gh-st-stage { position: relative; min-height: 520px; overflow: hidden; background: rgba(205, 217, 226, .3); }
@media (min-width: 1024px) { .gh-st-stage { min-height: 0; } }
.gh-st-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .92; transition: opacity .4s; }
.gh-st-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(21, 38, 52, 0), rgba(21, 38, 52, .42)); }
.gh-st-stage.is-over { outline: 2px dashed rgba(246, 250, 253, .9); outline-offset: -14px; }
.gh-st-stage.is-over img { opacity: .7; }
.gh-st-chip { position: absolute; left: 18px; top: 18px; padding: 8px 15px; border-radius: 999px; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(232, 242, 249, .75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gh-st-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; color: var(--paper); }
.gh-st-caption p { margin: 0; max-width: 20rem; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.gh-st-drop { display: none; align-items: center; gap: 6px; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.gh-st-drop .material-symbols-outlined { font-size: 16px; }
@media (min-width: 1024px) and (pointer: fine) { .gh-st-drop { display: inline-flex; } }

/* your look */
.gh-st-picked { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.gh-st-pick { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-hairline); }
.gh-st-pick img { width: 64px; height: 80px; border-radius: 10px; object-fit: contain; background: var(--paper-pure); }
.gh-st-pick .t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.gh-st-pick .t > a { font-family: var(--font-display); font-style: italic; font-size: 16px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gh-st-pick small { font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.gh-st-try { margin-top: 6px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.gh-st-try:hover { opacity: .6; }
.gh-st-x { flex: none; width: 30px; height: 30px; border-radius: 999px; font-size: 18px; line-height: 1; color: var(--ink-500); display: grid; place-items: center; }
.gh-st-x:hover { background: var(--ink-100); color: var(--ink-900); }
.gh-st-note { margin-top: auto; padding-top: 32px; }
.gh-st-note p:not(.gh-kicker) { font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.gh-st-note .cz-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* saved results */
.gh-st-looks { padding-top: 46px; }
.gh-st-looks-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.gh-st-look { position: relative; flex: 0 0 150px; }
.gh-st-look [data-open] { display: block; width: 100%; text-align: left; }
.gh-st-look img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; }
.gh-st-look span { display: block; margin-top: 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-st-look .gh-st-x { position: absolute; top: 6px; right: 6px; background: rgba(246, 250, 253, .9); }

/* onboarding */
.gh-ob { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; background: rgba(232, 242, 249, .82);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.gh-ob[hidden] { display: none; }
body.gh-ob-open { overflow: hidden; }
.gh-ob-card { width: min(576px, 100%); border-radius: 32px; padding: clamp(28px, 5vw, 48px); }
.gh-ob-q { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 12px 0 6px; }
.gh-ob-hint { margin: 0; font-size: 14px; color: var(--ink-500); }
.gh-ob-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.gh-ob-opts button { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; transition: all .2s; background: transparent; }
.gh-ob-opts button:hover { border-color: var(--ink-900); }
.gh-ob-opts button.on { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper); }
.gh-ob-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 40px; }
.gh-ob-link { justify-self: start; font-size: 12px; color: var(--ink-500); text-decoration: underline; text-underline-offset: 3px; }
.gh-ob-link:hover { color: var(--ink-900); }
.gh-ob-dots { display: flex; gap: 6px; }
.gh-ob-dots i { width: 24px; height: 3px; border-radius: 3px; background: var(--ink-200); }
.gh-ob-dots i.on { background: var(--ink-900); }
.gh-ob-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.gh-ob-right .cz-btn { padding: 11px 20px; }
.gh-ob-right .cz-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
@media (max-width: 520px) {
  .gh-ob-foot { grid-template-columns: 1fr 1fr; }
  .gh-ob-dots { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
}
