@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #faf8f5;
  --bg-secondary: #f3efe9;
  --bg-card: #ffffff;
  --text-main: #242220;
  --text-muted: #6e6b66;
  --text-light: #9c9891;
  --border-light: #e4dfd7;
  --btn-primary-bg: #272422;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #eae5dc;
  --btn-secondary-text: #272422;
  --accent-warm: #946f51;
  --success-color: #276332;
  --success-bg: #eaf5eb;
  --error-color: #a32222;
  --error-bg: #fde8e8;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-sans);
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-bg);
}

.btn-outline {
  background-color: transparent;
  color: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--btn-primary-bg);
  border-color: #ffffff;
}

.btn-block {
  display: block;
  width: 100%;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 6px 0;
}

.nav-link.active {
  font-weight: 700;
  border-bottom: 2px solid var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon-btn {
  position: relative;
  font-size: 1.25rem;
  color: var(--text-main);
  padding: 6px;
  display: flex;
  align-items: center;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: var(--accent-warm);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 82%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1200;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
  padding: 24px 20px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.mobile-drawer.open {
  display: flex;
}

.drawer-close-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.drawer-close-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-warm);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav-list li {
  width: 100%;
}

.drawer-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
  user-select: none;
}

.drawer-nav-link:hover {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

.drawer-nav-link:active {
  transform: scale(0.98);
}

.drawer-nav-link.active,
.drawer-nav-link.highlighted {
  background-color: var(--btn-primary-bg);
  color: #ffffff !important;
  font-weight: 700;
  border-color: var(--btn-primary-bg);
  box-shadow: 0 4px 14px rgba(39, 36, 34, 0.2);
}

.drawer-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1199;
}

.drawer-backdrop.open {
  display: block;
}

/* ==========================================================================
   Hero Section - Architectural Spatial Studio Showcase (Zero-Blur Architecture)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 0 64px;
  overflow: hidden;
  background-color: #f7f4ee;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-main);
}

/* Atmospheric Ambient Depth & Volumetric Glow (Light Studio Theme) */
.hero-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 65% 55% at 75% 45%, rgba(228, 218, 206, 0.7) 0%, rgba(247, 244, 238, 0.92) 70%, #f7f4ee 100%),
    linear-gradient(135deg, #fcfbfa 0%, #f3eee6 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: 5%;
  background: radial-gradient(circle, rgba(216, 180, 141, 0.3) 0%, rgba(216, 180, 141, 0.08) 65%, transparent 100%);
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 380px;
  height: 380px;
  bottom: -60px;
  left: 10%;
  background: radial-gradient(circle, rgba(200, 175, 145, 0.25) 0%, rgba(200, 175, 145, 0.05) 65%, transparent 100%);
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
  100% { transform: translate(25px, -25px) scale(0.95); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -30px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.9); }
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 75%);
}

.hero-layout-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Top Studio Status Bar */
.hero-studio-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.studio-pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #276332;
  box-shadow: 0 0 0 0 rgba(39, 99, 50, 0.7);
  animation: pulseBeacon 2.2s infinite;
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(39, 99, 50, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(39, 99, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 99, 50, 0); }
}

.studio-badge-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-main);
}

.studio-badge-sep {
  color: rgba(0, 0, 0, 0.25);
  font-size: 0.7rem;
}

.studio-badge-note {
  font-size: 0.75rem;
  color: var(--accent-warm);
  font-weight: 600;
}

.hero-coordinate-readout {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.coord-label {
  color: var(--text-light);
}

.coord-val {
  color: var(--accent-warm);
  font-weight: 700;
  min-width: 32px;
}

.coord-sep {
  color: rgba(0, 0, 0, 0.15);
}

/* Two-Column Showcase Split */
.hero-showcase-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* Narrative Panel (Zero Blur Guarantee: pure 2D layout, crisp typography) */
.hero-narrative-panel {
  position: relative;
  z-index: 3;
  color: var(--text-main);
  transform: none !important;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-warm);
  font-weight: 700;
  background-color: rgba(148, 111, 81, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 111, 81, 0.25);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1.14;
  color: var(--text-main);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-summary {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px -4px rgba(148, 111, 81, 0.35);
  transition: all 0.3s ease;
}

.hero-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(148, 111, 81, 0.5);
}

.hero-btn-sub {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.hero-btn-sub:hover {
  background-color: #f7f4ee;
  border-color: #cfc6b8;
  transform: translateY(-2px);
}

/* Material & Finish Switcher */
.hero-finish-picker {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.finish-picker-title {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-warm);
  font-weight: 700;
  margin-bottom: 12px;
}

.finish-options-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.finish-option-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
  font-family: inherit;
}

.finish-option-chip:hover {
  background: #faf8f5;
  border-color: rgba(148, 111, 81, 0.4);
  transform: translateY(-1px);
}

.finish-option-chip.active {
  background: rgba(148, 111, 81, 0.08);
  border-color: var(--accent-warm);
  box-shadow: 0 0 10px rgba(148, 111, 81, 0.15);
}

.chip-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swatch-boucle {
  background: radial-gradient(circle, #5298c4 0%, #2b678e 100%);
}

.swatch-oak {
  background: linear-gradient(135deg, #c9a77c 0%, #ad8a5e 100%);
}

.swatch-walnut {
  background: linear-gradient(135deg, #5b3e2b 0%, #3e2719 100%);
}

.chip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  overflow: hidden;
}

.chip-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-shade {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Specs Bar */
.hero-spatial-specs {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 22px;
}

.hero-spec-pill {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-warm);
  font-weight: 700;
  margin-bottom: 2px;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-spec-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Right Column: 360° Rotating Cubical Dice Product Showcase (Zero-Blur Geometry)
   ========================================================================== */

:root {
  --cube-size: 290px;
  --cube-half: 145px;
}

@media (min-width: 1200px) {
  :root {
    --cube-size: 310px;
    --cube-half: 155px;
  }
}

@media (max-width: 600px) {
  :root {
    --cube-size: 240px;
    --cube-half: 120px;
  }
}

@media (max-width: 380px) {
  :root {
    --cube-size: 210px;
    --cube-half: 105px;
  }
}

.hero-stage-arena {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

/* Ambient Stage Lighting Halo */
.cube-stage-halo {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 141, 0.32) 0%, rgba(200, 175, 140, 0.12) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.cube-showcase-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Perspective Stage Viewport */
.cube-viewport {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  margin: 36px auto 28px;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
}

.cube-viewport:active {
  cursor: grabbing;
}

/* 360° Rotating Cubical Dice Object */
.cube-dice-object {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(-15deg) rotateY(0deg) rotateZ(0deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cube-dice-object.auto-spin {
  animation: spinDice360 20s linear infinite;
}

.cube-dice-object.auto-spin:hover,
.cube-dice-object.paused {
  animation-play-state: paused !important;
}

@keyframes spinDice360 {
  0% {
    transform: rotateX(-15deg) rotateY(0deg) rotateZ(0deg);
  }
  50% {
    transform: rotateX(12deg) rotateY(180deg) rotateZ(2deg);
  }
  100% {
    transform: rotateX(-15deg) rotateY(360deg) rotateZ(0deg);
  }
}

/* Individual Cubical Dice Faces (Zero-Blur Architecture) */
.cube-face {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cube-size);
  height: var(--cube-size);
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 24px 48px -10px rgba(45, 35, 25, 0.22),
    0 8px 20px -4px rgba(45, 35, 25, 0.12),
    inset 0 0 0 1px rgba(216, 180, 141, 0.25);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 6 Faces Transforms based on Cube Half-Size */
.cube-face-front {
  transform: rotateY(0deg) translateZ(var(--cube-half));
}

.cube-face-right {
  transform: rotateY(90deg) translateZ(var(--cube-half));
}

.cube-face-back {
  transform: rotateY(180deg) translateZ(var(--cube-half));
}

.cube-face-left {
  transform: rotateY(-90deg) translateZ(var(--cube-half));
}

.cube-face-top {
  transform: rotateX(90deg) translateZ(var(--cube-half));
}

.cube-face-bottom {
  transform: rotateX(-90deg) translateZ(var(--cube-half));
}

/* Face Image (High-Resolution Texture, Zero Blur) */
.cube-face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.4s ease;
}

.cube-face:hover .cube-face-img {
  transform: scale(1.04);
}

/* Face Overlay with Product Details & Dice Pip Badge */
.cube-face-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.55) 0%, transparent 40%, rgba(14, 12, 10, 0.88) 100%);
  pointer-events: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
}

/* Dice Pip / Phase Marker */
.cube-pip-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(18, 16, 14, 0.88);
  border: 1px solid rgba(216, 180, 141, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d8b48d;
  box-shadow: 0 0 6px rgba(216, 180, 141, 0.8);
  display: inline-block;
}

.pip-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ede9e3;
  margin-left: 2px;
}

/* Product Info Text inside Face */
.cube-face-info {
  line-height: 1.25;
}

.cube-face-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #d8b48d;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.cube-face-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.cube-face-price {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-block;
}

/* Quick Action Arrow Link */
.cube-face-action {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #171513;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cube-face-action:hover {
  background: #d8b48d;
  color: #ffffff;
  transform: scale(1.1);
}

/* Realistic Ground Shadow under Cube */
.cube-floor-shadow {
  position: absolute;
  bottom: -46px;
  width: calc(var(--cube-size) * 1.15);
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(40, 30, 20, 0.28) 0%, rgba(40, 30, 20, 0.10) 48%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  transform: rotateX(75deg);
  animation: shadowPulse 20s linear infinite;
}

@keyframes shadowPulse {
  0%, 100% {
    transform: rotateX(75deg) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: rotateX(75deg) scale(1.08);
    opacity: 0.95;
  }
}

/* Controls Dock below Cube */
.cube-controls-dock {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 440px;
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cube-phase-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 5px 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  max-width: 100%;
}

.cube-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.cube-tab-btn span:first-child {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-warm);
}

.cube-tab-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
}

.cube-tab-btn.active {
  background: var(--text-main);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.cube-tab-btn.active span:first-child {
  color: #e5c29b;
}

.cube-play-dock {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cube-spin-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cube-spin-toggle-btn i {
  font-size: 0.7rem;
  color: var(--accent-warm);
}

.cube-spin-toggle-btn:hover {
  background: #f7f4ee;
  border-color: #cfc6b8;
  transform: translateY(-1px);
}

.cube-guidance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cube-guidance-pill i {
  font-size: 0.68rem;
  color: var(--accent-warm);
}

.section-padding {
  padding: 72px 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-content: center;
}

.category-card {
  background-color: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.category-card-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: #ede9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card-body {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.category-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.category-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-content: center;
}

.product-grid-shop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  justify-content: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-card-link {
  display: block;
  text-align: center;
}

.product-card-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #ede9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-content {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.product-card-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-card-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.45;
  flex-grow: 1;
}

.editorial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.editorial-image-wrap {
  width: 100%;
  height: 440px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ede9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editorial-content {
  text-align: left;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  margin-bottom: 16px;
  line-height: 1.25;
}

.editorial-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
}

.room-card {
  position: relative;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ede9e1;
}

.room-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.room-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 23, 20, 0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 16px;
  text-align: center;
}

.room-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.room-card-btn-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 2px;
}

.newsletter-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.newsletter-box {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.form-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: #ffffff;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
}

.form-input:focus {
  border-color: var(--btn-primary-bg);
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: #ffffff;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
  min-height: 130px;
  resize: vertical;
}

.form-textarea:focus {
  border-color: var(--btn-primary-bg);
}

.form-message {
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-radius: 4px;
  display: none;
  text-align: center;
}

.form-message.success {
  display: block;
  background-color: var(--success-bg);
  color: var(--success-color);
  border: 1px solid #b7dfb9;
}

.form-message.error {
  display: block;
  background-color: var(--error-bg);
  color: var(--error-color);
  border: 1px solid #f6b6b6;
}

.site-footer {
  background-color: #1f1d1b;
  color: #c9c5bd;
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #a39e94;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: #a39e94;
}

.footer-contact-item {
  font-size: 0.9rem;
  color: #a39e94;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-list {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #2e2a27;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #2e2a27;
  padding-top: 24px;
  text-align: left;
  font-size: 0.85rem;
  color: #7d7870;
}

.page-header-section {
  background-color: var(--bg-secondary);
  padding: 56px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.page-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.shop-category-block {
  margin-bottom: 64px;
}

.shop-category-header {
  text-align: center;
  margin-bottom: 28px;
}

.shop-category-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.categories-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-content: center;
}

.directory-card {
  background-color: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.directory-card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #ede9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.directory-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.directory-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.directory-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.directory-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.about-editorial-grid.reverse {
  direction: rtl;
}

.about-editorial-grid.reverse .about-text-wrap {
  direction: ltr;
}

.about-img-wrap {
  width: 100%;
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ede9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-text-wrap {
  text-align: left;
  padding: 10px;
}

.about-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-paragraph {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.value-card {
  background-color: #ffffff;
  padding: 32px 24px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  text-align: center;
}

.value-icon {
  font-size: 2rem;
  color: var(--accent-warm);
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.contact-info-panel {
  background-color: #ffffff;
  padding: 36px 30px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-info-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.55;
}

.contact-block {
  margin-bottom: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-block-icon {
  font-size: 1.5rem;
  color: var(--accent-warm);
  margin-bottom: 8px;
}

.contact-block-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-block-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-form-panel {
  background-color: #ffffff;
  padding: 36px 30px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}

.contact-form-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

.cart-table-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table thead {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.cart-table th {
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background-color: #ede9e1;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  padding: 2px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.cart-item-size {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: #ffffff;
}

.qty-btn {
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-main);
}

.qty-val {
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #a84242;
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
}

.cart-summary-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 24px;
}

.summary-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.empty-cart-view {
  text-align: center;
  padding: 64px 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
}

.empty-cart-icon {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-cart-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.empty-cart-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.detail-image-box {
  width: 100%;
  height: 520px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: #ede9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info-box {
  display: flex;
  flex-direction: column;
}

.detail-category {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 8px;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

.detail-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.detail-option-group {
  margin-bottom: 20px;
}

.detail-option-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.size-select-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: #ffffff;
  font-family: var(--font-sans);
  color: var(--text-main);
}

.detail-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.detail-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  height: 48px;
  background-color: #ffffff;
}

.detail-qty-btn {
  background: none;
  border: none;
  width: 40px;
  height: 100%;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-main);
}

.detail-qty-input {
  width: 44px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  outline: none;
}

.detail-add-btn {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
}

.detail-perks-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.detail-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.detail-perk-item:last-child {
  margin-bottom: 0;
}

.detail-perk-icon {
  color: var(--accent-warm);
  font-size: 1rem;
}

.specs-section {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 36px 32px;
}

.specs-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 24px;
  text-align: center;
}

.specs-table {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.specs-table td:first-child {
  font-weight: 600;
  width: 35%;
  color: var(--text-main);
  background-color: var(--bg-secondary);
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.feedback-banner {
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
  text-align: center;
}

.feedback-banner.success {
  display: block;
  background-color: var(--success-bg);
  color: var(--success-color);
  border: 1px solid #b7dfb9;
}

@media (max-width: 1024px) {
  .hero-showcase-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-narrative-panel {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-studio-badge-bar {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-spatial-specs {
    justify-content: center;
  }
  .finish-picker-title {
    text-align: center;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .categories-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .hero-section {
    display: block;
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    padding: 24px 0 40px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero-layout-container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-showcase-split {
    grid-template-columns: 100%;
    width: 100%;
    max-width: 100%;
    gap: 28px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-narrative-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-kicker {
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-headline {
    width: 100%;
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.18;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  .hero-summary {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .hero-cta-group {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-finish-picker {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }
  .finish-options-list {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    box-sizing: border-box;
  }
  .finish-option-chip {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-spatial-specs {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
  }
  .hero-spec-divider {
    display: none;
  }
  .hero-coordinate-readout {
    display: none;
  }
  .hero-stage-arena {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: auto;
    overflow: hidden;
    padding: 8px 0 16px;
    box-sizing: border-box;
  }
  .cube-stage-halo {
    width: 240px;
    height: 240px;
    max-width: 80vw;
    max-height: 80vw;
  }
  .cube-showcase-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .cube-controls-dock {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .cube-phase-tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    justify-content: flex-start;
  }
  .cube-phase-tabs::-webkit-scrollbar {
    display: none;
  }
  .cube-play-dock {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
  }
  .editorial-section {
    grid-template-columns: 1fr;
  }
  .editorial-image-wrap {
    height: 320px;
  }
  .editorial-content {
    text-align: center;
    align-items: center;
  }
  .editorial-title {
    font-size: 1.7rem;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .product-grid-shop {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-col {
    align-items: flex-start;
  }
  .footer-social-list {
    justify-content: flex-start;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .categories-directory-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-editorial-grid.reverse {
    direction: ltr;
  }
  .about-img-wrap {
    height: 300px;
  }
  .about-text-wrap {
    text-align: center;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-panel {
    text-align: center;
    align-items: center;
  }
  .contact-block {
    align-items: center;
    text-align: center;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-table-wrapper {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 420px;
    border: 1px solid var(--border-light);
  }
  .cart-table {
    width: 100%;
    min-width: 0;
    display: block;
  }
  .cart-table thead {
    display: none;
  }
  .cart-table tbody {
    display: block;
    width: 100%;
  }
  .cart-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    row-gap: 12px;
    column-gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    height: auto;
    box-sizing: border-box;
  }
  .cart-table td {
    padding: 0;
    border: none;
  }
  .cart-table tbody tr td:nth-child(1) {
    grid-column: 1 / -1;
  }
  .cart-table tbody tr td:nth-child(2) {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-main);
  }
  .cart-table tbody tr td:nth-child(2)::before {
    content: "Price: ";
    color: var(--text-muted);
    font-size: 0.85rem;
  }
  .cart-table tbody tr td:nth-child(3) {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .cart-table tbody tr td:nth-child(4) {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
  }
  .cart-table tbody tr td:nth-child(4)::before {
    content: "Subtotal: ";
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: normal;
  }
  .cart-table tbody tr td:nth-child(5) {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .detail-layout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .detail-image-box {
    height: 360px;
  }
  .detail-info-box {
    text-align: center;
    align-items: center;
  }
  .detail-actions-row {
    width: 100%;
  }
  .detail-perks-box {
    width: 100%;
    text-align: left;
  }
  .detail-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .specs-title {
    font-size: 1.25rem;
    margin-bottom: 18px;
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 1.8rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .finish-options-list {
    grid-template-columns: 1fr;
  }
  .cube-phase-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-spatial-specs {
    flex-direction: column;
    gap: 12px;
  }
  .hero-spec-divider {
    display: none;
  }
  .cube-viewport {
    margin: 24px auto 20px;
  }
  .category-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .room-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .editorial-title {
    font-size: 1.45rem;
  }
  .page-title {
    font-size: 2rem;
  }
  .detail-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .specs-title {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }
  .specs-section {
    padding: 24px 16px;
  }
  .detail-image-box {
    height: 290px;
  }
  .cart-table {
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero-headline {
    font-size: 1.55rem;
  }
  .editorial-title {
    font-size: 1.3rem;
  }
  .brand-logo {
    font-size: 1.4rem;
  }
  .detail-title {
    font-size: 1.2rem;
  }
  .specs-title {
    font-size: 1.05rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
