/* ABSQURA creative category sections 02-07. Namespaced .abqx. Tokens: ink #0e0e0e, text #333, muted #6b6b6b, stone #f0ede6, hairline rgba(0,0,0,.08).
   Depth = CSS transforms on the real product pictures over an empty set photograph. Without JS the products are a plain scrollable row. */
.abqx-page .entry-header, .abqx-page .page-title, .abqx-page .hero-section { display: none !important; }
html body.abqx-page.page .entry-content.entry-content:not(#abq-x) { max-width: none; padding-left: 0; padding-right: 0; }
.abqx-page .ct-container-full, .abqx-page .ct-container, .abqx-page [data-prefix="single_page"] .entry-content, .abqx-page .entry-content > .abqx { max-width: none !important; width: 100% !important; }
.abqx-page .site-main > .ct-container, .abqx-page [data-prefix="single_page"] > .ct-container-full { padding-left: 0 !important; padding-right: 0 !important; }
.abqx-page .entry-content > * { max-width: none; margin-left: 0; margin-right: 0; }
.abqx { --abqx-ink: var(--abq-ink, #0e0e0e); --abqx-text: var(--abq-text, #333); --abqx-muted: var(--abq-muted, #6b6b6b); --abqx-ease: cubic-bezier(.22, .61, .36, 1); margin: 0 0 var(--abq-space-8, 64px); color: var(--abqx-text); font-family: 'DM Sans', sans-serif; }
.abqx *, .abqx *::before, .abqx *::after { box-sizing: border-box; }
.abqx ul { list-style: none; margin: 0; padding: 0; }
.abqx a { color: inherit; text-decoration: none; }
.abqx img { display: block; max-width: none; height: auto; }

.abqx-stage { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #ece6da var(--abqx-bg) center / cover no-repeat; isolation: isolate; }
.abqx-stage:focus-visible { outline: 2px solid var(--abqx-ink); outline-offset: -4px; }

/* chrome: number, title, brand, editorial line, shop link */
.abqx-chrome { position: absolute; z-index: 20; margin: 0; }
.abqx-chrome--tl { top: clamp(14px, 3.2%, 36px); left: clamp(16px, 3%, 40px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.abqx-num { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--abqx-ink); }
.abqx-rule { width: clamp(28px, 6vw, 84px); height: 1px; background: var(--abqx-ink); opacity: .55; }
.abqx-title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(20px, 3.1vw, 40px); letter-spacing: .2em; line-height: 1.1; color: var(--abqx-ink); }
.abqx-title span { font-size: .62em; letter-spacing: .24em; }
.abqx-chrome--tr { top: clamp(16px, 3.4%, 40px); right: clamp(16px, 3%, 40px); font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .3em; color: var(--abqx-ink); }
.abqx-chrome--bl { bottom: clamp(14px, 4%, 40px); left: clamp(16px, 3%, 40px); max-width: 15ch; font-family: Georgia, serif; font-size: clamp(16px, 2.1vw, 27px); line-height: 1.2; color: var(--abqx-ink); text-shadow: 0 0 14px rgba(255, 255, 255, .7); }
.abqx .abqx-shop { bottom: clamp(14px, 4%, 40px); right: clamp(16px, 3%, 40px); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 clamp(16px, 2vw, 28px); border: 1px solid var(--abqx-ink); background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--abqx-ink); transition: background .2s var(--abqx-ease), color .2s var(--abqx-ease); }
.abqx .abqx-shop:hover, .abqx .abqx-shop:focus-visible { background: var(--abqx-ink); color: #fff; }

/* products: no-JS fallback is a scrollable row along the bottom */
.abqx-items { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; top: 18%; display: flex; gap: 12px; align-items: flex-end; overflow-x: auto; padding: 0 clamp(16px, 3%, 40px) 14%; scroll-snap-type: x mandatory; }
.abqx-item { flex: 0 0 clamp(120px, 20%, 220px); scroll-snap-align: center; }
.abqx-card { display: block; position: relative; color: inherit; }
.abqx-card img { width: 100%; height: auto; }
.abqx-label { display: none; }

/* live mode (JS): products are placed by the script */
.abqx.is-live .abqx-items { overflow: visible; display: block; padding: 0; top: 0; }
.abqx.is-live .abqx-item { position: absolute; left: 0; top: 0; flex: none; transform-origin: 50% 0; will-change: transform; transition: transform .7s var(--abqx-ease), opacity .5s var(--abqx-ease), filter .5s var(--abqx-ease); cursor: pointer; }
.abqx.is-live .abqx-item.is-base { transform-origin: 50% 100%; }
.abqx.is-live .abqx-card img { width: 100%; filter: drop-shadow(0 14px 14px rgba(40, 30, 15, .22)); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.abqx.is-live .abqx-card { outline-offset: 6px; }
.abqx.is-live .abqx-card:focus-visible { outline: 2px solid var(--abqx-ink); }
.abqx.is-live .abqx-item.is-off { opacity: 0; pointer-events: none; }

/* hangers (sections 3, 4, 5): a fine steel line, hook and shoulder bar */
.abqx-hang { position: absolute; left: 50%; bottom: calc(100% - 4px); width: 1px; height: var(--abqx-line, 40px); background: linear-gradient(#8b8f95, #c6c9cd); transform: translateX(-50%); pointer-events: none; }
.abqx-hang::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 9px; height: 9px; margin-left: -5px; border: 1px solid #8b8f95; border-radius: 50%; background: transparent; }
.abqx-bar { position: absolute; left: 14%; right: 14%; top: 3%; height: 2px; background: linear-gradient(90deg, transparent, #9ea2a8 14%, #cfd2d6 50%, #9ea2a8 86%, transparent); opacity: .85; pointer-events: none; transform: perspective(60px) rotateX(35deg); }

/* floor shadow under standing garments */
.abqx-floor { position: absolute; z-index: 1; left: 50%; width: 30%; height: 5%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(60, 45, 25, .34), rgba(60, 45, 25, 0)); filter: blur(3px); pointer-events: none; transition: opacity .6s var(--abqx-ease); }

/* section 02: folded stacks */
.abqx-stack { position: absolute; z-index: 4; display: block; width: 17%; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .6s var(--abqx-ease), opacity .5s var(--abqx-ease); }
.abqx-slab { position: relative; display: block; width: 100%; height: clamp(16px, 2.6vw, 36px); margin-top: -2px; border-radius: 3px 3px 5px 5px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 100%, #fff 14%), var(--c) 38%, color-mix(in srgb, var(--c) 100%, #000 18%)); box-shadow: 0 2px 0 rgba(0, 0, 0, .08), 0 8px 14px -6px rgba(40, 30, 15, .35); transition: transform .3s var(--abqx-ease); }
.abqx-slab::before { content: ''; position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: rgba(0, 0, 0, .14); }
.abqx-slab::after { content: ''; position: absolute; left: 12%; top: 18%; width: 18%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, .22); filter: blur(2px); }
.abqx-slab:hover, .abqx-slab:focus-visible { transform: translateY(-3px); }
.abqx-slab:focus-visible { outline: 2px solid var(--abqx-ink); outline-offset: 2px; }

/* section 07 label cards */
.abqx-tag { position: absolute; z-index: 15; min-width: 78px; padding: 6px 10px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 12px; line-height: 1.3; color: var(--abqx-ink); transition: transform .4s var(--abqx-ease), opacity .4s var(--abqx-ease); pointer-events: none; }
.abqx-tag b { display: block; font-weight: 500; letter-spacing: .02em; }
.abqx-tag span { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--abqx-muted); }

/* arrows */
.abqx-arrow { position: absolute; z-index: 25; top: 46%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--abqx-ink); font-size: 18px; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
.abqx-arrow[hidden] { display: none; }
.abqx-arrow--prev { left: clamp(10px, 2.4%, 28px); }
.abqx-arrow--next { right: clamp(10px, 2.4%, 28px); }
.abqx-arrow:hover { background: var(--abqx-ink); color: #fff; }
.abqx-arrow:focus-visible { outline: 2px solid var(--abqx-ink); outline-offset: 3px; }

/* product panel under the stage */
.abqx-panel { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; max-width: 820px; margin: 0 auto; padding: 16px 20px 0; }
.abqx-panel[hidden] { display: none; }
.abqx-panel__count { margin: 0 0 4px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--abqx-muted); }
.abqx-panel__name { margin: 0; font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--abqx-ink); }
.abqx-panel__price { margin: 4px 0 0; font-family: 'DM Mono', monospace; font-size: 15px; color: var(--abqx-ink); }
.abqx-panel__price del { color: var(--abqx-muted); }
.abqx-panel__price ins { text-decoration: none; }
.abqx-panel__sizes { margin: 4px 0 0; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .08em; color: var(--abqx-muted); }
.abqx .abqx-panel__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; background: var(--abqx-ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--abqx-ink); }
.abqx .abqx-panel__btn:hover { background: #fff; color: var(--abqx-ink); }
.abqx-panel__btn:focus-visible { outline: 2px solid var(--abqx-ink); outline-offset: 3px; }

/* phones */
@media (max-width: 700px) {
  .abqx-stage { aspect-ratio: 4 / 5; background-position: var(--abqx-pos, 50% 50%); }
  .abqx-chrome--tl { gap: 10px; }
  .abqx-title { letter-spacing: .14em; }
  .abqx-chrome--bl { max-width: 12ch; }
  .abqx .abqx-shop { padding: 0 14px; letter-spacing: .1em; }
  .abqx-panel { grid-template-columns: 1fr; padding: 14px 20px 0; }
  .abqx .abqx-panel__btn { justify-self: start; }
  .abqx-arrow { top: 50%; }
  .abqx--3 .abqx-stage { --abqx-pos: 62% 50%; }
  .abqx--6 .abqx-stage { --abqx-pos: 80% 50%; }
  .abqx--7 .abqx-stage { --abqx-pos: 40% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .abqx.is-live .abqx-item, .abqx-stack, .abqx-slab, .abqx-tag, .abqx-floor { transition: none; }
}

/* the theme styles every <button>: keep the stacks and arrows ours */
html body .abqx button.abqx-slab { height: clamp(16px, 2.6vw, 36px); min-height: 0; padding: 0; margin: -2px 0 0; border: 0; border-radius: 3px 3px 5px 5px; background-color: var(--c) !important; background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 40%, rgba(0,0,0,.2)) !important; color: transparent; box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 8px 14px -6px rgba(40,30,15,.35); }
html body .abqx button.abqx-arrow { min-height: 44px; background: rgba(255,255,255,.85) !important; color: var(--abq-ink,#0e0e0e) !important; border: 0; border-radius: 50%; padding: 0; }
html body .abqx button.abqx-arrow:hover { background: var(--abq-ink,#0e0e0e) !important; color: #fff !important; }

/* the page wrapper is a constrained block layout (780px): sections run edge to edge */
html body.abqx-page .entry-content.entry-content:not(#abq-x) { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
html body.abqx-page .entry-content.entry-content:not(#abq-x) > .abqx { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.abqx-rod { width: 1px !important; background: linear-gradient(#7c8187, #b9bcc1) !important; opacity: .9; }
.abqx-rod::after { display: none; }
.abqx--5 .abqx-item .abqx-hang { display: none; }
.abqx-tag { white-space: nowrap; }
.abqx .abqx-panel__price del, .abqx .abqx-panel__price del .amount { color: #6b6b6b !important; opacity: 1 !important; }

@media (max-width: 700px) {
  .abqx-title { font-size: 18px; letter-spacing: .12em; }
  .abqx-title span { display: block; font-size: .56em; letter-spacing: .2em; margin-top: 2px; }
  .abqx-chrome--tr { font-size: 10px; letter-spacing: .22em; top: clamp(18px, 4%, 30px); }
  .abqx-chrome--tl { max-width: 60%; }
}

/* ---- one type and spacing system with the women's rail (section 01) ----
   The rail's name is set by the theme heading size (40px desktop / 26px phone); sections used a smaller heading level (28 / 20).
   Same tokens everywhere: name 40/26 Georgia italic 1.25, price 15, label/sizes 12, buttons 13 with .12em tracking, panel 760px wide, 40px (20px phone) inset. */
.abqx, .abqs-unified { --abqx-t-name: 28px; --abqx-t-price: 15px; --abqx-t-small: 12px; --abqx-t-btn: 13px; --abqx-inset: 40px; }   /* product title: 28px desktop, 20px phone (owner asked for a smaller title on the Showroom page) */
@media (max-width: 781px) { .abqx, .abqs-unified { --abqx-t-name: 20px; --abqx-inset: 20px; } }
html body .abqs-unified .abqs-name { font-size: var(--abqx-t-name) !important; line-height: 1.25 !important; letter-spacing: -.01em !important; }
html body .abqx .abqx-panel { max-width: 760px; padding: 16px var(--abqx-inset) 0; gap: 12px 16px; }
html body .abqx .abqx-panel__name { font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: var(--abqx-t-name) !important; line-height: 1.25 !important; letter-spacing: -.01em !important; margin: 0 !important; }
html body .abqx .abqx-panel__price { font-size: var(--abqx-t-price); margin: 4px 0 0; }
html body .abqx .abqx-panel__count, html body .abqx .abqx-panel__sizes { font-size: var(--abqx-t-small); }
html body .abqx .abqx-panel__btn { padding: 0 32px; font-size: var(--abqx-t-btn); letter-spacing: .12em; }
html body .abqx .abqx-shop { font-size: var(--abqx-t-btn); letter-spacing: .12em; padding: 0 24px; }

/* ---- the women's / men's rail (section 01) on the unified Showroom page uses the same design system as the sections ---- */
html body .abqs-unified .abqs-count { display: block !important; grid-column: 1 / -1; margin: 0; font-family: 'DM Sans', sans-serif; font-size: var(--abqx-t-small, 12px); letter-spacing: .12em; text-transform: uppercase; color: var(--abq-muted, #6b6b6b); }
html body .abqs-unified .abqs-sizes { margin: 4px 0 0; font-family: 'DM Mono', monospace; font-size: var(--abqx-t-small, 12px); letter-spacing: .08em; color: var(--abq-muted, #6b6b6b); }
/* no arrow icons (same as the sections): the controls stay for keyboard and screen readers */
html body .abqs-unified .abqs-nav { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; margin: -1px !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; }
html body .abqs-unified .abqs-nav:focus-within { opacity: 1 !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important; margin: 0 !important; z-index: 30; }
/* one SHOP button on the picture, same as every section */
html body .abqs-unified .abqs-shop { position: absolute; z-index: 20; bottom: clamp(14px, 4%, 40px); right: clamp(16px, 3%, 40px); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 1px solid var(--abq-ink, #0e0e0e); background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: 'DM Sans', sans-serif; font-size: var(--abqx-t-btn, 13px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--abq-ink, #0e0e0e); text-decoration: none; }
html body .abqs-unified .abqs-shop:hover, html body .abqs-unified .abqs-shop:focus-visible { background: var(--abq-ink, #0e0e0e); color: #fff; }
@media (max-width: 700px) { html body .abqs-unified .abqs-shop { right: auto; left: clamp(16px, 3%, 40px); } }

/* label colour is the muted token everywhere; names break between words (never leaving "Shirt" alone after a hyphen) */
html body .abqs-unified .abqs-count, html body .abqs-unified .abqs-sizes, html body .abqx .abqx-panel__count, html body .abqx .abqx-panel__sizes { color: var(--abq-muted, #6b6b6b) !important; }
html body .abqs-unified .abqs-name, html body .abqx .abqx-panel__name { text-wrap: balance; }

/* button below the text, left aligned: the same layout as under the rail */
html body .abqx .abqx-panel { grid-template-columns: 1fr; }
html body .abqx .abqx-panel__btn { justify-self: start; margin-top: 4px; }
