:root {
  --store-paper: #fffaf5;
  --store-ink: #171717;
  --store-muted: #6d6862;
  --store-orange: #f2792e;
  --store-orange-deep: #df641d;
  --store-line: rgba(23, 23, 23, 0.13);
  --store-card: rgba(255, 255, 255, 0.72);
  --store-shadow: 0 24px 80px rgba(76, 37, 12, 0.1);
}

.store-home,
.store-product,
.store-not-found {
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
  color: var(--store-ink);
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 190, 139, 0.46), transparent 31rem),
    radial-gradient(circle at 8% 88%, rgba(255, 220, 190, 0.42), transparent 30rem),
    var(--store-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.store-home *,
.store-product *,
.store-not-found * {
  box-sizing: border-box;
}

.store-home a,
.store-product a,
.store-not-found a {
  color: inherit;
  text-decoration: none;
}

.store-top {
  width: min(1220px, calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--store-line);
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.store-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.store-status,
.store-back {
  padding: 9px 13px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  color: var(--store-muted);
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  font-weight: 750;
}

.store-hero {
  width: min(1220px, calc(100% - 40px));
  min-height: 650px;
  margin: auto;
  padding: 62px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.store-eyebrow {
  margin: 0 0 18px;
  color: #93613b;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.store-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7.6vw, 7.35rem);
  line-height: 0.89;
  letter-spacing: -0.066em;
}

.store-accent {
  color: var(--store-orange);
}

.store-intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--store-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.72;
}

.panda-orbit {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.panda-orbit::before {
  content: "";
  position: absolute;
  width: min(430px, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd8b9, #ff9b57 56%, #ef6d18);
  box-shadow: inset -34px -25px 0 rgba(90, 40, 0, 0.1), 0 35px 95px rgba(220, 98, 15, 0.23);
}

.panda-orbit img {
  position: relative;
  width: min(560px, 100%);
  filter: drop-shadow(0 28px 24px rgba(28, 17, 9, 0.16));
  animation: store-float 5.7s ease-in-out infinite;
}

.latest {
  width: min(1220px, calc(100% - 40px));
  margin: auto;
  padding: 88px 0 110px;
  border-top: 1px solid var(--store-line);
}

.store-section-head {
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.store-section-head h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.057em;
}

.store-section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--store-muted);
  line-height: 1.65;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.store-card {
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 32px;
  background: var(--store-card);
  box-shadow: var(--store-shadow);
}

.store-card-poster {
  position: relative;
  min-height: 390px;
  display: block;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff, #f0e2d5);
}

.store-card-poster img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: contain;
  transition: transform 220ms ease;
}

.featured-preview > section,
.featured-preview model-viewer {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 390px;
  background: transparent;
  opacity: 0;
  transition: opacity 260ms ease;
}

.featured-preview > section { position: absolute; z-index: 1; inset: 0; }

.featured-preview[data-featured-state="loaded"] model-viewer { opacity: 1; }
.featured-preview[data-featured-state="loaded"] > img { opacity: 0; pointer-events: none; }
[data-featured-poster][hidden] { display: none !important; }

.featured-viewer-hint {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--store-muted);
  font-size: .74rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.featured-preview[data-featured-state="loaded"] .featured-viewer-hint { display: block; }

.featured-viewer-fallback {
  position: absolute;
  z-index: 4;
  inset: 0;
  place-content: center;
  gap: 8px;
  padding: 32px;
  background: rgba(255,250,245,.92);
  text-align: center;
}

.featured-viewer-fallback[hidden] { display: none; }
.featured-viewer-fallback:not([hidden]) { display: grid; }
.featured-viewer-fallback span { color: var(--store-muted); }
.view-in-3d { position: absolute; z-index: 4; left: 50%; bottom: 18px; display: none; margin: 0; transform: translateX(-50%); }
.view-in-3d[hidden] { display: none !important; }
.home-swatches { margin-top: 8px; }

.store-card:hover .store-card-poster img {
  transform: scale(1.025);
}

.store-card-copy {
  padding: 30px;
}

.store-card-copy h3 {
  margin: 6px 0 12px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.store-card-copy > p:not(.store-eyebrow) {
  min-height: 3.2em;
  color: var(--store-muted);
  line-height: 1.6;
}

.store-card-meta {
  margin: 24px 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.store-card-meta strong {
  font-size: 1.18rem;
}

.store-option-preview {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--store-muted);
  font-size: 0.8rem;
}

.store-option-preview i,
.color-dot {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--swatch, var(--store-orange));
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.25);
}

.store-button {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--store-ink);
  color: white !important;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.store-product-grid {
  min-height: calc(100vh - 154px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
}

.product-stage {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #fff 0, #fff8f0 40%, #ecdacc 100%);
}

.product-stage::before {
  content: "";
  position: absolute;
  width: min(540px, 78%);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.product-stage > section,
.product-stage model-viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 690px;
  --poster-color: transparent;
}

.viewer-hint,
.viewer-reset {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  padding: 10px 14px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #655e57;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.viewer-hint { left: 24px; }
.viewer-reset { right: 24px; cursor: pointer; }
.viewer-reset:disabled { cursor: wait; opacity: 0.58; }

.viewer-fallback,
.store-visual-fallback {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 40px;
  text-align: center;
}

.viewer-fallback[hidden] { display: none; }
.store-visual-fallback img { max-width: min(520px, 84vw); max-height: 520px; object-fit: contain; }

.product-info {
  padding: 64px 52px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--store-paper);
  border-left: 1px solid var(--store-line);
}

.product-info h1 {
  margin: 12px 0 20px;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.product-lede {
  margin: 0 0 18px;
  color: var(--store-muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.product-description {
  margin: 0;
  color: var(--store-muted);
  line-height: 1.7;
  white-space: pre-line;
}

.product-photo-thumb {
  width: min(220px, 100%);
  height: 138px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--store-line);
  border-radius: 16px;
  background: white;
}

.product-price {
  margin: 26px 0;
  font-size: 2.15rem;
  font-weight: 900;
}

.choice-title {
  margin: 0 0 12px;
  color: var(--store-muted);
}

.public-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.public-swatches button {
  min-width: 92px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: var(--store-ink);
  font: inherit;
  cursor: pointer;
}

.public-swatches button:hover,
.public-swatches button[aria-pressed="true"] {
  border-color: var(--store-ink);
  background: white;
}

.public-swatches button:focus-visible {
  outline: 3px solid #1976d2;
  outline-offset: 2px;
}

.swatch-dots {
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swatch-dots .color-dot + .color-dot { margin-left: -9px; }
.public-swatches small { margin-top: 7px; display: block; font-weight: 750; }

.filament-names {
  min-height: 1.5em;
  margin: 15px 0 0;
  color: var(--store-muted);
  font-size: 0.86rem;
}

.material-details,
.screen-color-note {
  margin: 6px 0 0;
  color: var(--store-muted);
  font-size: .82rem;
}

.screen-color-note { font-style: italic; }

.public-specs {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.public-specs > div {
  padding: 15px 16px;
  border: 1px solid var(--store-line);
  border-radius: 15px;
  background: white;
}

.public-specs span {
  margin-bottom: 5px;
  display: block;
  color: #8f877f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.public-specs strong { font-size: 0.92rem; }

.size-unit-toggle,
.unit-toggle {
  margin-top: 10px;
  display: inline-flex !important;
  width: max-content;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: var(--store-paper);
}

.size-unit-toggle button,
.unit-toggle button {
  min-width: 42px;
  padding: 6px 9px;
  border: 0;
  background: transparent;
  color: var(--store-muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.size-unit-toggle button[aria-pressed="true"],
.unit-toggle button[aria-pressed="true"] { background: var(--store-ink); color: white; }
.size-spec .spec-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.size-spec .spec-heading > span { margin: 0; }

.inquiry-action,
.inquiry-experience { margin-top: 30px; }
.inquiry-action .store-button { margin: 0; }
.inquiry-action p,
.inquiry-experience > p { margin: 10px 0 0; color: var(--store-muted); font-size: .88rem; }
.inquiry-primary,
.inquiry-copy { display: inline-flex; align-items: center; justify-content: center; padding: 14px 18px; border: 0; border-radius: 14px; background: var(--store-ink); color: white; font: inherit; font-weight: 850; cursor: pointer; }
.inquiry-copy { border: 1px solid var(--store-line); background: white; color: var(--store-ink); }
.inquiry-backdrop { position: fixed; z-index: 100; inset: 0; align-items: center; justify-content: center; padding: 20px; background: rgba(23,23,23,.54); backdrop-filter: blur(8px); }
.inquiry-backdrop[hidden] { display: none; }
.inquiry-backdrop:not([hidden]) { display: flex; }
.inquiry-dialog { position: relative; width: min(580px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border-radius: 24px; background: var(--store-paper); box-shadow: 0 24px 90px rgba(0,0,0,.25); }
.inquiry-dialog h2 { margin: 8px 36px 24px 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; }
.inquiry-dialog label { margin-top: 14px; display: grid; gap: 6px; color: var(--store-muted); font-size: .82rem; font-weight: 800; }
.inquiry-dialog [hidden] { display: none !important; }
.inquiry-dialog input,
.inquiry-dialog select,
.inquiry-dialog textarea { width: 100%; padding: 12px; border: 1px solid var(--store-line); border-radius: 10px; background: white; color: var(--store-ink); font: inherit; }
.inquiry-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--store-line); border-radius: 50%; background: white; font-size: 1.35rem; cursor: pointer; }
.inquiry-buttons,
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.inquiry-buttons .store-button { margin: 0; }
.store-button.secondary { border: 1px solid var(--store-line); background: white; color: var(--store-ink) !important; }
.inquiry-status,
.copy-status { color: var(--store-muted); font-size: .82rem; }
.inquiry-summary { margin: 16px 0; display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; background: white; }
.optional-label { font-weight: 500; }

.store-footer {
  width: min(1220px, calc(100% - 40px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--store-line);
  color: #847b72;
  font-size: 0.8rem;
}

.store-not-found {
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
}

.store-not-found img { width: min(360px, 75vw); margin: auto; }
.store-not-found h1 { margin: 10px 0; font-size: clamp(3.6rem, 10vw, 7rem); letter-spacing: -0.06em; }

@keyframes store-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-15px) rotate(1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .store-home *,
  .store-product *,
  .store-not-found * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .store-hero,
  .store-product-grid { grid-template-columns: 1fr; }
  .store-hero { text-align: center; gap: 10px; }
  .store-intro { margin-left: auto; margin-right: auto; }
  .panda-orbit { min-height: 430px; }
  .product-stage,
  .product-stage > section,
  .product-stage model-viewer { min-height: 560px; }
  .product-info { border-left: 0; border-top: 1px solid var(--store-line); }
}

@media (max-width: 700px) {
  .store-top,
  .store-hero,
  .latest,
  .store-footer { width: min(100% - 24px, 1220px); }
  .store-top { min-height: 72px; }
  .store-status { display: none; }
  .store-brand span { display: none; }
  .store-hero { min-height: auto; padding: 44px 0; }
  .store-hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .panda-orbit { min-height: 370px; }
  .latest { padding: 66px 0 78px; }
  .store-section-head { align-items: start; flex-direction: column; }
  .product-cards { grid-template-columns: minmax(0, 1fr); }
  .store-card { border-radius: 24px; }
  .store-card-poster,
  .store-card-poster img { min-height: 300px; }
  .featured-preview model-viewer { min-height: 300px; }
  .featured-preview:not([data-featured-state="loaded"]):not([data-featured-state="error"]) .view-in-3d { display: inline-flex; }
  .product-stage,
  .product-stage > section,
  .product-stage model-viewer { min-height: 440px; }
  .viewer-hint { left: 12px; bottom: 12px; }
  .viewer-reset { right: 12px; bottom: 12px; }
  .product-info { padding: 40px 20px; }
  .product-info h1 { font-size: 4.1rem; }
  .public-specs { grid-template-columns: 1fr; }
  .store-footer { padding: 18px 0; flex-direction: column; justify-content: center; }
}

.presentation-tabs{position:absolute;z-index:8;top:18px;left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:4px;border:1px solid var(--store-line);border-radius:999px;background:rgba(255,250,245,.94);box-shadow:0 8px 30px rgba(45,25,10,.12)}.presentation-tabs button{padding:9px 14px;border:0;border-radius:999px;background:transparent;color:var(--store-muted);font:inherit;font-weight:850;cursor:pointer}.presentation-tabs button[aria-selected="true"]{background:var(--store-ink);color:#fff}.product-stage>[data-presentation-panel]{width:100%;height:100%}.product-stage>[data-presentation-panel][hidden]{display:none}
.photo-gallery{position:relative;width:100%;min-height:680px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 42%,#fff,#eeddd0)}.photo-gallery>img,.gallery-main{width:100%;height:100%;min-height:680px;border:0;padding:0;background:transparent;cursor:zoom-in}.photo-gallery>img,.gallery-main img{display:block;width:100%;height:100%;min-height:680px;object-fit:contain}.gallery-arrow,.lightbox-arrow{position:absolute;z-index:4;top:50%;width:46px;height:46px;border:1px solid var(--store-line);border-radius:50%;background:rgba(255,255,255,.92);color:var(--store-ink);font-size:1.25rem;cursor:pointer}.gallery-arrow.previous,.lightbox-arrow.previous{left:18px}.gallery-arrow.next,.lightbox-arrow.next{right:18px}.gallery-thumbs{position:absolute;z-index:4;left:50%;bottom:18px;display:flex;gap:8px;max-width:calc(100% - 120px);padding:7px;overflow:auto;transform:translateX(-50%);border-radius:15px;background:rgba(255,255,255,.88)}.gallery-thumbs button{flex:0 0 58px;width:58px;height:58px;padding:2px;border:2px solid transparent;border-radius:10px;background:#fff;overflow:hidden;cursor:pointer}.gallery-thumbs button[aria-current="true"]{border-color:var(--store-orange)}.gallery-thumbs img{width:100%;height:100%;object-fit:cover}.lightbox{position:fixed!important;z-index:200!important;inset:0!important;width:100vw!important;height:100vh!important;min-height:0!important;display:grid!important;place-items:center!important;padding:30px!important;background:rgba(13,13,13,.94)!important}.lightbox[hidden]{display:none!important}.lightbox>img{max-width:calc(100vw - 80px);max-height:calc(100vh - 80px);width:auto!important;height:auto!important;min-height:0!important;object-fit:contain}.lightbox-close{position:absolute;z-index:3;top:18px;right:18px;width:48px;height:48px;border:1px solid #fff5;border-radius:50%;background:#222;color:#fff;font-size:1.8rem;cursor:pointer}.photo-gallery-empty{min-height:680px;display:grid;place-content:center;color:var(--store-muted)}
@media(max-width:700px){.presentation-tabs{top:10px}.photo-gallery,.photo-gallery>img,.gallery-main,.gallery-main img{min-height:440px}.gallery-thumbs{bottom:12px;max-width:calc(100% - 30px)}.gallery-arrow{display:none}.lightbox{padding:12px!important}.lightbox>img{max-width:100%;max-height:calc(100vh - 40px)}}
.gallery-main.loading{background:linear-gradient(110deg,#f0e9df 30%,#fff8ef 45%,#f0e9df 60%);background-size:220% 100%;animation:photo-shimmer 1.2s linear infinite}
.photo-gallery-fallback{min-height:24rem;display:grid;place-content:center;text-align:center;gap:.5rem;color:#684c3a;background:radial-gradient(circle at 50% 35%,#fff7e8,#eadfd2)}
.photo-gallery-fallback span{font-size:.9rem}
@keyframes photo-shimmer{to{background-position-x:-220%}}
