/* Showroom palette and gift packaging */
:root {
  --red:#c4301c;
  --deep:#9e2516;
  --ink:#111111;
  --soft:#ededed;
  --paper:#ffffff;
  --studio-bg:#f7f7f7;
  --studio-muted:#595959;
  --studio-border:#e5e5e5;
}
body {background:var(--studio-bg);color:var(--ink)}
body .ambient-scene {display:none}
body header {background:#fffffff5;border-color:var(--studio-border)}
body header .eyebrow, body .subtle {color:var(--studio-muted)}
body header button {background:var(--paper);color:var(--ink);border-color:var(--studio-border)}
body button.red, body header button.red {background:var(--red);color:white;border-color:var(--red)}
body button.red:hover {background:var(--deep)}
body button:focus-visible, body a:focus-visible {outline-color:var(--red)}
body .footer {background:#242424;color:#f5f5f5;border-color:#404040}
body .collection,body .product,body .search-showroom {background:var(--studio-bg);color:var(--ink)}
body .gift-studio-v2 {background:var(--studio-bg);color:var(--ink)}
body .gift-summary,body .ready-card,body .gift-item {
  border-radius:16px!important;
  background:var(--paper);
  border:1px solid var(--studio-border);
  box-shadow:0 10px 28px #4820320c;
}
body .dialog {background:var(--paper);color:var(--ink)}
body .phone-nav {background:var(--paper);border-color:var(--studio-border)}
body .phone-nav button {color:var(--ink)}
body .phone-nav button[aria-current="page"] {color:var(--deep)}
body .showroom-home {max-width:1440px}
.showroom-home .showroom-home-hero {
  color:var(--ink);background:linear-gradient(130deg,#ffffff 32%,#f2f2f2);
  border-color:var(--studio-border);border-radius:28px;
  box-shadow:0 17px 48px #5528360c;
}
.showroom-home .showroom-home-hero p,.showroom-home .showroom-home-search label {color:var(--studio-muted)}
.showroom-home .showroom-home-actions button:not(.red),
.showroom-home .showroom-home-finishes button {
  background:var(--paper);color:var(--ink);border-color:var(--studio-border)
}
.showroom-home .showroom-home-finishes button[aria-pressed="true"] {
  color:var(--deep);background:#fff0eb;border-color:var(--red)
}
.showroom-home .showroom-home-search input {
  background:var(--paper);color:var(--ink);border-color:#c9c9c9
}
.showroom-home .showroom-home-search input::placeholder {color:#626262}
.showroom-home .showroom-home-categories button,.showroom-home .campaign-recipient-nav button {
  background:var(--paper);color:var(--ink);border-color:var(--studio-border);
  border-radius:14px;box-shadow:0 5px 18px #50203509;
}
.showroom-home .showroom-home-categories button:hover,.showroom-home .campaign-recipient-nav button:hover {
  border-color:var(--red);background:#fff3ee;color:var(--deep)
}
.showroom-home .campaign-recipient-nav strong {color:inherit}
.showroom-home .showroom-home-categories img {background:white;border-radius:9px}
body .box-orbit {color:var(--studio-muted)}
body .box-orbit .box-orbit-stage {
  isolation:isolate;border:1px solid #dddddd;
  background:radial-gradient(ellipse at 52% 38%,#ffffff 3%,#eeeeee 56%,#d9d9d9 100%);
}
body .box-orbit .box-orbit-stage::before {
  bottom:13%;width:64%;height:26px;background:#1d1d1d48;filter:blur(15px);
}
body .box-orbit .box-orbit-object {z-index:1}
body .box-orbit .box-orbit-face {
  border-color:#54243a4d;
  background:linear-gradient(155deg,#fff4,#fff0 42%,#2606163b),var(--box);
  box-shadow:inset 0 2px #fff6,inset 0 -2px #220a2544;
}
body .box-orbit .box-orbit-front::before,body .box-orbit .box-orbit-side::before,
body .box-orbit .box-orbit-back::before,body .box-orbit .box-orbit-left::before {
  content:"";position:absolute;top:5px;left:0;right:0;
  height:1px;background:#fff5;box-shadow:0 -1px #3c091b35;
}
body .box-orbit .box-orbit-top::before,body .box-orbit .box-orbit-top::after {
  background:linear-gradient(105deg,#30122126,#fff9 45%,#fff3 70%,#30122126),var(--ribbon);
}
body .box-orbit .box-orbit-top b {
  color:#fff1db;background:#242424;border:1px solid #b9b9b9;
  border-radius:2px;padding:5px 10px;letter-spacing:1.4px;
}
body .box-orbit .box-orbit-tray {
  background:repeating-linear-gradient(120deg,#393939,#393939 3px,#303030 3px,#303030 6px);
  color:#fff;box-shadow:inset 0 0 0 5px #272727;
}
body .box-orbit .box-orbit-items img {background:#ffffff;border:1px solid #dedede}
body .box-orbit .box-orbit-controls button {
  color:var(--ink);background:var(--paper);border-color:#d6d6d6;
}
body .box-orbit .box-orbit-controls [data-box-lid] {
  color:#fff;background:var(--red);border-color:var(--red);
}
body .showroom-home-preview .box-orbit-stage {
  background:radial-gradient(ellipse at 55% 35%,#ffffff,#f0f0f0 61%,#dedede);
}
@media print {
  body .box-orbit .box-orbit-stage {background:#fff;border-color:#ddd}
}

.showroom-home .showroom-home-hero {border-radius:20px;box-shadow:none}
.showroom-home .showroom-home-categories button {
  border-radius:12px;box-shadow:none;padding:14px;
}
.showroom-home .showroom-home-categories img {background:#f6f6f6}
.showroom-home .showroom-home-search input {background:#ededed;border-color:#ededed}
body .box-orbit .box-orbit-controls button {border-radius:8px;min-width:44px}
body .box-orbit .box-orbit-controls [data-box-zoom] {font-size:18px;padding:4px 8px}
body .box-orbit .box-orbit-stage:focus-visible {outline-color:var(--red)}

/* Ready gift ideas and packaging preview */
body .gift-studio #recipient-selection {
  display:block;visibility:visible;opacity:1;
  color:#111;background:#fff;border-color:#e5e5e5;border-radius:16px;
  padding:clamp(16px,3vw,30px);scroll-margin-top:125px;
}
body .gift-studio #ready-gift-heading {
  display:block;color:#111;font-size:clamp(24px,3vw,36px);
  line-height:1.16;overflow-wrap:break-word;
}
body .gift-studio #recipient-selection p {color:#595959}
body .box-orbit .box-orbit-stage {
  background:radial-gradient(ellipse at 46% 33%,#fff 0%,#f1f0ee 52%,#d7d5d1 100%);
  border-color:#dedbd7;
}
body .box-orbit .box-orbit-stage::before {
  bottom:18%;width:54%;height:19px;background:#211b175c;filter:blur(12px);
}
body .showroom-home-preview .box-orbit-stage {min-height:clamp(252px,27vw,380px)}
body .showroom-home-preview .box-orbit {--scale:1.14}
body .box-orbit .box-orbit-face {
  background:repeating-linear-gradient(112deg,#ffffff09 0 1px,#00000006 1px 3px),
    linear-gradient(145deg,#fff3,#fff0 43%,#17100c4d),var(--box);
  border-color:#21160e43;box-shadow:inset 0 1px #fff6,inset 0 -2px #15100b45;
}
body .box-orbit .box-orbit-side,body .box-orbit .box-orbit-left {
  background:linear-gradient(135deg,#22130e24,#22130e66),var(--box);
}
body .box-orbit .box-lid-edge {height:9px;width:152px}
body .box-orbit .box-lid-front {transform:translate(-50%,-50%) translateY(4px) translateZ(58px)}
body .box-orbit .box-lid-back {transform:translate(-50%,-50%) translateY(4px) rotateY(180deg) translateZ(58px)}
body .box-orbit .box-lid-right {width:116px;transform:translate(-50%,-50%) translateY(4px) rotateY(90deg) translateZ(76px)}
body .box-orbit .box-lid-left {width:116px;transform:translate(-50%,-50%) translateY(4px) rotateY(-90deg) translateZ(76px)}
body .box-orbit .box-lid-under {
  width:150px;height:114px;
  transform:translate(-50%,-50%) translateY(8px) rotateX(-90deg);
  background:radial-gradient(ellipse,#45403c,#24211e);
  box-shadow:inset 0 0 0 5px #161310;
}
body .box-orbit .box-lid-front::after,body .box-orbit .box-lid-back::after,
body .box-orbit .box-lid-left::after,body .box-orbit .box-lid-right::after {
  content:"";position:absolute;top:0;bottom:0;left:50%;width:14px;
  transform:translateX(-50%);background:linear-gradient(90deg,#0002,#fff6 55%,#0003),var(--ribbon);
}
body .box-orbit .box-orbit-top b {box-shadow:0 1px 2px #0005}
body .box-orbit .box-orbit-tray {
  background:radial-gradient(ellipse at 50% 42%,#4d4844,#302b27 75%);
  box-shadow:inset 0 0 0 4px #27221e,inset 0 0 14px #000b;
}
body .box-orbit .box-orbit-items img {box-shadow:0 2px 4px #0007}
@media (max-width:420px) {
  body .showroom-home-preview .box-orbit {--scale:1.02}
}

/* Phone and touch layouts */
@media (pointer:coarse) {
  body .box-orbit .box-orbit-stage {touch-action:pan-y pinch-zoom}
}
@media (max-width:750px) {
  .showroom-home {padding:16px 14px 38px}
  .showroom-home .showroom-home-hero {
    grid-template-columns:minmax(0,1fr);padding:18px;gap:22px;
  }
  .showroom-home .showroom-home-hero h1 {
    max-width:15ch;font-size:clamp(30px,8vw,46px);margin-bottom:12px;
  }
  .showroom-home .showroom-home-hero p {margin-bottom:16px}
  .showroom-home .showroom-home-actions,
  .showroom-home .showroom-home-finishes {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  }
  .showroom-home .showroom-home-actions button,
  .showroom-home .showroom-home-finishes button {min-width:0;min-height:48px;padding:8px}
  .showroom-home .showroom-home-search {grid-template-columns:minmax(0,1fr) auto}
  .showroom-home .showroom-home-search input {min-width:0;font-size:16px}
  .showroom-home .showroom-home-categories {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .showroom-home .campaign-recipient-nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .showroom-home .campaign-recipient-nav button {min-width:0;padding:10px;overflow-wrap:anywhere}
  .showroom-home .campaign-recipient-nav strong {font-size:clamp(14px,4.2vw,18px)}
  .showroom-home .showroom-home-block {margin-top:28px}
  body .showroom-home-preview .box-orbit-stage {min-height:228px}
  body .box-orbit .box-orbit-controls {
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;
  }
  body .box-orbit .box-orbit-controls button {min-width:0;min-height:44px;padding:6px 3px;font-size:13px}
  body .box-orbit .box-orbit-controls [data-box-lid] {grid-column:span 2}
  body .box-orbit .box-orbit-controls [data-box-zoom] {font-size:18px}
  body .gift-layout > *,body .public-search > *,body .picker-filters > * {min-width:0}
  body .gift-studio .gift-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  body .gift-studio .gift-tabs button {min-width:0;min-height:48px;white-space:normal}
  body .gift-summary,body .ready-card,body .gift-item {overflow-wrap:anywhere}
  body #my-gift-box {scroll-margin-top:calc(130px + env(safe-area-inset-top,0px))}
  body .phone-nav button>b {font-size:12px}
  body .phone-nav {padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
  body .footer {padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:360px) {
  .showroom-home .showroom-home-hero {padding:13px}
  .showroom-home .showroom-home-actions {grid-template-columns:minmax(0,1fr)}
}
