@charset "UTF-8";

:root {
  --black: #050505;
  --charcoal: #111111;
  --oxblood: #560F17;
  --burgundy: #781D28;
  --chrome: #C5C7CC;
  --ivory: #E8E2D8;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 2px;
  --transition: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html {
  overflow: hidden;
  touch-action: manipulation;
  background: var(--black);
  color: var(--ivory);
  width: 100vw;
  height: 100vh;
}

body {
  overflow: hidden;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  height: 100vh;
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

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

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

::-webkit-scrollbar {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Persistent background — one image shared across all chapters       */
/* ------------------------------------------------------------------ */

.persistent-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--black);
}

.persistent-bg .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}

.persistent-bg .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.bg-bottom-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,5,5,0.35) 50%, var(--black) 100%);
  pointer-events: none;
  z-index: 2;
}

.storefront-status:not([hidden]) {
  position: fixed;
  z-index: 300;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  width: min(92vw, 560px);
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(197, 199, 204, .35);
  background: rgba(5, 5, 5, .92);
  color: var(--ivory);
  font: 12px var(--sans);
  line-height: 1.5;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Viewport & track                                                   */
/* ------------------------------------------------------------------ */

.viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 3;
}

.track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  width: 400vw;
  height: 100vh;
  overflow: visible;
  will-change: transform;
}

.chapter {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  background: transparent;
  display: block;
  isolation: isolate;
  overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Chapter content layers                                             */
/* ------------------------------------------------------------------ */

.chapter-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  display: block;
  overflow: hidden;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.chapter-content:not(.chapter-content--active) {
  pointer-events: none;
  opacity: 0;
}

.chapter-content.chapter-content--active {
  pointer-events: auto;
  opacity: 1;
}

/* ------------------------------------------------------------------ */
/* Header / navigation                                                */
/* ------------------------------------------------------------------ */

.chapter-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
}

.nav-prev, .nav-prev * {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.nav-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 226, 216, 0.75);
  transition: color var(--transition-fast);
}

.nav-item.nav-next .nav-label {
  text-align: right;
}

.wordmark {
  position: relative;
  z-index: 7;
  max-width: 42vw;
  overflow-wrap: anywhere;
  text-align: center;
}

.wordmark[data-storefront-name] {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 3.6vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ivory);
  opacity: .95;
}

.wm-letter {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 3.6vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ivory);
  opacity: 0.95;
}

/* ------------------------------------------------------------------ */
/* Chapter 01 — Campaign (existing opening screen preserved)          */
/* ------------------------------------------------------------------ */

.headline-wrap {
  position: absolute;
  bottom: 34%;
  left: 0;
  width: 100%;
  padding: 0 max(20px, env(safe-area-inset-left)) 12vh max(20px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 6;
  pointer-events: none;
  max-height: 30%;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.55);
  margin-bottom: 10px;
  pointer-events: auto;
}

.headline-main {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(24px, 9vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ivory);
  pointer-events: auto;
}

.headline-main span {
  display: block;
}

/* ------------------------------------------------------------------ */
/* Swipe hint — exact timing: 5s wait, fade in, 2s visible, fade out, repeat */
/* ------------------------------------------------------------------ */

.swipe-hint {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  animation: swipeCycle 12s ease-in-out infinite;
}

.swipe-hint.paused {
  animation: none;
  opacity: 0.35;
}

.swipe-hint.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.swipe-text {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232, 226, 216, 0.65);
}

.swipe-arrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: rgba(232, 226, 216, 0.75);
  display: inline-block;
}

.swipe-hint.animating .swipe-arrow {
  animation: swipeArrow 4s ease-in-out infinite;
}

@keyframes swipeCycle {
  0%   { opacity: 0; }
  40%  { opacity: 0; }        /* wait 5s (40% of 12s) */
  48%  { opacity: 0.85; }     /* fade in (4.8s) */
  64%  { opacity: 0.85; }     /* stay visible 2s (19.2s - wait no, within 12s cycle) */
  72%  { opacity: 0; }        /* fade out */
  100% { opacity: 0; }        /* wait remaining */
}

@keyframes swipeArrow {
  0%   { transform: translateX(0); opacity: 0.85; }
  50%  { transform: translateX(8px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.85; }
}

/* ------------------------------------------------------------------ */
/* Navigation buttons                                                 */
/* ------------------------------------------------------------------ */

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(197, 199, 204, 0.18);
  background: rgba(17, 17, 17, 0.6);
  color: var(--chrome);
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.55;
  pointer-events: auto;
}

.nav-btn--prev { left: 12px; }
.nav-btn--next { right: 12px; }

#ch-01 .nav-btn--prev { display: none; }
#ch-04 .nav-btn--next { display: none; }

.dir-label {
  position: absolute;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.5);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.nav-btn--prev .dir-label { left: -30px; top: 50%; transform: translateY(-50%); }
.nav-btn--next .dir-label { right: -30px; top: 50%; transform: translateY(-50%); }

.nav-btn:hover {
  border-color: var(--chrome);
  background: var(--charcoal);
  opacity: 0.9;
}

.nav-btn:hover .dir-label {
  opacity: 1;
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

/* ------------------------------------------------------------------ */
/* Footer: chapter number, id, progress                               */
/* ------------------------------------------------------------------ */

.chapter-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right))
    max(34px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 6;
}

.chapter-number.vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.4);
  white-space: nowrap;
  padding-bottom: 24px;
}

.collection-id {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(232, 226, 216, 0.45);
  margin-bottom: 10px;
}

.progress-wrap {
  display: flex;
  gap: 8px;
}

.progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(197, 199, 204, 0.2);
  border: 1px solid rgba(197, 199, 204, 0.25);
  transition: background 0.5s ease, transform 0.5s ease, border-color 0.5s ease;
}

.progress-dot--active {
  background: var(--chrome);
  border-color: var(--chrome);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(197, 199, 204, 0.45);
}

.progress-wrap [role="tab"] {
  cursor: pointer;
}

.progress-wrap [role="tab"]:hover {
  background: rgba(197, 199, 204, 0.35);
  border-color: var(--chrome);
}

/* ------------------------------------------------------------------ */
/* Hairline divider                                                   */
/* ------------------------------------------------------------------ */

.hairline {
  position: fixed;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197, 199, 204, 0.35), transparent);
  z-index: 4;
  pointer-events: none;
  opacity: 0.5;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 — The Form                                              */
/* ------------------------------------------------------------------ */

.form-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form-visual {
  position: absolute;
  border: 1px solid rgba(197, 199, 204, 0.14);
  border-radius: 2px;
  overflow: hidden;
  background: var(--charcoal);
  z-index: 3;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.75);
}

.form-visual--one {
  top: 16%;
  left: 10%;
  width: clamp(200px, 28vw, 320px);
  height: clamp(260px, 36vh, 380px);
  transform: rotate(-2deg);
}

.form-visual--two {
  top: 22%;
  right: 14%;
  width: clamp(180px, 26vw, 300px);
  height: clamp(240px, 34vh, 360px);
  transform: rotate(3deg);
}

.form-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.06) saturate(0.98);
}

.chrome-element {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(16px) contrast(1.4);
  border-radius: 50% 48% 46% 54% / 48% 52% 48% 52%;
  box-shadow: inset 0 0 60px rgba(255,255,255,0.35);
}

/* Ensure form and object chapters render */
.chrome-element--form {
  top: 28%;
  right: -6%;
  width: 58vw;
  height: 58vw;
}

.form-title {
  font-size: clamp(32px, 10vw, 50px);
}

.form-sub {
  max-width: 70%;
}

.object-macro--one {
  top: 14%;
  left: 12%;
  width: 46vw;
  height: 46vw;
}

.object-macro--two {
  top: 56%;
  right: 14%;
  width: 44vw;
  height: 44vw;
}

@keyframes chromeDrift {
  0% { transform: rotate(-10deg) scale(1); }
  100% { transform: rotate(10deg) scale(1.08); }
}

.form-editorial {
  position: absolute;
  bottom: 16%;
  left: 0;
  width: 100%;
  padding: 0 max(20px, env(safe-area-inset-left)) max(30px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right));
  z-index: 6;
  pointer-events: none;
  max-height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.form-editorial.revealed {
  opacity: 1;
  transform: none;
}

.form-deck {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.55);
  margin-bottom: 8px;
  pointer-events: auto;
}

.form-title {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(26px, 9vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ivory);
  margin-bottom: 8px;
  pointer-events: auto;
}

.form-sub {
  font-family: var(--sans);
  font-size: clamp(12px, 2.6vw, 15px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: rgba(232, 226, 216, 0.5);
  max-width: 78%;
  pointer-events: auto;
}

.editorial-label {
  position: absolute;
  top: 28%;
  right: max(16px, env(safe-area-inset-right));
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.35);
  white-space: nowrap;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.editorial-label.revealed {
  opacity: 1 !important;
  visibility: visible !important;
  transform: rotate(180deg) !important;
  animation: none !important;
}

/* FLOATING PRODUCT EXHIBITION - Art Direction */
.float-stage--exhibit {
  position: absolute;
  inset: 10% 0 20% 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  padding: 0 clamp(40px, 10vw, 160px);
  overflow: visible;
  pointer-events: auto;
  z-index: 6;
}

.float-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.9s ease;
}

.float-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.float-wrap {
  position: relative;
  width: clamp(380px, 28vw, 480px);
  height: clamp(520px, 78vh, 640px);
  border-radius: 1px;
  overflow: hidden;
  background: #000;
  box-shadow: 
    0 90px 160px rgba(0, 0, 0, 0.82),
    0 50px 100px rgba(0, 0, 0, 0.75),
    inset 0 2px 0 rgba(197, 199, 204, 0.12);
  border: 1px solid rgba(197, 199, 204, 0.18);
  transition: transform 0.8s ease, box-shadow 0.8s ease;
  z-index: 1;
}

/* Collection motion - disabled to restore visibility */
@keyframes floatRotate {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  25% { transform: translateY(-10px) rotate(0.2deg); }
  50% { transform: translateY(-6px) rotate(0.8deg); }
  75% { transform: translateY(-12px) rotate(0deg); }
}

.float-item--handbag .float-wrap {
  /* animation: floatRotate 10s ease-in-out infinite; */
  /* animation-delay: 0s; */
  animation: none !important;
}

.float-item--shoe .float-wrap {
  /* animation: floatRotate 12s ease-in-out infinite; */
  /* animation-delay: 1.8s; */
  animation: none !important;
}

.float-item--accessory .float-wrap {
  /* animation: floatRotate 11s ease-in-out infinite; */
  /* animation-delay: 3.6s; */
  animation: none !important;
}

.float-item:hover .float-wrap {
  transform: scale(1.015);
  box-shadow: 
    0 110px 180px rgba(0, 0, 0, 0.88),
    0 60px 120px rgba(0, 0, 0, 0.8),
    inset 0 2px 0 rgba(197, 199, 204, 0.16);
}

.float-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) saturate(1.06) brightness(1.04);
  opacity: 1 !important;
  visibility: visible !important;
  background: #000;
}

.float-img--handbag {
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.22);
}

.float-img--shoe {
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.28);
}

.float-img--accessory {
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.36);
}

.float-shadow-float {
  position: absolute;
  bottom: -60px;
  left: 12%;
  right: 12%;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 45%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.float-shadow {
  position: absolute;
  bottom: -18px;
  left: 10%;
  right: 10%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.6;
}

.float-label {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.float-number {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.45);
}

.float-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-top: 6px;
}

.float-descriptor {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: rgba(232, 226, 216, 0.45);
  margin-top: 6px;
  text-align: center;
  max-width: 86%;
  line-height: 1.4;
  pointer-events: auto;
}

/* ------------------------------------------------------------------ */
/* Chapter 04 — The Object                                            */
/* ------------------------------------------------------------------ */

/* Object chapter - narrative */
.object-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 6;
}

.object-story {
  position: absolute;
  top: 18%;
  left: max(20px, env(safe-area-inset-left));
  width: clamp(220px, 26vw, 320px);
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.object-story-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.object-story-title {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.6);
}

.object-story-text {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: rgba(232, 226, 216, 0.55);
}

.object-macro {
  position: absolute;
  border: 1px solid rgba(197, 199, 204, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: var(--charcoal);
  opacity: 0;
  transition: opacity 1s ease;
}

.object-macro.revealed {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
}

.object-macro--two.revealed {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
}

.macro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) saturate(0.95);
}

.object-editorial {
  position: absolute;
  bottom: 14%;
  left: 0;
  width: 100%;
  padding: 0 max(20px, env(safe-area-inset-left)) max(30px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right));
  z-index: 6;
  pointer-events: none;
  max-height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.object-editorial.revealed {
  opacity: 1;
  transform: none;
}

.object-deck {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.55);
  margin-bottom: 8px;
  pointer-events: auto;
}

.object-title {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(26px, 9vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ivory);
  margin-bottom: 8px;
  pointer-events: auto;
}

.object-sub {
  font-family: var(--sans);
  font-size: clamp(12px, 2.6vw, 15px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: rgba(232, 226, 216, 0.5);
  max-width: 78%;
  pointer-events: auto;
}

/* ------------------------------------------------------------------ */
/* Overlay panels: product, about, bag                                */
/* ------------------------------------------------------------------ */

.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.panel-overlay.open {
  display: flex;
}

.panel-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}

.panel-close::before,
.panel-close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 1px;
  background: var(--chrome);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.panel-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Menu panel --- */

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: none;
  flex-direction: column;
}

.menu-panel.open {
  display: flex !important;
}

.menu-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 1px;
  background: var(--chrome);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-inner {
  flex: 1;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.menu-masthead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid rgba(197, 199, 204, 0.12);
  padding-bottom: 26px;
  margin-bottom: 10px;
}

.menu-wordmark {
  max-width: 90vw;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(22px, 8vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ivory);
}

.menu-wordmark .wm-thin {
  font-weight: 400;
  color: rgba(232, 226, 216, 0.45);
}

.menu-divider {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--chrome), transparent);
  margin-top: 14px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-item {
  pointer-events: auto !important;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-item .menu-num {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.4);
  font-weight: 600;
}

.menu-item:hover {
  color: var(--chrome);
  padding-left: 12px;
}

.menu-item.menu-item--about,
.menu-item.menu-item--bag {
  color: rgba(232, 226, 216, 0.6);
}

.menu-item.menu-item--about:hover,
.menu-item.menu-item--bag:hover {
  color: var(--chrome);
}

/* --- Product detail panel --- */

.product-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 5, 5, 0.85);
  display: none;
  flex-direction: row;
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(4px);
}
.product-panel.open {
  display: flex;
  animation: productSlideIn 0.6s ease;
}

@keyframes productSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.product-panel .product-close {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  left: max(24px, env(safe-area-inset-left));
  width: 52px;
  height: 52px;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  pointer-events: auto !important;
  touch-action: manipulation;
  background: transparent;
  border: none;
  cursor: pointer;
}

.product-panel .product-close:hover {
  opacity: 1;
}

.product-panel .product-close::before,
.product-panel .product-close::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 1.2px;
  background: var(--chrome);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.product-panel .product-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

.product-panel-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

.product-panel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(80px, 10vh) max(40px, 6vw);
  background: linear-gradient(90deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.4) 100%);
}

.product-panel-image {
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 680px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.06) saturate(1.05) brightness(1.02);
  box-shadow: 
    0 120px 200px rgba(0, 0, 0, 0.9),
    0 60px 120px rgba(0, 0, 0, 0.8);
}

.product-panel-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 18px;
  padding: max(80px, 10vh) max(60px, 10vw) max(80px, 10vh) max(40px, 6vw);
  background: rgba(5, 5, 5, 0.92);
  border-left: 1px solid rgba(197, 199, 204, 0.12);
  overflow: visible;
}

.product-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.55);
}

.product-panel-category {
  color: rgba(232, 226, 216, 0.7);
}

.product-panel-ref {
  color: var(--chrome);
}

.product-panel-name {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ivory);
}

.product-panel-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--chrome);
}

.product-panel-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--chrome), transparent);
}

.product-panel-desc {
  font-family: var(--sans);
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(232, 226, 216, 0.6);
  max-width: 420px;
}

.product-panel-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-panel-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-panel-spec-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.5);
}

.product-panel-spec-text {
  font-family: var(--sans);
  font-size: clamp(11px, 1.4vw, 13px);
  color: rgba(232, 226, 216, 0.7);
  line-height: 1.6;
}

.product-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.product-panel-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(197, 199, 204, 0.35);
  padding: 14px 28px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.product-panel-btn:hover {
  border-color: var(--chrome);
  color: var(--chrome);
}

.product-panel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(197, 199, 204, 0.12);
}

.product-panel-nav-btn {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.5);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-panel-nav-btn:hover {
  color: var(--ivory);
}

@media (max-width: 1024px) {
  .product-panel-inner {
    grid-template-columns: 1fr;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .product-panel-visual {
    height: 50vh;
    min-height: 50vh;
    min-height: 50dvh;
    padding: 60px 20px 30px;
  }
  .product-panel-info {
    min-height: 0;
    padding: 30px 24px 60px;
    border-left: none;
    border-top: 1px solid rgba(197, 199, 204, 0.12);
  }
}

/* Size, colour, and per-combination stock shown on the product detail panel. */
.product-variant-picker {
  display: grid;
  gap: 18px;
  width: min(100%, 420px);
}
.product-variant-picker[hidden] { display: none; }
.product-variant-group { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.product-variant-label {
  font: 600 9px var(--sans);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(197,199,204,.62);
}
.product-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-variant-option {
  min-width: 42px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(197,199,204,.3);
  color: var(--ivory);
  font: 500 11px var(--sans);
  cursor: pointer;
}
.product-variant-option[aria-pressed="true"] { border-color: var(--chrome); background: rgba(197,199,204,.12); }
.product-variant-option:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.product-variant-option--color { display: inline-flex; align-items: center; gap: 9px; }
.product-color-chip { width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--variant-color, #555); }
.product-variant-stock { min-height: 17px; color: rgba(232,226,216,.62); font: 11px var(--sans); }
.product-variant-stock[data-state="out"] { color: #e89595; }
.product-panel-btn:disabled { opacity: .4; cursor: not-allowed; }

.color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(197, 199, 204, 0.3);
  cursor: pointer;
  background: var(--black);
}

.color-swatch--active {
  background: var(--oxblood);
  border-color: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(86, 15, 23, 0.25);
}

.color-swatch:nth-child(2) { background: var(--black); border-color: rgba(197,199,204,0.3); }
.color-swatch:nth-child(3) { background: var(--burgundy); border-color: var(--burgundy); }

.product-desc {
  font-family: var(--sans);
  font-size: clamp(13px, 2.8vw, 15px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: rgba(232, 226, 216, 0.55);
  max-width: 84%;
}

.product-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--chrome);
  border: 1px solid rgba(197, 199, 204, 0.3);
  padding: 12px 22px;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.product-discover:hover {
  border-color: var(--chrome);
  color: var(--ivory);
}

.discover-arrow {
  font-size: 10px;
  font-weight: 700;
}

/* --- About panel --- */

.about-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.about-panel.open {
  display: flex;
}

.about-inner {
  flex: 1;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow-y: auto;
}

.about-stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 64vh, 560px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(197, 199, 204, 0.1);
  background: var(--charcoal);
}

.about-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.02) saturate(0.9);
}

.about-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,5,5,0.35) 45%, var(--black) 100%);
  pointer-events: none;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.about-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(26px, 9vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ivory);
}

.about-statement {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(15px, 4vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.55;
  white-space: pre-line;
  color: rgba(232, 226, 216, 0.7);
  max-width: 88%;
}

.about-statement--two {
  max-width: 80%;
  opacity: 0.8;
}

.about-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197,199,204,0.3), transparent);
  align-self: flex-start;
}

.about-return {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--chrome);
  text-align: right;
  cursor: pointer;
  transition: color 0.3s ease;
  align-self: flex-end;
  pointer-events: auto !important;
  z-index: 100001 !important;
  padding: 10px;
}

.about-return:hover {
  color: var(--ivory);
}

/* --- Shopping bag panel --- */

.bag-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  align-items: center;
  justify-content: center;
}
.bag-panel.open {
  display: flex;
}

.bag-inner {
  flex: 1;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 34px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}

.bag-masthead {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(197, 199, 204, 0.12);
  padding-bottom: 22px;
  width: 100%;
}

.bag-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.4);
}

.bag-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(24px, 8vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ivory);
}

.bag-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.bag-empty[hidden],
.bag-items[hidden] {
  display: none;
}

.bag-items {
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
}

.bag-item {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid rgba(197, 199, 204, 0.14);
}

.bag-item-details {
  flex: 1;
  min-width: 0;
}

.bag-item-name,
.bag-item-price {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ivory);
}

.bag-item-category {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(232, 226, 216, 0.48);
}

.bag-item-remove {
  border: 0;
  padding: 8px 0 8px 8px;
  background: transparent;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(232, 226, 216, 0.55);
  cursor: pointer;
}

.bag-item-remove:hover {
  color: var(--ivory);
}

.bag-icon {
  font-size: 44px;
  color: rgba(197, 199, 204, 0.25);
}

.bag-message {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 6vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.bag-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(232, 226, 216, 0.5);
  max-width: 80%;
  line-height: 1.6;
}

.bag-return {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--chrome);
  border: 1px solid rgba(197, 199, 204, 0.3);
  padding: 12px 26px;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.bag-return:hover {
  border-color: var(--chrome);
  color: var(--ivory);
}

/* Panel entrance animations */
.panel-overlay.open .panel-close {
  animation: panelDrop 0.5s ease both;
}

@keyframes panelDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 0.55; transform: none; }
}

.menu-panel.open .menu-wordmark,
.menu-panel.open .menu-divider,
.menu-panel.open .menu-item {
  animation: menuItemReveal 0.6s ease both;
}

.menu-panel.open .menu-wordmark { animation-delay: 0.05s; }
.menu-panel.open .menu-divider { animation-delay: 0.15s; }
.menu-panel.open .menu-item:nth-child(1) { animation-delay: 0.2s; }
.menu-panel.open .menu-item:nth-child(2) { animation-delay: 0.3s; }
.menu-panel.open .menu-item:nth-child(3) { animation-delay: 0.4s; }
.menu-panel.open .menu-item:nth-child(4) { animation-delay: 0.5s; }
.menu-panel.open .menu-item:nth-child(5) { animation-delay: 0.6s; }
.menu-panel.open .menu-item:nth-child(6) { animation-delay: 0.7s; }

@keyframes menuItemReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Category Discovery */
.category-discovery {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 6;
}

.category-header {
  position: absolute;
  top: 18%;
  left: max(40px, 8vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
  z-index: 7;
}

.category-deck {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.6);
  opacity: 0;
}

.category-title {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(32px, 10vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ivory);
  opacity: 0;
}

.category-sub {
  font-family: var(--sans);
  font-size: clamp(11px, 2.2vw, 14px);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(232, 226, 216, 0.5);
  opacity: 0;
}

.category-list {
  position: absolute;
  top: 32%;
  right: max(60px, 10vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 7;
  pointer-events: auto;
}

.category-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--ivory);
  font-family: var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(197, 199, 204, 0.18);
  transition: color 0.3s ease, border-color 0.3s ease, padding-left 0.3s ease;
  opacity: 0;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.category-item:hover {
  color: var(--chrome);
  border-color: rgba(197, 199, 204, 0.45);
  padding-left: 8px;
}

.category-num {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(197, 199, 204, 0.5);
}

.category-name {
  font-weight: 400;
}

/* Chapter 03 - single product view */
.collection-header {
  position: absolute;
  top: 18%;
  left: max(40px, 8vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 7;
  pointer-events: none;
}

.collection-deck {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.6);
}

.collection-category {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(28px, 8vw, 48px);
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.product-single {
  position: absolute;
  inset: 24% 0 32% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 10vw, 120px);
  z-index: 6;
  pointer-events: auto;
}

.product-nav {
  background: transparent;
  border: none;
  color: rgba(197, 199, 204, 0.6);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-nav:hover {
  color: var(--ivory);
}

.product-single-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-single-wrap {
  width: clamp(320px, 26vw, 420px);
  height: clamp(460px, 72vh, 580px);
  border-radius: 1px;
  overflow: hidden;
  background: #000;
  box-shadow: 
    0 90px 160px rgba(0, 0, 0, 0.82),
    0 50px 100px rgba(0, 0, 0, 0.75),
    inset 0 2px 0 rgba(197, 199, 204, 0.12);
  border: 1px solid rgba(197, 199, 204, 0.18);
  z-index: 1;
}

.product-single-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.08) saturate(1.06) brightness(1.04);
}

.product-single-shadow {
  position: absolute;
  bottom: -40px;
  left: 15%;
  right: 15%;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 45%, transparent 75%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}

.product-info-single {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 7;
  pointer-events: none;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.product-info-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.product-info-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(197, 199, 204, 0.5);
}

.product-info-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 4vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.product-info-price {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.6);
}

.product-number-nav {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  z-index: 7;
  pointer-events: auto;
}

.product-num-btn {
  background: transparent;
  border: none;
  color: rgba(197, 199, 204, 0.4);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-num-btn--active {
  color: var(--ivory);
}

.collection-empty {
  position: absolute;
  inset: 40% 0 40% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.collection-empty-msg {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(197, 199, 204, 0.5);
}

.category-deck.revealed,
.category-title.revealed,
.category-sub.revealed,
.category-item.revealed {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint { animation: none !important; opacity: 0.5; }
  .swipe-arrow { animation: none !important; }
  .chrome-element { animation: none !important; opacity: 0.15; }
  .chrome-element--form { animation: none !important; opacity: 0.2; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .panel-overlay.open .menu-item,
  .panel-overlay.open .panel-close {
    animation: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .swipe-hint { animation: none !important; opacity: 0.5; }
  .swipe-arrow { animation: none !important; }
  .chrome-element { animation: none !important; opacity: 0.15; }
  .chrome-element--form { animation: none !important; opacity: 0.2; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .panel-overlay.open .menu-item,
  .panel-overlay.open .panel-close {
    animation: none !important;
  }
}

/* Admin Panel */
.admin-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(197, 199, 204, 0.6);
  border: 1px solid rgba(197, 199, 204, 0.3);
  padding: 10px 18px;
  background: rgba(5, 5, 5, 0.7);
  transition: all 0.3s ease;
}

.admin-trigger:hover {
  color: var(--ivory);
  border-color: var(--chrome);
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--black);
  display: none;
  flex-direction: column;
}

.admin-panel.open {
  display: flex;
}

.admin-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 40px;
  border-bottom: 1px solid rgba(197, 199, 204, 0.15);
}

.admin-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(197, 199, 204, 0.28);
  color: var(--ivory);
  font: 600 10px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-menu-toggle-icon,
.admin-menu-toggle-icon::before,
.admin-menu-toggle-icon::after {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
}

.admin-menu-toggle-icon { position: relative; }
.admin-menu-toggle-icon::before,
.admin-menu-toggle-icon::after { content: ""; position: absolute; left: 0; }
.admin-menu-toggle-icon::before { top: -5px; }
.admin-menu-toggle-icon::after { top: 5px; }

.admin-title-main {
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.admin-title-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(197, 199, 204, 0.6);
  margin-top: 4px;
}

.admin-close {
  width: 44px;
  height: 44px;
  position: relative;
  opacity: 0.6;
}

.admin-close::before,
.admin-close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 1px;
  background: var(--chrome);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.admin-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.admin-layout {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  min-height: 0;
}

@media (min-width: 901px) {
  .admin-layout.is-nav-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
  .admin-layout.is-nav-collapsed .admin-nav { visibility: hidden; padding-left: 0; padding-right: 0; border-right: 0; }
}

.admin-nav {
  border-right: 1px solid rgba(197, 199, 204, 0.12);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-item {
  text-align: left;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(197, 199, 204, 0.6);
  padding: 10px 16px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.admin-nav-item:hover {
  color: var(--ivory);
}

.admin-nav-item--active {
  color: var(--ivory);
  border-color: rgba(197, 199, 204, 0.3);
  background: rgba(197, 199, 204, 0.05);
}

.admin-main {
  padding: 40px;
  overflow-y: auto;
  min-width: 0;
  min-height: 0;
  overscroll-behavior: contain;
}

.admin-section {
  display: none;
}

.admin-section--active {
  display: block;
}

.admin-section-title {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 30px;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.admin-btn {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(197, 199, 204, 0.35);
  padding: 10px 20px;
  background: transparent;
}

.admin-stats {
  display: flex;
  gap: 40px;
}

.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ivory);
}

.admin-stat-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(197, 199, 204, 0.6);
}

.admin-table-wrap {
  border: 1px solid rgba(197, 199, 204, 0.15);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(197, 199, 204, 0.6);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(197, 199, 204, 0.15);
}

.admin-table td {
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ivory);
  border-bottom: 1px solid rgba(197, 199, 204, 0.08);
}

.admin-orders-table { min-width: 940px; }
.admin-order-cell { white-space: pre-line; line-height: 1.55; min-width: 150px; }
.admin-order-map-link { display: inline-block; margin-top: 7px; color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

.admin-small-btn {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(197, 199, 204, 0.7);
  border: 1px solid rgba(197, 199, 204, 0.25);
  padding: 6px 12px;
  background: transparent;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.admin-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(197, 199, 204, 0.6);
}

.admin-input {
  background: transparent;
  border: 1px solid rgba(197, 199, 204, 0.25);
  color: var(--ivory);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
}

.admin-textarea {
  background: transparent;
  border: 1px solid rgba(197, 199, 204, 0.25);
  color: var(--ivory);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  min-height: 80px;
  resize: vertical;
}

.admin-note {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(197, 199, 204, 0.5);
}

.admin-btn,
.admin-small-btn,
.admin-editor-cancel,
.admin-menu-toggle,
.admin-nav-item,
.admin-close {
  cursor: pointer;
}

.admin-btn:hover,
.admin-small-btn:hover,
.admin-editor-cancel:hover,
.admin-menu-toggle:hover {
  border-color: var(--chrome);
}

.admin-btn:focus-visible,
.admin-small-btn:focus-visible,
.admin-editor-cancel:focus-visible,
.admin-menu-toggle:focus-visible,
.admin-nav-item:focus-visible,
.admin-close:focus-visible,
.admin-input:focus-visible,
.admin-textarea:focus-visible {
  outline: 2px solid var(--chrome);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .admin-header { padding: 16px 20px; }
  .admin-menu-toggle { margin-left: auto; }
  .admin-layout { display: block; }
  .admin-nav {
    position: absolute;
    z-index: 6;
    inset: 0 auto 0 0;
    width: min(310px, calc(100vw - 48px));
    padding: 18px 14px;
    overflow-y: auto;
    border-right: 1px solid rgba(197, 199, 204, .18);
    background: #090909;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .22s ease, visibility .22s ease;
  }
  .admin-nav.is-open { transform: translateX(0); visibility: visible; }
  .admin-nav-backdrop:not([hidden]) {
    position: fixed;
    z-index: 5;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .64);
  }
  .admin-main { height: 100%; padding: 26px clamp(16px, 4vw, 30px); }
  .admin-section-header { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .admin-section-title { font-size: clamp(25px, 5vw, 32px); }
  .admin-stats { flex-wrap: wrap; gap: 24px 38px; }
}

@media (max-width: 520px) {
  .admin-header { gap: 10px; padding: 12px 14px; }
  .admin-title-main { font-size: 18px; }
  .admin-title-sub { font-size: 8px; }
  .admin-menu-toggle { min-height: 40px; padding: 0 10px; }
  .admin-menu-toggle-label { display: none; }
  .admin-close { flex: 0 0 40px; }
  .admin-main { padding: 22px 14px; }
  .admin-section-title { margin-bottom: 20px; }
  .admin-btn { max-width: 100%; padding: 10px 14px; letter-spacing: .16em; }
  .admin-form { width: 100%; }
  .admin-stats { gap: 18px 28px; }
  .admin-stat-num { font-size: 30px; }
  .admin-editor-form { padding: 18px; gap: 16px; }
  .admin-editor-actions { flex-wrap: wrap; }
}

/* Commerce administration surfaces and storefront messaging */
.admin-main { scrollbar-gutter: stable; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 14px; }
.admin-stat { min-height: 112px; justify-content: center; padding: 18px; border: 1px solid rgba(197,199,204,.14); background: rgba(255,255,255,.025); }
.admin-stat-label { letter-spacing: .16em; line-height: 1.5; }
.admin-form-actions, .admin-zone-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-campaign-form { max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding: 22px; margin-bottom: 28px; border: 1px solid rgba(197,199,204,.14); background: rgba(255,255,255,.02); }
.admin-campaign-form > label:nth-of-type(3), .admin-campaign-form > textarea, .admin-campaign-form > div { grid-column: 1 / -1; }
.admin-zone-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .8fr); gap: 24px; margin: 24px 0; }
#deliveryZoneMap { width: 100%; min-height: 390px; border: 1px solid rgba(197,199,204,.18); background: #161615; }
.admin-zone-map-actions { padding-top: 10px; }
.admin-zone-form { max-width: none; padding: 18px; border: 1px solid rgba(197,199,204,.14); background: rgba(255,255,255,.02); }
.admin-editor-checkbox input { accent-color: #c58b69; }
.admin-order-controls { display: grid; gap: 8px; min-width: 190px; }
.admin-order-status { width: 100%; min-width: 0; }
.admin-order-notes { min-height: 58px; resize: vertical; font-size: 12px; }
.admin-order-filters { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr); gap: 14px; max-width: 760px; margin: 18px 0; }
.admin-table td { vertical-align: top; }
.admin-table td .admin-small-btn { margin: 2px; }
.admin-table td:has(.admin-order-controls) { min-width: 220px; }
.storefront-global-media { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; opacity: .32; }
.storefront-global-media img, .storefront-global-media video { width: 100%; height: 100%; object-fit: cover; }
.has-storefront-global-media > :not(.storefront-global-media) { position: relative; z-index: 1; }
.storefront-notice { position: fixed; z-index: 650; color: #f1e9dd; font-family: var(--sans); box-shadow: 0 18px 60px rgba(0,0,0,.42); }
.storefront-notice--toast { top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: min(440px, calc(100vw - 36px)); padding: 20px 54px 20px 22px; border: 1px solid rgba(220,190,162,.46); background: rgba(18,17,16,.96); backdrop-filter: blur(18px); }
.storefront-notice--banner { top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 54px; border-bottom: 1px solid rgba(220,190,162,.3); background: #26201c; text-align: center; }
.storefront-notice--modal { width: min(520px, calc(100vw - 30px)); max-height: 84vh; padding: 34px; border: 1px solid rgba(220,190,162,.46); background: #121110; }
.storefront-notice--modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.storefront-notice-title { display: block; margin: 0 30px 8px 0; font-family: var(--serif); font-size: 22px; }
.storefront-notice p { margin: 0; color: rgba(241,233,221,.82); font-size: 14px; line-height: 1.6; }
.storefront-notice a { display: inline-block; margin-top: 12px; color: #f0c9aa; text-underline-offset: 4px; }
.storefront-notice-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 1px solid rgba(241,233,221,.25); color: inherit; background: transparent; font-size: 24px; cursor: pointer; }

@media (max-width: 760px) {
  .admin-zone-layout { grid-template-columns: 1fr; }
  #deliveryZoneMap { min-height: 320px; }
  .admin-campaign-form { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .admin-campaign-form > * { grid-column: 1 !important; }
  .admin-order-filters { grid-template-columns: 1fr; }
  .storefront-notice--banner { align-items: flex-start; padding: 16px 56px 16px 18px; text-align: left; }
}

/* Product detail readability and image gallery */
.product-panel-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  height: 100dvh;
}

.product-panel-visual {
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: max(78px, 9vh) clamp(24px, 5vw, 76px) 32px;
  background: radial-gradient(ellipse at center, rgba(40, 35, 33, 0.55), rgba(5, 5, 5, 0.96) 74%);
}

.product-panel-image-trigger {
  position: relative;
  width: min(100%, 650px);
  height: min(72vh, 690px);
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(232, 226, 216, 0.12);
  background: rgba(255, 255, 255, 0.025);
  cursor: zoom-in;
}

.product-panel-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: clamp(8px, 2vw, 26px);
  filter: none;
  box-shadow: none;
}

.product-image-hint {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: rgba(232, 226, 216, 0.84);
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.16em;
}

.product-panel-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(100%, 650px);
  min-height: 58px;
}

.product-panel-gallery[hidden] { display: none; }

.product-gallery-thumb {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(232, 226, 216, 0.28);
  opacity: 0.7;
  cursor: pointer;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible {
  border-color: var(--chrome);
  opacity: 1;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-panel-info {
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
  user-select: text;
  padding: max(84px, 10vh) clamp(28px, 6vw, 88px) 48px clamp(30px, 4.5vw, 64px);
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.99), rgba(5, 5, 5, 0.99));
  border-left-color: rgba(197, 199, 204, 0.18);
  overscroll-behavior: contain;
}

.product-panel-eyebrow {
  color: rgba(197, 199, 204, 0.72);
  font: 600 10px/1.5 var(--sans);
  letter-spacing: 0.22em;
}

.product-panel-meta {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(232, 226, 216, 0.8);
}

.product-panel-category { color: var(--ivory); }
.product-panel-ref { color: rgba(197, 199, 204, 0.82); }

.product-panel-name {
  max-width: 17ch;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.08;
  color: #f4efe7;
}

.product-panel-price {
  font-size: clamp(20px, 2.4vw, 26px);
  color: #e1d8ca;
}

.product-panel-availability {
  color: rgba(232, 226, 216, 0.7);
  font: 400 13px/1.65 var(--sans);
}

.product-panel-divider { margin: 2px 0; }

.product-panel-desc {
  max-width: 54ch;
  color: rgba(244, 239, 231, 0.88);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 400;
  line-height: 1.8;
}

.product-panel-section-title {
  margin-top: 6px;
  color: var(--ivory);
  font: 500 16px/1.4 var(--serif);
}

.product-panel-specs { gap: 14px; }
.product-panel-spec { gap: 5px; }
.product-panel-spec-label {
  color: rgba(197, 199, 204, 0.8);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.product-panel-spec-text {
  color: rgba(244, 239, 231, 0.9);
  font-size: 14px;
  line-height: 1.65;
}
.product-panel-actions { gap: 10px; }
.product-panel-btn {
  min-height: 48px;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.product-panel-nav-btn {
  padding: 8px 0;
  color: rgba(232, 226, 216, 0.76);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 28px 28px;
  background: rgba(0, 0, 0, 0.96);
}
.product-lightbox.open { display: flex; }
.product-lightbox > img {
  width: min(100%, 1200px);
  height: min(100%, 88vh);
  object-fit: contain;
}
.product-lightbox-close {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  padding: 8px 0;
  color: var(--ivory);
  font: 500 11px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-return {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
}
.about-return:hover,
.about-return:focus-visible { color: var(--ivory); }

.bag-checkout {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(197, 199, 204, 0.58);
  color: var(--ivory);
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.bag-checkout[hidden] { display: none; }
.bag-checkout:hover,
.bag-checkout:focus-visible { border-color: var(--ivory); color: var(--chrome); }

@media (max-width: 1024px) {
  .product-panel-inner {
    display: block;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .product-panel-visual {
    height: auto;
    min-height: 0;
    padding: max(76px, 10vh) 22px 18px;
  }
  .product-panel-image-trigger {
    width: min(100%, 680px);
    height: min(54vh, 560px);
    min-height: 250px;
  }
  .product-panel-info {
    min-height: auto;
    padding: 30px 28px max(54px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(197, 199, 204, 0.18);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .product-panel-visual { padding: max(70px, 9vh) 14px 14px; }
  .product-panel-image-trigger { height: 42vh; min-height: 230px; }
  .product-panel-info { gap: 14px; padding: 24px 20px 44px; }
  .product-panel-name { font-size: clamp(32px, 10vw, 44px); }
  .product-panel-desc { font-size: 15px; }
  .product-panel-actions { margin-top: 4px; }
  .product-panel-nav { margin-top: 8px; padding-top: 14px; }
  .product-lightbox { padding: 64px 12px 18px; }
  .bag-inner { justify-content: flex-start; padding-top: max(72px, env(safe-area-inset-top)); }
}

@media (max-width: 768px) {
  .nav-btn {
    z-index: 50 !important;
    pointer-events: auto !important;
  }
  .nav-btn--prev {
    left: 12px !important;
  }
  .nav-btn--next {
    right: 12px !important;
  }
  .nav-item {
    z-index: 50 !important;
    pointer-events: auto !important;
  }
  .menu-panel,
  .about-panel,
  .bag-panel {
    z-index: 200 !important;
  }
  .menu-item,
  .about-close,
  .bag-close {
    pointer-events: auto !important;
    z-index: 210 !important;
  }
}
@media (max-width: 640px) {
  .category-header {
    top: 16%;
    left: 16px;
  }
  .category-list {
    top: 28%;
    right: 16px;
    gap: 8px;
  }
  .category-item {
    font-size: 11px;
    gap: 16px;
  }
  .collection-header {
    top: 16%;
    left: 16px;
  }
  .product-single {
    inset: 28% 0 38% 0;
    gap: 16px;
  }
  .product-nav {
    font-size: 8px;
  }
  .product-single-wrap {
    width: clamp(240px, 62vw, 300px);
    height: clamp(340px, 48vh, 420px);
  }
  .product-number-nav {
    bottom: 14%;
    gap: 12px;
  }
}

/* Mobile - floating exhibition */
@media (max-width: 520px) {
  .float-stage {
    inset: 18% 0 26% 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(60px, 16vh, 100px);
    padding: 0 12px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .float-item {
    width: 100%;
    align-items: center;
    transform: none;
    scroll-snap-align: start;
  }
  .float-item--handbag,
  .float-item--shoe,
  .float-item--accessory {
    transform: none;
  }
  .float-wrap {
    width: clamp(220px, 70vw, 290px);
    height: clamp(320px, 52vh, 400px);
  }
  .float-img--handbag { transform: scale(1.16); }
  .float-img--shoe { transform: scale(1.22); }
  .float-img--accessory { transform: scale(1.28); }
}

/* Very short viewports */
@media (max-height: 600px) {
  .float-item { height: clamp(280px, 56vh, 380px); }
  .product-stage { height: clamp(260px, 50vh, 400px); }
  .about-stage { height: clamp(260px, 50vh, 400px); }
  .form-editorial { bottom: 8%; }
  .object-editorial { bottom: 6%; }
  .object-macro--one { width: 48vw; height: 36vw; top: 10%; }
  .object-macro--two { width: 44vw; height: 34vw; top: 54%; }
}
