@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&display=swap');

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

body {
  background: #faf8f4;
  font-family: 'JetBrains Mono', monospace;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

body.scrollable { overflow: auto; }

/* --- Custom cursor --- */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease;
}
.custom-cursor.hover {
  width: 20.4px; height: 20.4px;
  margin: -10.2px 0 0 -10.2px;
  background: #FF5A2C;
  mix-blend-mode: normal;
}
.custom-cursor.hover-brand {
  mix-blend-mode: difference;
}

/* --- Header (NieR-style) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 10px;
  pointer-events: none;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header > * { pointer-events: auto; }
.monogram { height: 36px; width: auto; }
.logo { height: 15px; width: auto; }
.header-spacer { flex: 1; }

/* --- Language dropdown --- */
.lang-dropdown {
  position: relative;
  margin-right: 10px;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  background: rgba(26,26,26,0.06);
  color: rgba(26,26,26,0.6);
  border: 1px solid rgba(26,26,26,0.08);
  transition: all 0.25s;
}
.lang-current::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3.5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s;
}
.lang-dropdown.open .lang-current::after {
  transform: rotate(180deg);
}
.lang-current:hover {
  color: #1a1a1a;
  background: rgba(26,26,26,0.1);
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 100%;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26,26,26,0.1);
  z-index: 100;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.lang-dropdown.open .lang-menu {
  display: flex;
}
.lang-option {
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  background: transparent;
  color: rgba(26,26,26,0.5);
  border: none;
  text-align: left;
  transition: all 0.15s;
  white-space: nowrap;
}
.lang-option:hover:not(.disabled) {
  color: #1a1a1a;
  background: rgba(26,26,26,0.06);
}
.lang-option.active {
  color: #1a1a1a;
  font-weight: 500;
}
.lang-option.disabled {
  opacity: 0.25;
  pointer-events: none;
  cursor: none;
}
.lang-divider {
  height: 1px;
  background: rgba(26,26,26,0.08);
  margin: 2px 0;
}

.nav {
  display: flex;
  gap: 0;
}
.nav a {
  padding: 6px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
  background: rgba(26,26,26,0.06);
  color: rgba(26,26,26,0.4);
  border: none;
  border-left: 1px solid rgba(26,26,26,0.08);
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.nav a:first-child { border-left: none; }
.nav a:hover {
  color: #1a1a1a;
  background: rgba(26,26,26,0.1);
}
.nav a.disabled {
  opacity: 0.25;
  pointer-events: none;
  cursor: none;
}
.nav a.active {
  background: rgba(26,26,26,0.85);
  color: #faf8f4;
}

/* --- Store hero --- */
.store-hero {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  height: min(6vw, 60px);
  width: auto;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.store-hero.visible { opacity: 1; }
.store-hero.on-scene {
  mix-blend-mode: difference;
  filter: invert(1);
  transition: opacity 0.5s ease;
}
.store-hero.in-flow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  mix-blend-mode: normal;
  filter: none;
  opacity: 1;
  pointer-events: none;
  transition: top 0.4s ease, transform 0.4s ease;
}
.store-hero.in-flow.pinned-top {
  top: 16px;
  transform: translate(-50%, 0);
  height: min(3vw, 30px);
}

/* --- 3D light panel --- */
#panel3d {
  display: none;
  position: fixed;
  right: 16px;
  top: 70px;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1a1a1a;
  padding: 12px 14px;
  border: 1px solid rgba(26,26,26,0.12);
  font-size: 10px;
  z-index: 20;
  width: 220px;
}
#panel3d h3 {
  margin: 0 0 6px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
  border-bottom: 1px solid rgba(26,26,26,0.1);
  padding-bottom: 4px;
}
#panel3d label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  color: rgba(26,26,26,0.6);
  white-space: nowrap;
}
#panel3d label input[type=range] { flex: 1; min-width: 0; }
#panel3d label span { color: #1a1a1a; font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
#panel3d .panel-section { margin-top: 10px; }
#panel3d .btn-exp {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 6px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(26,26,26,0.15);
  background: transparent;
  color: rgba(26,26,26,0.5);
  cursor: none;
  transition: all 0.2s;
}
#panel3d .btn-exp:hover { background: rgba(26,26,26,0.06); color: #1a1a1a; }
#panel3d .btn-exp.active { background: #1a1a1a; color: #faf8f4; border-color: #1a1a1a; }

/* --- Range sliders (NieR-style segmented bars) --- */
input[type=range] {
  --val: 0.5;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: none;
  height: 14px;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 14px;
  border: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(26,26,26,0.65) 0px, rgba(26,26,26,0.65) 2px,
      transparent 2px, transparent 5px
    ) 0 0 / calc(var(--val) * 100%) 100% no-repeat,
    repeating-linear-gradient(
      90deg,
      rgba(26,26,26,0.15) 0px, rgba(26,26,26,0.15) 1px,
      transparent 1px, transparent 5px
    ) 0 0 / 100% 100%;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 3px;
  height: 14px;
  border-radius: 0;
  background: #1a1a1a;
  border: none;
  box-shadow: -1px 0 0 rgba(250,248,244,0.6), 1px 0 0 rgba(250,248,244,0.6);
}
input[type=range]::-moz-range-track {
  height: 14px;
  border: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(26,26,26,0.15) 0px, rgba(26,26,26,0.15) 1px,
      transparent 1px, transparent 5px
    );
}
input[type=range]::-moz-range-progress {
  height: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(26,26,26,0.65) 0px, rgba(26,26,26,0.65) 2px,
      transparent 2px, transparent 5px
    );
}
input[type=range]::-moz-range-thumb {
  width: 3px;
  height: 14px;
  border-radius: 0;
  background: #1a1a1a;
  border: none;
  box-shadow: -1px 0 0 rgba(250,248,244,0.6), 1px 0 0 rgba(250,248,244,0.6);
}

/* --- Triangle overlay --- */
#triangleOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 6;
  display: none;
  will-change: opacity;
}

/* --- Store section --- */
.store-section {
  display: none;
  width: 100%;
  min-height: 100vh;
  padding: 40px 5vw 80px;
  position: relative;
  z-index: 5;
  background: transparent;
}
.store-section.visible { display: block; }

.store-spacer {
  height: 100vh;
  pointer-events: none;
}

/* --- Coming soon (NieR card style) --- */
.store-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 7;
}
.coming-soon-card {
  background: rgba(250,248,244,0.88);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(26,26,26,0);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  transform-origin: center center;
  transform: scaleY(0.04);
  opacity: 0;
  will-change: transform, opacity;
}
.coming-soon-card.nier-animate {
  animation: nier-card-expand 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.coming-soon-card.nier-collapse {
  animation: nier-card-collapse 0.35s cubic-bezier(0.7, 0, 0.84, 0) both;
}
.coming-soon-header {
  background: rgba(26,26,26,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: rgba(250,248,244,0.85);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(26,26,26,0.12);
  position: relative;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.coming-soon-close {
  background: none;
  border: none;
  color: rgba(250,248,244,0.5);
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  cursor: none;
  transition: color 0.15s;
}
.coming-soon-close:hover { color: rgba(250,248,244,0.9); }
.nier-animate .coming-soon-header {
  animation: nier-body-reveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.coming-soon-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(250,248,244,0.04) 50%,
    transparent 50.5%,
    transparent 100%
  );
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0;
}
.nier-animate .coming-soon-header::after {
  animation: nier-scanlines 0.15s steps(2) 0.35s 3;
}
.coming-soon-body {
  padding: 24px 24px 20px;
  opacity: 0;
  transform: translateY(6px);
}
.nier-animate .coming-soon-body {
  animation: nier-body-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.coming-soon-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.coming-soon-text {
  font-size: 10px;
  font-weight: 300;
  color: rgba(26,26,26,0.5);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0;
}

/* NieR-style keyframes */
@keyframes nier-card-expand {
  0% {
    transform: scaleY(0.04);
    opacity: 0;
    border-color: rgba(26,26,26,0);
  }
  30% {
    transform: scaleY(0.04);
    opacity: 1;
    border-color: rgba(26,26,26,0.2);
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
    border-color: rgba(26,26,26,0.12);
  }
}
@keyframes nier-header-slide {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes nier-body-reveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes nier-scanlines {
  0% { opacity: 0.6; }
  50% { opacity: 0; }
  100% { opacity: 0.4; }
}
@keyframes nier-card-collapse {
  0% {
    transform: scaleY(1);
    opacity: 1;
    border-color: rgba(26,26,26,0.12);
  }
  70% {
    transform: scaleY(0.04);
    opacity: 1;
    border-color: rgba(26,26,26,0.2);
  }
  100% {
    transform: scaleY(0.04);
    opacity: 0;
    border-color: rgba(26,26,26,0);
  }
}

.store-grid {
  display: none;
}

.store-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(26,26,26,0.12);
  transition: border-color 0.3s;
  background: rgba(250,248,244,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: none;
}
.store-card:hover { border-color: #FF5A2C; }
.store-card .card-visual {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(26,26,26,0.08);
}
.store-card .card-visual img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  opacity: 0.35;
}
.store-card .card-info {
  width: 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
}
.store-card .card-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(26,26,26,0.35);
  font-weight: 400;
  border-bottom: 1px solid rgba(26,26,26,0.08);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.store-card .card-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.store-card .card-desc {
  font-size: 10px;
  font-weight: 300;
  color: rgba(26,26,26,0.5);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 16px;
}
.store-card .card-divider {
  border: none;
  border-top: 1px solid rgba(26,26,26,0.08);
  margin: 0 0 16px;
}
.store-card .card-price {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.store-card .card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(26,26,26,0.08);
}
.store-card .card-actions button {
  flex: 1;
  padding: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  transition: opacity 0.2s;
  opacity: 1;
}
.store-card .card-actions button:hover { opacity: 0.8; }
.store-card .btn-details {
  background: #1a1a1a;
  color: #faf8f4;
}
.store-card .btn-cart {
  background: #FF5A2C;
  color: #faf8f4;
}

/* --- Footer (NieR-style) --- */
.store-footer {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(250,248,244,0.6);
  margin: 80px -5vw 0;
  padding: 0;
  position: relative;
  z-index: 11;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 200px 0 200px rgba(26,26,26,0.92);
  border-top: 2px solid rgba(250,248,244,0.1);
}
.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 60px;
  border-bottom: 1px solid rgba(250,248,244,0.06);
  box-shadow: 0 1px 0 0 rgba(250,248,244,0.03);
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-wrap .footer-monogram {
  height: 32px; width: auto;
  filter: invert(1);
}
.footer-logo-wrap .footer-logo {
  height: 14px; width: auto;
  filter: invert(1);
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(250,248,244,0.06);
  box-shadow: 0 1px 0 0 rgba(250,248,244,0.03);
}
.footer-section {
  padding: 40px 40px;
  border-right: 1px solid rgba(250,248,244,0.06);
}
.footer-section:last-child { border-right: none; }
.footer-section h3 {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(250,248,244,0.3);
  margin-bottom: 20px;
  font-weight: 400;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(250,248,244,0.06);
  box-shadow: 0 1px 0 0 rgba(250,248,244,0.03);
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  line-height: 1.6;
}
.footer-info a {
  color: rgba(250,248,244,0.5);
  text-decoration: none;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-info a:hover { color: rgba(250,248,244,0.9); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(250,248,244,0.2);
}
.footer-bottom-links {
  display: flex;
  gap: 40px;
}
.footer-bottom-links a {
  color: rgba(250,248,244,0.2);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-bottom-links a:hover { color: rgba(250,248,244,0.7); }
.back-to-top {
  color: rgba(250,248,244,0.3);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  transition: all 0.25s;
}
.back-to-top:hover {
  transform: translateY(-2px);
  color: rgba(250,248,244,0.7);
}

/* --- Loading screen --- */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #faf8f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
.loader-overlay.fade-out { opacity: 0; pointer-events: none; }
.loader-spheres {
  position: relative;
  width: 160px; height: 160px;
}
.loader-spheres .sp {
  position: absolute;
  border-radius: 50%;
  background: #1a1a1a;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.loader-spheres .sp.sp-big { width: 52px; height: 52px; }
.loader-spheres .sp.sp-med {
  width: 38px; height: 38px;
  background: transparent;
  border: 5px solid #1a1a1a;
}
.loader-spheres .sp.sp-sm  { width: 20px; height: 20px; }

/* --- Header store SVG (mobile only) --- */
.header-store-svg {
  display: none;
  height: 14px;
  width: auto;
}

/* --- Coming soon overlay (shared desktop + mobile) --- */
.coming-soon-overlay {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
  width: 80%;
  max-width: 320px;
}
.coming-soon-overlay.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Product detail modal (NieR-style) --- */
.pdp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26,26,26,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.pdp-overlay.visible,
.pdp-overlay.closing {
  display: flex;
}
.pdp-card {
  background: rgba(250,248,244,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(26,26,26,0.12);
  width: 100%;
  max-width: 840px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: center center;
  transform: scaleY(0.04);
  opacity: 0;
}
.pdp-overlay.visible .pdp-card {
  animation: nier-card-expand 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pdp-overlay.closing {
  animation: pdp-fade-out 0.35s ease both;
}
@keyframes pdp-fade-out {
  to { background: rgba(26,26,26,0); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
}
.pdp-overlay.closing .pdp-card {
  animation: nier-card-collapse 0.35s cubic-bezier(0.7, 0, 0.84, 0) both;
}
.pdp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26,26,26,0.75);
  color: rgba(250,248,244,0.85);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(26,26,26,0.12);
  opacity: 0;
}
.pdp-overlay.visible .pdp-header {
  animation: nier-body-reveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.pdp-close {
  background: none;
  border: none;
  color: rgba(250,248,244,0.6);
  font-size: 18px;
  cursor: none;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.15s;
}
.pdp-close:hover { color: #faf8f4; }
.pdp-body {
  display: flex;
  flex: 1;
  min-height: 0;
  opacity: 0;
}
.pdp-overlay.visible .pdp-body {
  animation: nier-body-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.pdp-gallery {
  width: 50%;
  overflow-y: auto;
  border-right: 1px solid rgba(26,26,26,0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pdp-gallery img {
  width: 100%;
  display: block;
  border-bottom: 1px solid rgba(26,26,26,0.06);
}
.pdp-info {
  width: 50%;
  padding: 28px 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.pdp-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(26,26,26,0.35);
  border-bottom: 1px solid rgba(26,26,26,0.08);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.pdp-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.pdp-desc {
  font-size: 10px;
  font-weight: 300;
  color: rgba(26,26,26,0.5);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin: 0 0 4px;
}
.pdp-divider {
  border: none;
  border-top: 1px solid rgba(26,26,26,0.08);
  margin: 16px 0;
}
.pdp-sizes-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(26,26,26,0.35);
  margin-bottom: 8px;
}
.pdp-sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.pdp-size {
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(26,26,26,0.15);
  background: transparent;
  color: rgba(26,26,26,0.6);
  cursor: none;
  transition: all 0.15s;
}
.pdp-size:hover { border-color: rgba(26,26,26,0.4); color: #1a1a1a; }
.pdp-size.active { background: #1a1a1a; color: #faf8f4; border-color: #1a1a1a; }
.pdp-price {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.pdp-cart-btn {
  width: 100%;
  padding: 12px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #FF5A2C;
  color: #faf8f4;
  border: none;
  cursor: none;
  transition: opacity 0.2s;
  margin-top: auto;
}
.pdp-cart-btn:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .pdp-overlay { padding: 0; }
  .pdp-card { max-width: 100%; max-height: 100vh; border: none; }
  .pdp-body { flex-direction: column; }
  .pdp-gallery { width: 100%; max-height: 40vh; border-right: none; border-bottom: 1px solid rgba(26,26,26,0.08); }
  .pdp-info { width: 100%; }
}

/* --- Debug panel --- */
#debugPanel {
  display: none;
  position: fixed;
  left: 16px;
  top: 70px;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(250,248,244,0.7);
  padding: 12px 14px;
  border: 1px solid rgba(250,248,244,0.12);
  font-size: 10px;
  z-index: 20;
  width: 200px;
  font-family: 'JetBrains Mono', monospace;
}
#debugPanel h3 {
  margin: 0 0 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: #FF5A2C;
  border-bottom: 1px solid rgba(250,248,244,0.1);
  padding-bottom: 4px;
}
#debugPanel button {
  display: block;
  width: 100%;
  padding: 5px 0;
  margin: 4px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(250,248,244,0.15);
  background: transparent;
  color: rgba(250,248,244,0.6);
  cursor: none;
  transition: all 0.15s;
}
#debugPanel button:hover {
  background: rgba(250,248,244,0.1);
  color: #faf8f4;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-content { grid-template-columns: 1fr; }
  .footer-section {
    border-right: none;
    border-bottom: 1px solid rgba(250,248,244,0.08);
  }
  .footer-section:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  * { cursor: auto; }
  .custom-cursor { display: none; }
  .header .monogram,
  .header .logo { display: none !important; }
  .header-store-svg {
    display: inline-block;
  }
  .lang-dropdown {
    margin-right: 6px;
  }
  .lang-current {
    padding: 5px 8px;
    font-size: 8px;
  }
  #panel3d { display: none !important; }

  .store-hero { display: none !important; }

  .coming-soon-overlay.visible { display: flex; flex-direction: column; align-items: center; }

  .store-coming-soon { display: none !important; }

  .store-hero.in-flow.pinned-top {
    height: min(5vw, 24px);
  }

  .footer-main { padding: 60px 20px 80px; }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 40px 20px;
  }
  .footer-bottom-links { gap: 20px; }
}
