  :root {
    --bg: #000000;
    --ink: #f3f1ec;
    --ink-dim: #b9b6ae;
    --line: rgba(255, 255, 255, 0.16);
    --accent: #c9a35a;
    --card-bg: #5c4a44;
    --cta-bg: #c9b291;
  }
.button-link-delete.sbxp-remove-row {
    padding: 13px 14px;
    background: #e76f3c;
    color: #fff !important;
    border: none;
}
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .sandbox-section {
    position: relative;
    background: var(--bg);
  }
  .sb-card-wrap {
    max-width: 555px;
    margin: auto 0 54px auto;
  }
  .sandbox-stage {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
  }

  .sandbox-scroll-driver {
    position: relative;
  }

  .sandbox-inner {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: center;
  }

  /* ---------- Left copy column ---------- */
  .sb-copy {
    position: relative;
    z-index: 5;
    opacity: 1;
    transform: translateY(0);
  }

  .sb-title {
    font-size: 49px;
    font-family: "Cormorant Garamond", Sans-serif;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
  }

  p.sb-para {
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #b9b6ae;
  }

  /* ---------- Toggle ---------- */
  .sb-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    padding: 14px 20px;
    gap: 14px;
    margin-top: 14px;
    opacity: 1;
    transform: translateY(0);
  }

  .sb-toggle-label {
    font-family: "Playfair Display", serif;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--ink-dim);
    cursor: pointer;
    transition: color 0.35s ease;
    user-select: none;
    text-transform: uppercase;
  }
  .sb-toggle-label.active {
    color: var(--ink);
  }

  .sb-switch {
    position: relative;
    width: 42px;
    height: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    flex: none;
  }
  .sb-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .sb-switch.is-showroom::after {
    transform: translateX(20px);
  }
  .sb-toggle.is-locked {
    pointer-events: none;
    opacity: 0.7;
  }

  /* ---------- Right art stage ---------- */
  .sb-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1354/902;
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
  }

  .sb-art-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  /*
    Two "lanes" — each lane holds a solid + sketch stacked.
    Both lanes occupy the same absolute space.
    We translate the entire lane to animate in/out.
  */
  .sb-lane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
  }

  /* solid and sketch inside a lane are stacked */
  .sb-lane-solid,
  .sb-lane-sketch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .sb-lane-sketch {
    opacity: 0; /* controlled by JS */
    transition: opacity 0.45s ease;
  }

  .sb-hotspots {
    position: absolute;
    inset: 0;
    z-index: 5;
  }

  .sb-hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: transparent;
    border: none;
    padding: 0;
  }
  .sb-hotspot {
    opacity: 1;
  }

  .sb-hotspot-dot {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: rgba(228, 206, 170, 0.92);
    animation: sb-pulse 2.4s ease-in-out infinite;
  }
  @keyframes sb-pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(228, 206, 170, 0.45);
    }
    70% {
      box-shadow: 0 0 0 9px rgba(228, 206, 170, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(228, 206, 170, 0);
    }
  }

  /* Circular image preview on hover */
  .sb-hotspot-preview {
    position: absolute;
    bottom: calc(100% + -60px);
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(201, 163, 90, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition:
      opacity 0.22s ease,
      transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
  }
  .sb-hotspot-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .sb-hotspot-tag {
    position: absolute;
    bottom: calc(100% + 108px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    white-space: nowrap;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    pointer-events: none;
  }
  .sb-hotspot:hover .sb-hotspot-preview {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  .sb-hotspot:hover .sb-hotspot-tag {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .sb-hotspot:hover .sb-hotspot-dot {
    background: #fff;
  }

  /* Black overlay for popup */
  .sb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 100;
    backdrop-filter: blur(2px);
  }
  .sb-overlay.is-open {
    display: block;
  }

  /* ---------- Product card popup ---------- */
  .sb-card-layer {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 101;
  }
  .sb-card-layer.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .sb-card-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .sb-card-layer.is-open .sb-card-wrap {
    transform: translateY(0) scale(1);
  }

  .sb-card {
    display: flex;
    width: min(92%, 480px);
    background: var(--card-bg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  }
  .sb-card-img {
    width: 38%;
    flex: none;
    background: #eee9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
  }
  .sb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sb-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .sb-card-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--ink);
  }
  .sb-card-text {
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(243, 241, 236, 0.85);
    flex: 1;
  }
  .sb-card-cta {
    align-self: flex-start;
    background: var(--cta-bg);
    color: #2a2118;
    font-size: 12.5px;
       padding: 7px 14px;
    background: #e76f3c;
    color: #fff !important;
    text-decoration: none;
    transition: 0.35s;
    display: inline-block;
  }

  .sb-card-close {
    flex: none;
    width: 64px;
    height: 64px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.4);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
  }
  .sb-card-close svg {
    width: 14px;
    height: 14px;
  }

  @media (max-width: 980px) {
    .sandbox-inner {
      grid-template-columns: 1fr;
      padding: 0 24px;
      gap: 20px;
    }
    .sb-copy {
      order: 1;
    }
    .sb-art {
      order: 2;
      aspect-ratio: 1354/1050;
    }
    .sb-para {
      max-width: 100%;
    }
    .sandbox-scroll-driver {
    }
    .sb-card-wrap {
      flex-direction: column;
      align-items: stretch;
      width: 92%;
    }
    .sb-card {
      width: 100%;
      flex-direction: column;
    }
    .sb-card-img {
      width: 100%;
      height: 160px;
    }
    .sb-card-close {
      width: 100%;
      height: 40px;
      flex-direction: row;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .sb-copy,
    .sb-para,
    .sb-toggle,
    .sb-hotspot,
    .sb-art {
      transition: none !important;
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
    .sb-lane-sketch {
      transition: none !important;
    }
  }
