    :root {
      --bg-main: #0f0b12;
      --bg-card: #1a131f;
      --bg-elevated: #251b2d;
      --text-main: #faf6f9;
      --text-muted: #c2b2c9;
      --accent: #e5a9b4;
      --accent-strong: #d48294;
      --accent-gold: #e4c087;
      --border-soft: rgba(229, 169, 180, 0.22);
      --glow: rgba(229, 169, 180, 0.25);
    }

    [data-theme="noir-gold"] {
      --bg-main: #0b0b0e;
      --bg-card: #15151b;
      --bg-elevated: #202029;
      --text-main: #f9f6f0;
      --text-muted: #b8b2a6;
      --accent: #d8b26e;
      --accent-strong: #c49645;
      --accent-gold: #f0d59c;
      --border-soft: rgba(216, 178, 110, 0.25);
      --glow: rgba(216, 178, 110, 0.25);
    }

    [data-theme="pearl-salon"] {
      --bg-main: #faf6f4;
      --bg-card: #ffffff;
      --bg-elevated: #f3eae6;
      --text-main: #241920;
      --text-muted: #6e5a66;
      --accent: #b85d79;
      --accent-strong: #963f5b;
      --accent-gold: #a87b38;
      --border-soft: rgba(184, 93, 121, 0.24);
      --glow: rgba(184, 93, 121, 0.16);
    }

    [data-theme="velvet-amethyst"] {
      --bg-main: #0d0b18;
      --bg-card: #171329;
      --bg-elevated: #221c3c;
      --text-main: #f5f2ff;
      --text-muted: #b3aad1;
      --accent: #b993ff;
      --accent-strong: #9362f5;
      --accent-gold: #f1c38e;
      --border-soft: rgba(185, 147, 255, 0.24);
      --glow: rgba(185, 147, 255, 0.25);
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      margin: 0;
      padding: 0;
      overflow-x: hidden;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .font-serif-glam {
      font-family: 'Cormorant Garamond', Georgia, serif;
    }

    .glass-card {
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45), 0 0 20px -5px var(--glow);
    }

    .elevated-surface {
      background: var(--bg-elevated);
      border: 1px solid var(--border-soft);
    }

    .accent-btn {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
      color: #160d14;
      font-weight: 600;
      box-shadow: 0 4px 16px var(--glow);
      transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
    }
    [data-theme="pearl-salon"] .accent-btn {
      color: #ffffff;
    }
    .accent-btn:hover {
      filter: brightness(1.06);
      transform: translateY(-1px);
    }
    .accent-btn:active {
      transform: translateY(0);
    }

    .outline-glam-btn {
      background: var(--bg-elevated);
      color: var(--text-main);
      border: 1px solid var(--border-soft);
      transition: all 0.2s ease;
    }
    .outline-glam-btn:hover {
      border-color: var(--accent);
      box-shadow: 0 0 12px var(--glow);
    }

    .custom-select, .custom-input {
      background-color: var(--bg-elevated);
      color: var(--text-main);
      border: 1px solid var(--border-soft);
      border-radius: 0.75rem;
      padding: 0.65rem 0.85rem;
      width: 100%;
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .custom-select:focus, .custom-input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--glow);
    }

    /* 3D Carousel Styles */
    .carousel-scene {
      perspective: 1100px;
      width: 100%;
      height: 290px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      touch-action: pan-y;
      user-select: none;
    }

    .carousel-ring {
      width: 110px;
      height: 220px;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.08s linear;
    }

    .tube-3d-item {
      position: absolute;
      width: 96px;
      height: 210px;
      left: 7px;
      top: 5px;
      transform-style: preserve-3d;
      cursor: pointer;
      transition: filter 0.2s ease;
    }

    .tube-body {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      filter: drop-shadow(0 12px 14px rgba(0,0,0,0.55));
    }

    .tube-cap {
      width: 28px;
      height: 22px;
      background: linear-gradient(90deg, #2a2a2e 0%, #6e6e77 45%, #1f1f23 100%);
      border-radius: 4px 4px 2px 2px;
      border-bottom: 2px solid #d4af37;
      position: relative;
    }
    .tube-cap::after {
      content: '';
      position: absolute;
      inset: 3px;
      background: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.2) 2px, rgba(255,255,255,0.2) 4px);
    }

    .tube-neck {
      width: 46px;
      height: 12px;
      background: linear-gradient(90deg, #9ca3af 0%, #f3f4f6 48%, #6b7280 100%);
      clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    }

    .tube-cylinder {
      width: 78px;
      height: 152px;
      border-radius: 6px 6px 4px 4px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 10px 6px;
      border: 1px solid rgba(255,255,255,0.28);
      box-shadow: inset 12px 0 18px rgba(255,255,255,0.38), inset -14px 0 20px rgba(0,0,0,0.48);
    }

    .tube-crimp {
      width: 82px;
      height: 12px;
      background: linear-gradient(90deg, #888 0%, #eee 50%, #555 100%);
      border-top: 2px solid rgba(0,0,0,0.45);
      border-radius: 0 0 3px 3px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 8px;
      font-weight: 700;
      color: #222;
      letter-spacing: 0.06em;
    }

    .tube-selected-ring {
      outline: 3px solid var(--accent-gold);
      outline-offset: 3px;
      border-radius: 8px;
    }

    /* Range slider styling */
    input[type="range"] {
      accent-color: var(--accent);
    }

    /* Hide scrollbar on tabs */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
