/* ==========================================================================
   CKINAUTHENTIC — SHOPIFY HORIZON & "TRY THE LOOK — RUNWAY" DESIGN SYSTEM
   Unifies all pages (index.html, runway.html, avatar-studio.html,
   cosmetic-lab.html, wallet.html, promotions.html, order-tracking.html)
   under the exact Runway tokens (#ffffff, #151413, #66625c, #c8c8c8, 0px/30px).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter+Tight:wght@500;600;700&family=Tinos:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  color-scheme: light;
  /* Unified OKTA/9 + Runway Technical Atelier Tokens */
  --bg: #e2e4e8;
  --card: rgba(255, 255, 255, 0.90);
  --card-solid: #ffffff;
  --ink: #111111;
  --mute: #575a60;
  --chip: #eceef1;
  --line: #b9bcc2;

  --font-body--family: "IBM Plex Mono", Helvetica, Arial, monospace;
  --font-body--weight: 400;
  --font-heading--family: "Inter Tight", Helvetica, Arial, sans-serif;
  --font-heading--weight: 500;
  --color-primary-button-background: #111111;
  --color-primary-button-text: #ffffff;
  --style-border-radius-buttons-primary: 0px;

  /* Mapped Tokens for all CKINAUTHENTIC pages */
  --bg-alabaster: #e2e4e8;
  --bg-warm-cream: #eceef1;
  --bg-paper-white: rgba(255, 255, 255, 0.90);
  --bg-blush-mist: rgba(255, 255, 255, 0.78);
  --bg-espresso: #111111;
  --bg-espresso-deep: #0a0a0a;
  --bg-formulation-navy: #111111;
  --bg-terracotta: #111111;

  --ink-primary: #111111;
  --ink-secondary: #4a4d52;
  --ink-muted: #575a60;
  --ink-on-dark: #ffffff;
  --ink-on-dark-muted: #b9bcc2;

  --accent-coral: #111111;
  --accent-coral-hover: #2c2f36;
  --accent-rose-pastel: #ffffff;
  --accent-rose-soft: #eceef1;
  --accent-gold-amber: #111111;
  --accent-emerald: #066847;
  --accent-cyan-lab: #ffffff;

  --border-subtle: rgba(185, 188, 194, 0.65);
  --border-strong: #b9bcc2;
  --border-on-dark: rgba(255, 255, 255, 0.22);

  --font-display: "Inter Tight", Helvetica, Arial, sans-serif;
  --font-sans: "IBM Plex Mono", monospace;
  --font-mono: "IBM Plex Mono", monospace;

  --shadow-resting: 0 8px 24px -12px rgba(17, 17, 17, 0.08);
  --shadow-elevated: 0 18px 38px -16px rgba(17, 17, 17, 0.18);
  --shadow-modal: 0 28px 64px -20px rgba(17, 17, 17, 0.32);

  --radius-xs: 4px;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-pill: 30px;

  --notch-pill: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  --notch-card: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));

  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-silk: cubic-bezier(.65, 0, .25, 1);
  --ease-spring: cubic-bezier(.3, 1.6, .5, 1);
  --duration-fast: 240ms;
  --duration-normal: 450ms;
}

::selection {
  background-color: #151413;
  color: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-family: "IBM Plex Mono", Helvetica, Arial, monospace;
  color: #111111;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid #151413;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   1. TWO-TIER FLAGSHIP HEADER (Runway 88px White Bar + Category Bar)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(226, 228, 232, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.header-top-tier {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter Tight", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
}

.brand-logo-mark {
  width: 34px;
  height: 34px;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  clip-path: var(--notch-pill);
}

.brand-logo span em {
  font-style: normal;
  font-weight: 500;
  color: var(--mute);
}

/* Center Smart Search */
.smart-search-wrapper {
  position: relative;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
}

.smart-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  clip-path: var(--notch-pill);
  padding: 5px 8px 5px 16px;
  box-shadow: var(--shadow-resting);
  transition: background .3s, box-shadow .3s;
}

.smart-search-bar:focus-within {
  background: #ffffff;
  box-shadow: var(--shadow-elevated);
}

.smart-search-icon {
  width: 16px;
  height: 16px;
  color: #66625c;
  flex-shrink: 0;
  margin-right: 10px;
}

.smart-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #151413;
  outline: none;
}

.smart-search-input::placeholder {
  color: #66625c;
}

.smart-search-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 13px;
  clip-path: var(--notch-pill);
  background: var(--chip);
  color: #575a60;
  white-space: nowrap;
  margin-right: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}

.smart-search-tag:hover {
  color: #111111;
  background: #dfe2e8;
}

.smart-search-tag.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #4ade80;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.55), inset 0 0 8px rgba(74, 222, 128, 0.25);
}

.smart-search-tag .smart-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  transition: background .25s, box-shadow .25s;
}

.smart-search-tag.is-active .smart-dot {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.smart-search-bar.is-smart-on {
  border-color: #111111;
  box-shadow: 0 0 0 1px #111111, 0 10px 28px -8px rgba(17, 17, 17, 0.22);
}

/* Voice Search Microphone Button */
.smart-voice-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--chip);
  color: #575a60;
  border: 1px solid transparent;
  clip-path: var(--notch-pill);
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.smart-voice-btn:hover {
  background: #111111;
  color: #ffffff;
}

.smart-voice-btn.is-listening {
  background: #dc2626;
  color: #ffffff;
  border-color: #ef4444;
  animation: ckinVoicePulse 1.2s infinite ease-in-out;
}

@keyframes ckinVoicePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    transform: scale(1.06);
  }
}

/* Account Header Dropdown Menu (3 Sections: Quản lý tài khoản, Tinh chỉnh cơ thể, Đăng xuất) */
.account-dropdown-wrapper {
  position: relative;
}

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 270px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #ffffff;
  clip-path: var(--notch-card);
  box-shadow: var(--shadow-modal);
  padding: 12px;
  z-index: 990;
  display: none;
  flex-direction: column;
  gap: 4px;
}

/* Invisible hover bridge across the 6px gap so moving mouse down never closes the menu */
.account-dropdown-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background: transparent;
}

.account-dropdown-wrapper:hover .account-dropdown-menu,
.account-dropdown-wrapper.is-open .account-dropdown-menu {
  display: flex;
}

.account-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #111111;
  clip-path: var(--notch-pill);
  transition: background .2s, color .2s;
  text-align: left;
  width: 100%;
}

.account-menu-item:hover {
  background: #111111;
  color: #ffffff;
}

.smart-search-submit {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #151413;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease-out-expo);
}

.smart-search-submit:hover {
  transform: scale(1.06);
}

.smart-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  box-shadow: var(--shadow-modal);
  padding: 18px;
  z-index: 980;
  display: none;
}

.smart-search-dropdown.is-open {
  display: block;
}

.search-intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e4e4;
}

.search-chip {
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid #c8c8c8;
  color: #151413;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.search-chip:hover, .search-chip.active {
  background: #151413;
  color: #ffffff;
  border-color: #151413;
}

.search-results-list {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.search-result-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e4e4e4;
}

.search-result-thumb {
  width: 52px;
  height: 64px;
  object-fit: cover;
  background: #f5f5f5;
}

/* Header Right Actions — Translucent Notched Glass Pills */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-wallet-pill,
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  clip-path: var(--notch-pill);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #111111;
  transition: background .25s, color .25s, transform .25s var(--ease-out-expo);
}

.header-wallet-pill:hover,
.header-icon-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.header-wallet-pill:hover .wallet-balance-text {
  color: #4ade80;
}

.wallet-balance-text {
  color: #066847;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: transform 0.5s cubic-bezier(.3, 1.8, .5, 1), background .25s, color .25s;
}

.header-icon-btn:hover .header-badge {
  background: #ffffff;
  color: #111111;
}

/* Tier 2: Secondary Nav Bar */
.header-bottom-tier {
  background: rgba(226, 228, 232, 0.65);
  backdrop-filter: blur(12px);
  color: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.header-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  position: relative;
}

.nav-primary-group {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.mega-menu-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 35px;
  padding: 0 17px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  clip-path: var(--notch-pill);
}

.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 920px;
  max-width: 94vw;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #111111;
  border: 1px solid #ffffff;
  box-shadow: var(--shadow-modal);
  padding: 28px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  z-index: 950;
  clip-path: var(--notch-card);
}

.mega-menu-wrapper:hover .mega-menu-panel,
.mega-menu-wrapper.is-open .mega-menu-panel {
  display: grid;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-col-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #151413;
  font-size: 16px;
  font-weight: 500;
}

.mega-col-tag {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #66625c;
}

.mega-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #151413;
  transition: padding-left .25s var(--ease-out-expo);
}

.mega-sublink:hover {
  padding-left: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mega-menu-footer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-sibling-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-sibling-link {
  display: inline-flex;
  align-items: center;
  height: 35px;
  padding: 0 17px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: var(--notch-pill);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #111111;
  transition: background .25s, color .25s, transform .25s var(--ease-out-expo);
}

.nav-sibling-link:hover,
.nav-sibling-link.active {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-3d-shortcuts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-3d-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: var(--notch-pill);
  color: #111111;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: background .25s, color .25s, transform .25s var(--ease-out-expo);
}

.nav-3d-pill:hover, .nav-3d-pill.active {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. RUNWAY COMPONENT CSS (<runway-section> full styling)
   ========================================================================== */

runway-section {
  --rw-h: var(--rw-h-d, 46px);
  --rw-sub: var(--rw-sub-d, 12px);
  --rw-label: var(--rw-label-d, 10px);
  --rw-chip: var(--rw-chip-d, 17px);
  --rw-ph: var(--rw-ph-d, 18px);
  --rw-pt-size: var(--rw-pt-size-d, 13px);
  --rw-price: var(--rw-price-d, 12px);
  --rw-opt: var(--rw-opt-d, 11px);
  --rw-total: var(--rw-total-d, 16px);
  --rw-thumb: var(--rw-thumb-d, 92px);
  --rw-panel-pad: var(--rw-panel-pad-d, 32px);
  --rw-model-h: 560px;
  --rw-stage: var(--rw-c-stage, #ffffff);
  --rw-panel: var(--rw-c-panel, #ffffff);
  --rw-text: var(--rw-c-text, #151413);
  --rw-head: var(--rw-c-text, #151413);
  --rw-muted: var(--rw-c-muted, #66625c);
  --rw-accent: var(--rw-c-accent, #0e0e0e);
  --rw-on-accent: var(--rw-c-on-accent, #ffffff);
  --rw-line: var(--rw-c-line, #c8c8c8);
  --rw-btn-bg: var(--color-primary-button-background, #151413);
  --rw-btn-fg: var(--color-primary-button-text, #fff);
  --rw-btn-radius: var(--style-border-radius-buttons-primary, 0px);
  --rw-ease: cubic-bezier(.16, 1, .3, 1);
  --rw-ease-silk: cubic-bezier(.65, 0, .35, 1);
  --rw-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --rw-ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --rw-pin-base: .15s;

  display: block;
  position: relative;
  color: var(--rw-text);
  background: var(--rw-panel);
  border-bottom: 1px solid #c8c8c8;
}

.rw__sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rw__sticky {
  height: var(--rw-frame-h, 100svh);
  display: flex;
  flex-direction: column;
}

.rw__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  max-width: var(--rw-max, none);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
}

.rw__left {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--rw-stage);
  overflow: hidden;
  min-height: 0;
}

.rw__panel {
  position: relative;
  background: var(--rw-panel);
}

.rw__panel.has-rule {
  border-left: 1px solid var(--rw-line);
}

.rw__panel-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.rw__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 44px 56px 0;
  z-index: 5;
}

.rw__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.rw__title {
  margin: 0;
  font-family: var(--rw-hf);
  font-weight: var(--rw-hw, 400);
  font-size: var(--rw-h);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rw-head);
}

.rw__sub {
  margin: 0;
  font-size: var(--rw-sub);
  line-height: 1.55;
  color: var(--rw-muted);
  max-width: 46ch;
}

.rw--js:not(.is-revealed) .rw__title,
.rw--js:not(.is-revealed) .rw__sub,
.rw--js:not(.is-revealed) .rw__panel-head {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
}

.rw--js:not(.is-revealed) .rw__title {
  letter-spacing: 0.03em;
}

.rw--js:not(.is-revealed) .rw__stage,
.rw--js:not(.is-revealed) .rw__controls,
.rw--js:not(.is-revealed) .rw__panel {
  opacity: 0;
}

.rw--js.is-revealed .rw__title,
.rw--js.is-revealed .rw__sub,
.rw--js.is-revealed .rw__panel-head {
  transition: opacity 1.1s var(--rw-ease), transform 1.4s var(--rw-ease), filter 1.1s var(--rw-ease), letter-spacing 1.8s var(--rw-ease);
}

.rw--js.is-revealed .rw__title { transition-delay: .12s; }
.rw--js.is-revealed .rw__sub { transition-delay: .26s; }
.rw--js.is-revealed .rw__panel-head { transition-delay: .34s; }
.rw--js.is-revealed .rw__stage { transition: opacity 1.6s var(--rw-ease) .1s; }
.rw--js.is-revealed .rw__panel { transition: opacity 1.2s var(--rw-ease) .25s; }
.rw--js.is-revealed .rw__controls { transition: opacity 1.2s var(--rw-ease) .55s; }

.rw__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  outline: none;
  overflow: hidden;
  z-index: 0;
}

.is-dragging .rw__stage { cursor: grabbing; }
.rw__stage:focus-visible { box-shadow: inset 0 0 0 2px var(--rw-accent); }
.rw--cursor .rw__stage, .rw--cursor .rw__stage * { cursor: none !important; }

.rw__actors { position: absolute; inset: 0; }
.rw__heroes { position: absolute; inset: 0; pointer-events: none; z-index: 1500; }

.rw__model {
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  opacity: 0;
}

.rw__shadow {
  position: absolute;
  left: 58%;
  bottom: 0;
  width: 150%;
  height: 9%;
  min-height: 14px;
  max-height: 46px;
  transform: translate(-50%, 50%);
  filter: blur(2px);
  background: radial-gradient(closest-side, rgb(20 16 12 / .30), rgb(20 16 12 / .14) 45%, rgb(20 16 12 / .04) 75%, rgb(20 16 12 / 0));
  pointer-events: none;
}

.rw__figure {
  position: relative;
  height: var(--rw-model-h);
  aspect-ratio: var(--rw-ar, 0.5625);
}

.rw__art {
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--rw-foot, 0) * 100%));
}

.rw__art img[data-model-image] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0;
}

.rw__art img[data-model-image].is-decoded { opacity: 1; }

.rw__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
}

.rw__hit:focus-visible { outline: 2px solid var(--rw-accent); outline-offset: 6px; }

.rw__hero {
  position: absolute;
  left: var(--rw-hx, 72%);
  bottom: var(--rw-hy, 30px);
  transform: translateX(-50%) scale(var(--rw-fs, 1));
  transform-origin: 50% 100%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.rw--still .rw__hero.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rw__zoom {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 24px;
  cursor: zoom-in;
}

.rw__pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rw--popup .rw__hero .rw__pins { display: none !important; }

.rw__pin {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding: 0;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
}

.rw__pin-dot {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(255 255 255 / .86);
  backdrop-filter: blur(6px);
  color: #151413;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px -4px rgb(0 0 0 / .35);
  transition: transform .5s cubic-bezier(.2, 1.6, .4, 1), background .25s, color .25s, box-shadow .25s;
}

.rw__pin-dot::after,
.rw__pin-dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .8);
  animation: rw-ring 2.6s cubic-bezier(.2, .6, .3, 1) infinite;
  pointer-events: none;
}

.rw__pin-dot::before {
  border-color: rgb(255 255 255 / .55);
  animation-delay: 1.3s;
}

@keyframes rw-ring {
  0% { transform: scale(.8); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}

.rw__pin:hover .rw__pin-dot,
.rw__pin.is-hot .rw__pin-dot {
  transform: scale(1.3);
  background: var(--rw-accent);
  color: var(--rw-on-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--rw-accent) 22%, transparent), 0 8px 20px -6px rgb(0 0 0 / .45);
}

.rw__pin::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% - 6px);
  top: 50%;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / .88);
  backdrop-filter: blur(10px);
  color: #151413;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  box-shadow: 0 10px 26px -12px rgb(0 0 0 / .4);
  opacity: 0;
  transform: translate(-8px, -50%) scale(.96);
  transform-origin: left center;
  transition: opacity .35s, transform .6s var(--rw-ease);
  pointer-events: none;
}

.rw__pin.is-hot::after,
.rw__pin:focus-visible::after,
.rw__pin:hover::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.rw__sweep {
  position: absolute;
  inset: 0;
  z-index: 1550;
  mix-blend-mode: soft-light;
  pointer-events: none;
  overflow: hidden;
}

.rw__sweep::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .25) 42%, rgb(255 255 255 / .55) 50%, rgb(255 255 255 / .25) 58%, transparent);
  transform: translateX(-130%) skewX(-12deg);
  opacity: 0;
}

.rw__stage.is-sweep .rw__sweep::before {
  animation: rw-sweep 1.5s var(--rw-ease-silk);
}

@keyframes rw-sweep {
  0% { transform: translateX(-130%) skewX(-12deg); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateX(330%) skewX(-12deg); opacity: 0; }
}

.rw__cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 1700;
  pointer-events: none;
}

.rw__cursor-in {
  position: absolute;
  top: -42px;
  left: -42px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #151413;
  border: 1px solid color-mix(in srgb, #151413 28%, transparent);
  background: color-mix(in srgb, #fff 40%, transparent);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.3);
  transition: transform .6s var(--rw-ease), opacity .35s, background .35s, border-color .35s, color .35s;
}

.rw__cursor-label {
  grid-area: 1 / 1;
  font-size: 10px;
  letter-spacing: .24em;
  padding-left: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .25s, letter-spacing .7s var(--rw-ease);
}

.rw__cursor-view { opacity: 0; }
.rw__cursor.is-on .rw__cursor-in { opacity: 1; transform: scale(1); }
.rw__cursor.is-view .rw__cursor-drag { opacity: 0; }
.rw__cursor.is-view .rw__cursor-view { opacity: 1; }
.rw__cursor.is-link .rw__cursor-in { transform: scale(.2); background: var(--rw-accent); border-color: transparent; }
.rw__cursor.is-link .rw__cursor-label { opacity: 0; }
.is-dragging .rw__cursor.is-on .rw__cursor-in { transform: scale(.74); background: var(--rw-accent); border-color: var(--rw-accent); color: #fff; }
.is-dragging .rw__cursor.is-on .rw__cursor-drag { opacity: 1; letter-spacing: .42em; }
.is-dragging .rw__cursor.is-on .rw__cursor-view { opacity: 0; }
.rw__walk { display: none; }

.rw__controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 44px 30px;
  z-index: 5;
}

.rw__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #151413;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.rw__icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(.55);
  transition: transform .7s var(--rw-ease), opacity .4s;
}

.rw__icon:hover::before { opacity: .22; transform: scale(1); }
.rw__icon svg { transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.rw__icon[data-rw-prev]:hover svg { transform: translateX(-4px); }
.rw__icon[data-rw-next]:hover svg { transform: translateX(4px); }
.rw__icon:active svg { transform: scale(.88); }

.rw__auto .rw__pause-ico { display: none; }
.is-playing .rw__auto .rw__play-ico { display: none; }
.is-playing .rw__auto .rw__pause-ico { display: block; }

.rw__ticks { flex: 1; display: flex; gap: 6px; min-width: 0; }

.rw__tick {
  flex: 0 1 44px;
  min-width: 14px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  color: var(--rw-muted);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: flex-basis .8s cubic-bezier(.2, 1.25, .3, 1), color .3s;
}

.rw__tick[aria-current="true"] { flex: 0 0 190px; color: #151413; }
.rw__tick:hover { color: #151413; }

.rw__tick-bar {
  position: relative;
  height: 2px;
  width: 100%;
  overflow: hidden;
  background: color-mix(in srgb, #151413 14%, transparent);
  transition: transform .5s var(--rw-ease);
}

.rw__tick:hover .rw__tick-bar { transform: scaleY(1.5); }

.rw__tick-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #151413;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--rw-ease), opacity .4s, background .4s;
}

.rw__tick.is-past .rw__tick-bar::after { transform: scaleX(1); opacity: .35; }
.rw__tick[aria-current="true"] .rw__tick-bar::after { transform: scaleX(1); background: var(--rw-accent); opacity: 1; }
.is-playing .rw__tick[aria-current="true"] .rw__tick-bar::after { transition: none; transform: scaleX(0); }
.is-playing .rw__tick[aria-current="true"].is-run .rw__tick-bar::after { animation: rw-fill var(--rw-speed, 5s) linear forwards; }

@keyframes rw-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.rw__tick-label {
  font-size: var(--rw-label);
  letter-spacing: .12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
  width: 100%;
}

.rw__tick-name { display: none; }
.rw__tick[aria-current="true"] .rw__tick-name {
  display: inline;
  animation: rw-name-in 1.1s var(--rw-ease) .1s backwards;
}

@keyframes rw-name-in {
  from { opacity: 0; letter-spacing: .34em; }
  to { opacity: 1; letter-spacing: .12em; }
}

.rw__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 44px 32px 18px;
}

.rw__panel-title {
  margin: 0;
  font-family: var(--rw-hf);
  font-weight: 400;
  font-size: var(--rw-ph);
  line-height: 1.1;
}

.rw__label {
  font-size: var(--rw-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rw-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rw__label.is-swap { animation: rw-fade .8s var(--rw-ease); }
@keyframes rw-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.rw__look-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.rw__mhead { display: none; }

.rw__items {
  list-style: none;
  margin: 0;
  padding: 6px 32px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.rw__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--rw-thumb) minmax(0, 1fr) 44px;
  column-gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--rw-line);
}

.rw__item:last-child { border-bottom: 1px solid var(--rw-line); }

.rw__item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rw-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--rw-ease);
  pointer-events: none;
}

.rw__item.is-hot::after,
.rw__item:hover::after { transform: scaleX(1); }

.rw__look-panel.is-in .rw__item {
  animation: rw-item-in 1.1s var(--rw-ease) backwards;
  animation-delay: calc(var(--i, 1) * 85ms + 140ms);
}

.rw__look-panel.is-in .rw__media {
  animation: rw-curtain 1.2s var(--rw-ease) backwards;
  animation-delay: calc(var(--i, 1) * 85ms + 200ms);
}

.rw__look-panel.is-in .rw__media img {
  animation: rw-media-in 1.8s var(--rw-ease) backwards;
  animation-delay: calc(var(--i, 1) * 85ms + 200ms);
}

@keyframes rw-item-in {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes rw-curtain {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

@keyframes rw-media-in {
  from { transform: scale(1.22); filter: saturate(.4) brightness(1.08); }
  to { transform: scale(1); filter: none; }
}

.rw__tag {
  position: absolute;
  top: 11px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform-origin: 10px 0;
  pointer-events: none;
}

.rw__tag::before {
  content: "";
  width: 1px;
  height: 11px;
  margin-left: 10px;
  background: color-mix(in srgb, #151413 50%, transparent);
}

.rw__tag-text {
  background: #151413;
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 6px;
  border-radius: 2px;
}

.rw__item:hover .rw__tag { animation: rw-swing 1.4s cubic-bezier(.3, .7, .4, 1); }
@keyframes rw-swing {
  0% { transform: rotate(-16deg); }
  25% { transform: rotate(11deg); }
  45% { transform: rotate(-7deg); }
  65% { transform: rotate(4deg); }
  82% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.rw__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: color-mix(in srgb, #151413 5%, #fff);
}

.rw__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--rw-ease);
}

.rw__item:hover .rw__media img { transform: scale(1.07); }

.rw__num {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(255 255 255 / .9);
  color: #151413;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: background .3s, color .3s, transform .45s cubic-bezier(.2, 1.6, .4, 1);
}

.rw__item.is-hot .rw__num,
.rw__item:hover .rw__num {
  background: var(--rw-accent);
  color: #fff;
  transform: scale(1.12);
}

.rw__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rw__type {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rw-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rw__name {
  font-size: var(--rw-pt-size);
  font-weight: 500;
  line-height: 1.3;
  align-self: flex-start;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .7s var(--rw-ease);
}

.rw__name:hover { background-size: 100% 1px; }
.rw__price { font-size: var(--rw-price); display: flex; gap: 8px; }

.rw__add {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  align-self: end;
  cursor: pointer;
  padding: 0;
}

.rw__add svg {
  grid-area: 1 / 1;
  transition: transform .55s cubic-bezier(.2, 1.6, .4, 1), opacity .2s;
}

.rw__add .rw__ico-check,
.rw__add .rw__ico-spin { opacity: 0; }

.rw__add::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 20px;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(.55);
  transition: transform .7s var(--rw-ease), opacity .4s;
}

.rw__add:hover::before,
.rw__item.is-picking .rw__add::before { opacity: .22; transform: scale(1); }
.rw__item.is-picking .rw__add .rw__ico-plus { transform: rotate(45deg); }
.rw__item.is-loading .rw__add .rw__ico-plus { opacity: 0; }
.rw__item.is-loading .rw__add .rw__ico-spin { opacity: 1; animation: rw-spin .8s linear infinite; }
@keyframes rw-spin { to { transform: rotate(360deg); } }

.rw__item.is-added .rw__add .rw__ico-plus { opacity: 0; }
.rw__item.is-added .rw__add .rw__ico-check { opacity: 1; color: var(--rw-accent); }

.rw__picker {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
}

.rw__picker-head { display: none; }
.rw__opt { border: 0; padding: 0; margin: 0; }
.rw__opt-name { font-size: var(--rw-opt); color: #151413; margin-bottom: 8px; }
.rw__opt-vals { display: flex; flex-wrap: wrap; gap: 8px; }

.rw__pill { position: relative; cursor: pointer; }
.rw__pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.rw__pill-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--rw-line);
  background: transparent;
  color: #151413;
  font-size: var(--rw-opt);
  transition: background .3s, color .3s, border-color .3s;
}

.rw__pill:hover .rw__pill-label { border-color: #151413; }
.rw__pill input:checked + .rw__pill-label { background: #151413; color: #fff; border-color: #151413; }

.rw__confirm {
  min-height: 46px;
  border: 0;
  border-radius: 0px;
  background: #151413;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.rw__bundle {
  padding: 20px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border-top: 1px solid var(--rw-line);
}

.rw__msg { margin: 0; font-size: 11px; line-height: 1.45; color: #151413; }
.rw__msg:empty { display: none; }

.rw__bundle-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.rw__bundle-copy { display: flex; flex-direction: column; gap: 3px; }
.rw__bundle-title { font-size: 13px; font-weight: 500; }
.rw__bundle-note { font-size: 11px; color: var(--rw-muted); }
.rw__bundle-price { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.rw__bundle-price s { font-size: 11px; color: var(--rw-muted); }
.rw__bundle-price strong { font-weight: 400; font-size: 16px; }

.rw__cta {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 0px;
  background: #151413;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.rw__cta-m, .rw__cta-done, .rw__cta-spin { display: none; }
.rw__cta.is-loading .rw__cta-arrow { display: none; }
.rw__cta.is-loading .rw__cta-spin { display: block; animation: rw-spin .8s linear infinite; }
.rw__look-panel.is-complete .rw__cta-add,
.rw__look-panel.is-complete .rw__cta-arrow { display: none !important; }
.rw__look-panel.is-complete .rw__cta-done { display: inline; }

.rw__lb {
  position: absolute;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .95s;
}

.rw__lb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  transition: opacity .6s var(--rw-ease) .15s;
}

.rw--zoom .rw__lb { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.rw--zoom .rw__lb::before { opacity: 1; transition: opacity .45s var(--rw-ease); }
.rw--zoom .rw__actors, .rw--zoom .rw__heroes, .rw--zoom .rw__head { opacity: 0; pointer-events: none; }

.rw__lb-stage {
  position: absolute;
  inset: 88px 48px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: zoom-out;
}

.rw__lb-model { position: relative; flex: 0 0 auto; cursor: default; transition: transform .95s var(--rw-ease); }
.rw__lb-model .rw__pins { display: block !important; }

.rw__lb-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 0 56px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.rw__lb-top > * { pointer-events: auto; }
.rw--zoom .rw__lb-top { opacity: 1; transform: translateY(0); transition: opacity .8s var(--rw-ease) .35s, transform 1s var(--rw-ease) .35s; }
.rw__lb-cap { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.rw__lb-kicker { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--rw-muted); }
.rw__lb-name { font-size: 17px; font-weight: 400; line-height: 1.1; }
.rw__lb-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, #151413 22%, transparent);
  background: color-mix(in srgb, #fff 55%, transparent);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.rw__lb-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rw-muted);
  pointer-events: none;
}

/* ==========================================================================
   3. SECTIONS, PRODUCT LIST/GRID, 3D WORKBENCHES & MODALS (Runway Minimalist)
   ========================================================================== */

.editorial-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: #111111;
}

.section-espresso,
.section-navy {
  background: #111111;
  color: #ffffff;
}

.section-espresso .section-title,
.section-navy .section-title {
  color: #ffffff;
}

.section-espresso .section-subtitle,
.section-navy .section-subtitle {
  color: #b9bcc2;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-title {
  font-family: "Inter Tight", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111111;
}

.section-title em {
  font-style: normal;
  font-weight: 500;
}

.section-subtitle {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 58ch;
  margin-top: 10px;
}

.atf-Action-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.atf-tile {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  clip-path: var(--notch-card);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-resting);
  transition: background .25s, transform .35s var(--ease-out-expo), box-shadow .35s;
}

.atf-tile:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.atf-tile-title {
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.atf-tile-meta {
  font-size: 12px;
  color: var(--mute);
}

.atf-tile-visual {
  width: 40px;
  height: 40px;
  background: var(--chip);
  clip-path: var(--notch-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
}

/* Product Grid — Translucent Notched Ticket Cards with Pulsing + Hotspot */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  clip-path: var(--notch-card);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-resting);
  transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo), background .3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  background: #ffffff;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, #151413 5%, #fff);
  overflow: hidden;
  border-bottom: 1px solid #e4e4e4;
}

.product-img-primary,
.product-img-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}

.product-img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-img-secondary {
  opacity: 1;
  transform: scale(1.06);
}

.product-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
}

.badge-discount {
  background: #151413;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.badge-3d-ready {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: #151413;
  border: 1px solid #c8c8c8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 30px;
}

.badge-gift {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #151413;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  z-index: 2;
}

.product-quick-dock {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.dock-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid #151413;
  color: #151413;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.dock-btn:hover {
  background: #151413;
  color: #ffffff;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 12px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #66625c;
}

.product-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #151413;
  margin-top: 4px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 13px;
  font-weight: 600;
  color: #151413;
}

.price-compare {
  font-size: 11px;
  color: #66625c;
  text-decoration: line-through;
}

.scarcity-meter {
  width: 100%;
  height: 2px;
  background: #e4e4e4;
  position: relative;
  margin: 6px 0;
}

.scarcity-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #151413;
}

.scarcity-label {
  display: block;
  font-size: 10px;
  color: #66625c;
  margin-top: 4px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
}

/* Translucent Notched Buttons & Pill Controls Across Whole Site */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  clip-path: var(--notch-pill);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .35s var(--ease-out-expo), background .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
}

.btn-primary,
.btn-coral {
  background: #111111;
  color: #ffffff;
}

.btn-primary:hover,
.btn-coral:hover {
  transform: translateY(-2px);
  background: #2b2e35;
  box-shadow: 0 12px 24px -10px rgba(17, 17, 17, 0.45);
}

.btn-cream,
.btn-outline {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #111111;
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.btn-cream:hover,
.btn-outline:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 35px;
  padding: 0 16px;
  font-size: 11px;
}

/* 3D Workbenches, Modals, Cart & AI Chatbot (Notched Ticket Architecture) */
.studio-workbench {
  display: grid;
  grid-template-columns: 350px 1fr 370px;
  gap: 20px;
  margin: 24px 0 56px;
}

.studio-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  clip-path: var(--notch-card);
  box-shadow: var(--shadow-resting);
  padding: 26px;
}

.studio-viewport-card {
  background: #151413;
  color: #ffffff;
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-left: 1px solid #c8c8c8;
  border-right: 1px solid #c8c8c8;
}

.studio-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.studio-hud-top,
.studio-hud-bottom {
  position: relative;
  z-index: 5;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.studio-hud-top > *,
.studio-hud-bottom > * {
  pointer-events: auto;
}

.telemetry-six-pack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #151413;
  border: 1px solid #c8c8c8;
  padding: 12px 18px;
}

.telemetry-gauge { display: flex; flex-direction: column; gap: 2px; }
.telemetry-label { font-size: 11px; color: #66625c; text-transform: uppercase; letter-spacing: .12em; }
.telemetry-value { font-size: 13px; font-weight: 600; color: #151413; font-variant-numeric: tabular-nums; }

.slider-control-group { display: flex; flex-direction: column; gap: 16px; margin: 18px 0; }
.slider-item { display: flex; flex-direction: column; gap: 6px; }
.slider-header { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; }
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: #c8c8c8;
  outline: none;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #151413;
  cursor: pointer;
}

/* Modals & Drawers */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }

.modal-card {
  background: #ffffff;
  color: #151413;
  width: 100%;
  max-width: 520px;
  border: 1px solid #d9d9d9;
  padding: 0;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body { padding: 24px; }

.google-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #151413;
  font-weight: 500;
  font-size: 13px;
}

.google-auth-btn:hover { background: #f5f5f5; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #66625c; }
.form-input {
  padding: 12px 14px;
  border: 1px solid #c8c8c8;
  background: #ffffff;
  font-size: 13px;
}
.form-input:focus { border-color: #151413; outline: none; }

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  justify-content: flex-end;
}
.cart-drawer-backdrop.is-open { display: flex; }

.cart-drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #c8c8c8;
  display: flex;
  flex-direction: column;
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-drawer-footer { padding: 20px 24px; border-top: 1px solid #c8c8c8; background: #ffffff; }

/* AI Chatbot Dock */
.ai-chatbot-dock { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }
.ai-chatbot-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 30px;
  background: #151413;
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
}
.ai-chatbot-window {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  box-shadow: var(--shadow-modal);
  display: none;
  flex-direction: column;
}
.ai-chatbot-window.is-open { display: flex; }
.ai-chat-header { background: #151413; color: #ffffff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.ai-chat-messages { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: #fafafa; }
.chat-bubble { max-width: 85%; padding: 10px 14px; font-size: 12px; line-height: 1.5; }
.chat-bubble.bot { align-self: flex-start; background: #ffffff; border: 1px solid #c8c8c8; color: #151413; }
.chat-bubble.user { align-self: flex-end; background: #151413; color: #ffffff; }
.ai-chat-quick-prompts { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; background: #ffffff; border-top: 1px solid #e4e4e4; }
.ai-chat-input-bar { display: flex; gap: 8px; padding: 12px; background: #ffffff; border-top: 1px solid #e4e4e4; }

.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2147483002; display: flex; flex-direction: column; gap: 8px; }
.toast-item { background: #151413; color: #ffffff; padding: 12px 20px; font-size: 12px; display: flex; align-items: center; gap: 10px; }

.site-footer { background: #ffffff; color: #151413; border-top: 1px solid #c8c8c8; padding: 56px 0 32px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid #e4e4e4; }

@media (max-width: 1120px) {
  .studio-workbench { grid-template-columns: 1fr; }
  .product-grid, .atf-Action-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 749px) {
  .container { padding: 0 20px; }
  .header-top-tier { grid-template-columns: 1fr auto; height: auto; padding: 12px 0; gap: 12px; }
  .smart-search-wrapper { grid-column: 1 / -1; order: 3; }
  .header-nav-container { overflow-x: auto; }
  .mega-menu-panel, .footer-grid { grid-template-columns: 1fr; }
}
