@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Allura&family=Cinzel:wght@500;700;900&family=Dancing+Script:wght@600;700&family=Great+Vibes&family=Imperial+Script&family=Parisienne&family=Playfair+Display:wght@600;800&family=Tangerine:wght@700&family=UnifrakturMaguntia&display=swap");

:root {
  --ink: #0d0e10;
  --charcoal: #17191d;
  --panel: #202329;
  --panel-soft: #2a2e35;
  --cream: #f4f0e8;
  --paper: #e8e1d5;
  --muted: #aaa79f;
  --line: rgba(244, 240, 232, 0.16);
  --gold: #c9a45a;
  --gold-light: #e2c47d;
  --green: #252a2b;
  --green-soft: #34393a;
  --danger: #c95d4e;
  --success: #67c38b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

/* Lightweight 2D custom studio: the product image and engraving update without a WebGL scene. */
.custom-page .customizer-studio {
  align-items: start;
}

.custom-page .custom-preview-stage {
  min-height: 0;
  padding: 1rem;
  border-radius: 8px;
  background: #0a110f;
}

.flat-jewelry-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 235, 183, 0.16);
  border-radius: 6px;
  background: #161d19;
}

.flat-jewelry-preview::before {
  position: absolute;
  inset: 10% 12%;
  border: 1px solid rgba(216, 164, 65, 0.16);
  border-radius: 50%;
  content: "";
}

.flat-jewelry-preview > img[data-preview-photo] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 430px;
  object-fit: contain;
  padding: 1.25rem;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}

.flat-preview-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  max-width: 54%;
  color: #201b0e;
  font-family: Georgia, serif;
  font-size: var(--engraving-size, 28px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 1px rgba(255, 248, 222, 0.36);
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.custom-preview-stage[data-font="script"] .flat-preview-text,
.custom-preview-stage[data-font="great-vibes"] .flat-preview-text,
.custom-preview-stage[data-font="allura"] .flat-preview-text,
.custom-preview-stage[data-font="dancing"] .flat-preview-text,
.custom-preview-stage[data-font="parisienne"] .flat-preview-text,
.custom-preview-stage[data-font="alex"] .flat-preview-text,
.custom-preview-stage[data-font="tangerine"] .flat-preview-text {
  font-family: cursive;
  font-style: italic;
}

.custom-preview-stage[data-font="gothic"] .flat-preview-text,
.custom-preview-stage[data-font="cinzel"] .flat-preview-text,
.custom-preview-stage[data-font="caps"] .flat-preview-text {
  letter-spacing: 0;
  text-transform: uppercase;
}

.custom-preview-stage[data-choice="plain"] .flat-preview-text {
  display: none;
}

.flat-uploaded-photo {
  display: none;
  position: absolute;
  z-index: 3;
  top: 26%;
  left: 50%;
  width: 30%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid rgba(255, 246, 214, 0.7);
  border-radius: 3px;
  transform: translateX(-50%);
}

.custom-preview-stage[data-has-upload="true"] .flat-uploaded-photo {
  display: block;
}

.flat-preview-status {
  position: absolute;
  z-index: 4;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.38rem 0.55rem;
  border-radius: 4px;
  color: var(--cream);
  background: rgba(4, 10, 8, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
}

.flat-preview-summary {
  display: grid;
  gap: 0.25rem;
}

.flat-preview-summary p:last-child {
  margin: 0;
  color: rgba(251, 250, 245, 0.6);
  font-size: 0.82rem;
  line-height: 1.45;
}

.custom-page .simple-choice-toggle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simple-choice-toggle label {
  min-height: 88px;
  align-content: center;
}

.simple-choice-toggle small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(251, 250, 245, 0.65);
  font-size: 0.76rem;
  font-weight: 600;
}

@media (max-width: 1020px) {
  .custom-page .live-preview-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .flat-jewelry-preview {
    min-height: 330px;
  }

  .flat-jewelry-preview > img[data-preview-photo] {
    height: 330px;
    padding: 0.7rem;
  }

  .custom-page .simple-choice-toggle {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
}

body.cart-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem clamp(1rem, 4vw, 3.8rem);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 6, 0.86);
  backdrop-filter: blur(18px);
}

.brand-link,
.main-nav button,
.menu-button,
.ghost-button,
.cart-button,
.icon-button {
  border: 0;
  color: var(--paper);
  background: transparent;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav button,
.ghost-button {
  min-height: 38px;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: rgba(251, 250, 245, 0.75);
  white-space: nowrap;
}

.main-nav button.active,
.main-nav button:hover,
.ghost-button:hover {
  color: var(--cream);
  background: rgba(216, 164, 65, 0.12);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.cart-button,
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.cart-button,
.primary-button {
  color: #11100b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 0.4rem;
  color: var(--cream);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.78rem;
}

.secondary-button {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.danger-button {
  color: #fff;
  background: rgba(201, 93, 78, 0.16);
  border-color: rgba(201, 93, 78, 0.4);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

#app {
  min-height: calc(100vh - 74px);
  background: var(--ink);
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82svh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #020403;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.3)),
    linear-gradient(0deg, rgba(3, 6, 5, 0.98), rgba(3, 6, 5, 0.1) 58%),
    radial-gradient(circle at 68% 24%, rgba(216, 164, 65, 0.18), transparent 26rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #020403;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.86) contrast(1.08);
  transform: scale(1.08);
  transition: opacity 0.85s ease, transform 6.8s ease;
}

.hero-media img.active {
  opacity: 1;
  transform: scale(1.15) translate3d(-1.2%, -0.6%, 0);
}

.hero-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.hero-content-clean {
  grid-template-columns: minmax(0, 680px);
}

.hero-copy {
  max-width: 760px;
}

.hero-feature-copy {
  display: grid;
  gap: 0.55rem;
  max-width: 660px;
  margin-bottom: 1.25rem;
}

.hero-feature-copy strong {
  color: var(--gold-light);
  font-size: 1rem;
  text-transform: uppercase;
}

.hero-feature-copy .lead {
  margin: 0;
}

.hero-content-clean .hero-actions {
  margin-top: 1.5rem;
}

.hero-showcase {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 244, 207, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 23, 19, 0.82), rgba(18, 43, 35, 0.58)),
    rgba(0, 0, 0, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.hero-showcase-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.hero-showcase-head h2 {
  max-width: 280px;
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.05;
}

.hero-showcase-head span {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-slide-list {
  display: grid;
  gap: 0.55rem;
}

.hero-slide-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 34px 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 74px;
  padding: 0.55rem;
  border: 1px solid rgba(255, 244, 207, 0.12);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
  overflow: hidden;
}

.hero-slide-card.active {
  border-color: rgba(255, 231, 160, 0.75);
  background: rgba(216, 164, 65, 0.16);
}

.hero-slide-card img {
  width: 72px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.28);
}

.hero-slide-card span {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-slide-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  line-height: 1.2;
}

.hero-slider-controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 0.7rem;
  align-items: center;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 244, 207, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-dots button.active {
  width: 28px;
  border-radius: 999px;
  border-color: var(--gold-light);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 11vw, 7.8rem);
  line-height: 0.9;
}

h2 {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  color: var(--cream);
  font-size: 1.05rem;
}

.lead {
  max-width: 660px;
  color: rgba(251, 250, 245, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions,
.button-row,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-head p {
  max-width: 620px;
  color: rgba(251, 250, 245, 0.7);
  line-height: 1.7;
}

.category-grid,
.product-grid,
.trust-grid,
.analytics-grid {
  display: grid;
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-tile,
.product-card,
.surface,
.testimonial,
.metric,
.order-card,
.admin-product {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.category-tile {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  padding: 1.15rem;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.1));
}

.category-tile > :not(img) {
  position: relative;
  z-index: 2;
}

.category-tile-content {
  display: grid;
  gap: 0.4rem;
  text-align: left;
}

.category-tile-content > strong {
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.35;
}

.category-tile-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-tile-action b {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.category-tile:hover .category-tile-action b {
  transform: translateX(4px);
}

.category-tile:hover img {
  transform: scale(1.06);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 8px;
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d1412;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.catalog-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.stock-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #12100b;
  background: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
}

.stock-badge.low {
  color: #281600;
  background: #f1a545;
}

.stock-badge.out {
  color: #fff;
  background: var(--danger);
}

.product-body {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.variant-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 244, 207, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.variant-strip div {
  display: flex;
  min-width: 0;
}

.variant-strip img {
  width: 32px;
  height: 32px;
  margin-right: -0.45rem;
  border: 2px solid #101815;
  border-radius: 50%;
  object-fit: cover;
  background: #101815;
}

.variant-strip span {
  color: rgba(251, 250, 245, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-meta {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  color: var(--cream);
  font-size: 1.18rem;
  font-weight: 900;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(140px, 180px));
  gap: 0.8rem;
  margin: 1.25rem 0 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(255, 244, 207, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  align-items: end;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span,
.field label {
  color: rgba(251, 250, 245, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.8rem 0.9rem;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: #101815;
  color-scheme: dark;
}

select option,
select optgroup {
  color: var(--paper);
  background: #080d0c;
}

select option:checked {
  color: #11100b;
  background: var(--gold-light);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 231, 160, 0.7);
  box-shadow: 0 0 0 3px rgba(216, 164, 65, 0.16);
}

.surface {
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  gap: 1rem;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.swatch {
  position: relative;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(251, 250, 245, 0.78);
}

.swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.swatch i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.swatch:has(input:checked) {
  color: var(--cream);
  border-color: var(--gold-light);
  background: rgba(216, 164, 65, 0.13);
}

.trust-grid,
.analytics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial,
.metric {
  min-height: 140px;
  padding: 1rem;
  border-radius: 8px;
}

.testimonial p,
.muted,
.order-card p,
.admin-product p {
  color: rgba(251, 250, 245, 0.66);
  line-height: 1.6;
}

.home-assurance {
  border-block: 1px solid var(--line);
  background: rgba(7, 18, 15, 0.8);
}

.home-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-block: 1.1rem;
}

.home-assurance-grid article {
  display: grid;
  gap: 0.28rem;
  padding: 0.25rem 1.25rem;
  border-left: 1px solid var(--line);
}

.home-assurance-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-assurance-grid strong {
  color: var(--cream);
  font-size: 0.9rem;
}

.home-assurance-grid span {
  color: rgba(251, 250, 245, 0.67);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-categories {
  padding-top: clamp(3.2rem, 7vw, 6rem);
}

.home-section-heading {
  margin-bottom: 1.8rem;
}

.home-featured .section-head {
  margin-bottom: 1.6rem;
}

.home-gift-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}

.home-gift-copy h2 {
  margin-bottom: 0.85rem;
}

.gift-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gift-choice {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 220px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(25, 79, 64, 0.28), rgba(5, 7, 6, 0.35));
}

.gift-choice h3,
.gift-choice p {
  margin: 0;
}

.gift-choice p {
  color: rgba(251, 250, 245, 0.7);
  line-height: 1.55;
}

.text-button {
  align-self: end;
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--gold-light);
  background: transparent;
  font-weight: 900;
}

.text-button span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.text-button:hover span {
  transform: translateX(4px);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 0.8rem;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.gallery img:first-child {
  height: 420px;
  grid-row: span 2;
}

.look-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

.look-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080d0c;
  box-shadow: var(--shadow);
}

.look-stage img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.look-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 58%);
  pointer-events: none;
}

.look-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 1;
}

.look-caption h3 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  line-height: 1;
}

.look-rail {
  display: grid;
  gap: 0.75rem;
}

.look-chip {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 92px;
  padding: 0.55rem;
  color: var(--cream);
  text-align: left;
  border: 1px solid rgba(255, 244, 207, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.look-chip img {
  width: 84px;
  height: 72px;
  border-radius: 7px;
  object-fit: cover;
}

.look-chip span {
  font-weight: 900;
}

.look-chip.active,
.look-chip:hover {
  border-color: rgba(255, 231, 160, 0.72);
  background: rgba(216, 164, 65, 0.13);
}

.women-page {
  display: grid;
  gap: 1.5rem;
}

.women-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.women-collection-nav {
  display: grid;
  gap: 0.8rem;
}

.women-collection-nav a {
  display: grid;
  gap: 0.35rem;
  min-height: 96px;
  padding: 1rem;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.women-collection-nav a:hover {
  border-color: rgba(255, 231, 160, 0.55);
  background: rgba(216, 164, 65, 0.12);
}

.women-collection-nav strong {
  font-size: 1.05rem;
}

.women-collection-nav span {
  color: rgba(251, 250, 245, 0.66);
  font-size: 0.9rem;
}

.women-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.women-hero-strip img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.women-section {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  scroll-margin-top: 110px;
}

.women-look-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.women-look-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.women-look-main {
  position: relative;
  min-height: 360px;
  background: #0d1412;
}

.women-look-main img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(255, 244, 207, 0.08), rgba(0, 0, 0, 0.38));
}

.women-look-main span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.6rem;
  color: #11100b;
  border-radius: 999px;
  background: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
}

.women-look-body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.women-option-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 72px));
  gap: 0.45rem;
}

.women-option-strip button {
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101815;
}

.women-option-strip .women-more-tile {
  display: grid;
  place-items: center;
  gap: 0.1rem;
  min-height: 54px;
  padding: 0.35rem;
  color: var(--cream);
  cursor: pointer;
}

.women-more-tile strong {
  color: var(--gold-light);
  font-size: 1.1rem;
}

.women-more-tile span {
  color: rgba(251, 250, 245, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
}

.women-option-strip button.active,
.women-option-strip button:hover {
  border-color: var(--gold-light);
}

.women-option-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.jewelry-page {
  display: grid;
  gap: 1.5rem;
}

.jewelry-spotlight {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.jewelry-spotlight img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.jewelry-section {
  display: grid;
  gap: 1rem;
}

.jewelry-tags,
.track-help {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.jewelry-tags span,
.track-help span {
  padding: 0.5rem 0.7rem;
  color: var(--cream);
  border: 1px solid rgba(255, 244, 207, 0.14);
  border-radius: 999px;
  background: rgba(216, 164, 65, 0.11);
  font-size: 0.84rem;
  font-weight: 800;
}

.jewelry-choice-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.choice-action {
  display: grid;
  gap: 0.35rem;
  min-height: 116px;
  padding: 1rem;
  color: var(--cream);
  text-align: left;
  border: 1px solid rgba(255, 244, 207, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.choice-action:hover,
.choice-action:focus-visible {
  border-color: rgba(255, 231, 160, 0.72);
  background: rgba(216, 164, 65, 0.14);
}

.choice-action strong {
  font-size: 1.05rem;
}

.choice-action span {
  color: rgba(251, 250, 245, 0.68);
  line-height: 1.45;
}

.choice-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.side-toggle {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-toggle label {
  position: relative;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  color: rgba(251, 250, 245, 0.74);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.choice-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-toggle label:has(input:checked) {
  color: #11100b;
  border-color: transparent;
  background: var(--gold-light);
}

.track-help {
  margin: 0.8rem 0 1rem;
}

.track-result {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.track-result h3 {
  overflow-wrap: anywhere;
}

.track-status {
  justify-self: start;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: #12100b;
  background: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
}

.custom-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.custom-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.custom-feature img,
.custom-panel img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.custom-feature img {
  aspect-ratio: 1 / 1;
}

.custom-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
  max-width: 980px;
  margin-inline: auto;
}

.custom-gallery figure {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  content-visibility: auto;
  contain-intrinsic-size: 240px 250px;
}

.custom-gallery img {
  display: block;
  width: 100%;
  height: clamp(140px, 17vw, 190px);
  object-fit: cover;
}

.custom-gallery figcaption {
  padding: 0.7rem 0.75rem;
  color: var(--cream);
  font-weight: 800;
}

.custom-panel {
  display: grid;
  gap: 1rem;
}

.custom-panel img {
  aspect-ratio: 1 / 1;
}

.product-card,
.women-look-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px 430px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-list span {
  padding: 0.5rem 0.7rem;
  color: var(--cream);
  border: 1px solid rgba(255, 244, 207, 0.14);
  border-radius: 999px;
  background: rgba(216, 164, 65, 0.11);
  font-size: 0.84rem;
  font-weight: 800;
}

.photo-request-field small {
  color: rgba(251, 250, 245, 0.6);
  font-size: 0.78rem;
  line-height: 1.35;
}

.photo-request-field input[type="file"] {
  padding: 0.72rem;
  color: rgba(251, 250, 245, 0.78);
  border: 1px dashed rgba(255, 231, 160, 0.35);
  background: rgba(216, 164, 65, 0.08);
}

.customizer-studio {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
  align-items: start;
}

.live-preview-card,
.custom-designer-form,
.custom-inspiration {
  display: grid;
  gap: 1rem;
}

.custom-preview-stage {
  --metal: #d8a441;
  --metal-soft: #ffe7a0;
  --metal-dark: #8e6925;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 207, 0.16);
  border-radius: 8px;
  background: #07100e;
}

.custom-preview-stage::before {
  display: none;
}

.custom-preview-stage::after {
  display: none;
}

.custom-preview-stage[data-finish="silver"] {
  --metal: #d9dde0;
  --metal-soft: #ffffff;
  --metal-dark: #7d8588;
}

.custom-preview-stage[data-finish="rose-gold"] {
  --metal: #d8a28e;
  --metal-soft: #ffd8cb;
  --metal-dark: #8e5f52;
}

.custom-preview-stage[data-finish="black"] {
  --metal: #171717;
  --metal-soft: #4c4c4c;
  --metal-dark: #050505;
}

.custom-preview-stage[data-finish="two-tone"] {
  --metal: #d8a441;
  --metal-soft: #f7f7f7;
  --metal-dark: #7d8588;
}

.studio-turntable {
  position: relative;
  z-index: 2;
  width: min(470px, calc(100% - 1.5rem));
  aspect-ratio: 0.92 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 207, 0.18);
  border-radius: 8px;
  background: #111716;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 80px rgba(255, 231, 160, 0.05);
  transform: perspective(1100px) rotateY(var(--studio-rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.28s ease;
}

.studio-three-shell {
  isolation: isolate;
}

.studio3d-viewport {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #111716;
  cursor: grab;
}

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

.studio3d-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.studio3d-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: rgba(255, 244, 207, 0.74);
  background: #111716;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio3d-help {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 5;
  padding: 0.42rem 0.62rem;
  color: rgba(255, 244, 207, 0.78);
  border: 1px solid rgba(255, 244, 207, 0.16);
  border-radius: 999px;
  background: rgba(3, 6, 5, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.studio-mockup-photo {
  display: none;
}

.studio-photo-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.studio-photo-wrap::before,
.studio-photo-wrap::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.custom-preview-stage[data-surface="bar"] .studio-photo-wrap::before,
.custom-preview-stage[data-surface="dogtag"] .studio-photo-wrap::before,
.custom-preview-stage[data-surface="keyholder"] .studio-photo-wrap::before {
  top: 14%;
  width: 42%;
  height: 34%;
  border-top: 4px solid color-mix(in srgb, var(--metal-soft) 58%, var(--metal));
  border-left: 3px solid color-mix(in srgb, var(--metal-soft) 46%, var(--metal));
  border-right: 3px solid color-mix(in srgb, var(--metal-soft) 46%, var(--metal));
  border-radius: 50% 50% 0 0;
  opacity: 0.84;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.42));
  transform: translateZ(18px);
}

.custom-preview-stage[data-surface="bracelet"] .studio-photo-wrap::before,
.custom-preview-stage[data-surface="cuff"] .studio-photo-wrap::before {
  width: 78%;
  height: 38%;
  border: 22px solid color-mix(in srgb, var(--metal) 84%, var(--metal-dark));
  border-bottom-color: color-mix(in srgb, var(--metal-dark) 78%, #000);
  border-radius: 50%;
  opacity: 0.75;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.45));
  transform: rotateX(62deg) translateZ(2px);
}

.custom-preview-stage[data-surface="envelope"] .studio-photo-wrap::before,
.custom-preview-stage[data-surface="book"] .studio-photo-wrap::before {
  top: 16%;
  width: 42%;
  height: 30%;
  border-top: 3px solid color-mix(in srgb, var(--metal-soft) 58%, var(--metal));
  border-left: 2px solid color-mix(in srgb, var(--metal-soft) 46%, var(--metal));
  border-right: 2px solid color-mix(in srgb, var(--metal-soft) 46%, var(--metal));
  border-radius: 50% 50% 0 0;
  opacity: 0.78;
}

.studio-photo-wrap::after {
  left: 50%;
  bottom: 16%;
  width: 48%;
  height: 8%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(12px);
  transform: translateX(-50%) translateZ(-20px);
}

.jewelry-surface {
  --surface-left: 50%;
  --surface-top: 52%;
  --surface-width: 32%;
  --surface-height: 22%;
  --surface-rotate: 0deg;
  position: absolute;
  left: var(--surface-left);
  top: var(--surface-top);
  z-index: 4;
  display: grid;
  place-items: center;
  width: var(--surface-width);
  height: var(--surface-height);
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.5));
  transform: translate(-50%, -50%) rotate(var(--surface-rotate)) rotateX(var(--surface-tilt, 0deg)) translateZ(34px);
  transform-style: preserve-3d;
}

.jewelry-surface::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 32%, rgba(0, 0, 0, 0.16));
  mix-blend-mode: soft-light;
  opacity: 0.32;
  pointer-events: none;
}

.editable-metal-piece {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.74), transparent 18%),
    linear-gradient(155deg, var(--metal-soft), var(--metal) 48%, var(--metal-dark));
  box-shadow:
    inset 0 2px 12px rgba(255, 255, 255, 0.32),
    inset 0 -13px 22px rgba(0, 0, 0, 0.28),
    0 16px 32px rgba(0, 0, 0, 0.36);
}

.editable-metal-piece::after {
  content: "";
  position: absolute;
  inset: 8% auto 8% 0;
  width: 22%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0.56;
}

.custom-preview-stage[data-finish="silver"] .editable-metal-piece {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.82), transparent 18%),
    linear-gradient(155deg, #f8f9f8, #cfd5d7 48%, #7f8789);
}

.custom-preview-stage[data-finish="black"] .editable-metal-piece {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(155deg, #3b3b3b, #111 48%, #020202);
}

.custom-preview-stage[data-finish="rose-gold"] .editable-metal-piece {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.74), transparent 18%),
    linear-gradient(155deg, #ffd8cb, #d8a28e 48%, #805348);
}

.custom-preview-stage[data-finish="two-tone"] .editable-metal-piece {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(90deg, #d8a441 0 49%, #f7f7f7 50% 100%);
}

.custom-preview-stage[data-surface="dogtag"] .editable-metal-piece,
.custom-preview-stage[data-surface="keyholder"] .editable-metal-piece {
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
}

.custom-preview-stage[data-surface="dogtag"] .editable-metal-piece::before,
.custom-preview-stage[data-surface="keyholder"] .editable-metal-piece::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(3, 6, 5, 0.82);
  transform: translateX(-50%);
}

.custom-preview-stage[data-surface="dogtag"] .jewelry-surface::before,
.custom-preview-stage[data-surface="keyholder"] .jewelry-surface::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: 5;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #101514;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.65);
  transform: translateX(-50%);
}

.custom-preview-stage[data-surface="envelope"] .editable-metal-piece {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(145deg, var(--metal-soft), var(--metal) 48%, var(--metal-dark));
}

.custom-preview-stage[data-surface="envelope"] .editable-metal-piece::before,
.custom-preview-stage[data-surface="envelope"] .editable-metal-piece::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(150deg, transparent 49%, rgba(0, 0, 0, 0.18) 50% 52%, transparent 53%),
    linear-gradient(30deg, transparent 49%, rgba(255, 255, 255, 0.32) 50% 52%, transparent 53%);
}

.custom-preview-stage[data-surface="cuff"] .editable-metal-piece {
  transform: perspective(220px) rotateX(20deg);
}

.jewelry-surface .mockup-photo-window {
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.custom-preview-stage[data-photo-piece="true"][data-side="front"] .jewelry-surface .mockup-photo-window {
  display: grid;
}

.custom-preview-stage[data-photo-piece="false"] .jewelry-surface .mockup-photo-window,
.custom-preview-stage[data-photo-piece="true"][data-side="back"] .jewelry-surface .mockup-photo-window {
  display: none;
}

.custom-preview-stage[data-surface="bar"] .jewelry-surface {
  --surface-left: 50%;
  --surface-top: 53%;
  --surface-width: 14%;
  --surface-height: 58%;
  --surface-tilt: 8deg;
  border-radius: 999px;
}

.custom-preview-stage[data-surface="bracelet"] .jewelry-surface {
  --surface-left: 50%;
  --surface-top: 50%;
  --surface-width: 70%;
  --surface-height: 20%;
  --surface-tilt: 10deg;
  border-radius: 999px;
}

.custom-preview-stage[data-surface="bracelet"][data-variant="inside-message"] .jewelry-surface {
  --surface-top: 36%;
  --surface-width: 38%;
  --surface-height: 20%;
}

.custom-preview-stage[data-surface="dogtag"] .jewelry-surface,
.custom-preview-stage[data-surface="keyholder"] .jewelry-surface {
  --surface-left: 50%;
  --surface-top: 54%;
  --surface-width: 38%;
  --surface-height: 50%;
  --surface-tilt: 6deg;
  border-radius: 24px;
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
}

.custom-preview-stage[data-surface="dogtag"][data-variant="blank-pair"] .jewelry-surface {
  --surface-left: 37%;
  --surface-top: 54%;
  --surface-width: 29%;
  --surface-height: 42%;
  --surface-rotate: -2deg;
}

.custom-preview-stage[data-surface="dogtag"][data-variant="photo-and-text"] .jewelry-surface {
  --surface-left: 34%;
  --surface-top: 46%;
  --surface-width: 25%;
  --surface-height: 36%;
  --surface-rotate: -11deg;
}

.custom-preview-stage[data-surface="keyholder"] .jewelry-surface {
  --surface-top: 61%;
  --surface-width: 33%;
  --surface-height: 36%;
  clip-path: none;
}

.custom-preview-stage[data-surface="envelope"] .jewelry-surface {
  --surface-left: 50%;
  --surface-top: 52%;
  --surface-width: 52%;
  --surface-height: 34%;
  --surface-rotate: -9deg;
  --surface-tilt: 8deg;
  border-radius: 10px;
}

.custom-preview-stage[data-surface="book"] .jewelry-surface {
  --surface-left: 48%;
  --surface-top: 53%;
  --surface-width: 42%;
  --surface-height: 44%;
  --surface-rotate: -12deg;
  --surface-tilt: 7deg;
  border-radius: 8px;
}

.custom-preview-stage[data-surface="cuff"] .jewelry-surface {
  --surface-left: 50%;
  --surface-top: 51%;
  --surface-width: 70%;
  --surface-height: 13%;
  --surface-rotate: -4deg;
  --surface-tilt: 18deg;
  border-radius: 999px;
}

.custom-preview-stage[data-surface="name"] .jewelry-surface {
  display: none;
}

.name-necklace-object {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  width: 78%;
  min-height: 32%;
  color: var(--metal);
  text-align: center;
  transform: translate(-50%, -50%) translateZ(36px);
  transform-style: preserve-3d;
  pointer-events: none;
}

.custom-preview-stage[data-surface="name"] .name-necklace-object {
  display: flex;
}

.name-necklace-text {
  position: relative;
  z-index: 3;
  display: inline-block;
  max-width: 82%;
  color: var(--metal);
  font-family: "Great Vibes", Georgia, serif;
  font-size: calc(var(--engraving-size) * 1.34);
  font-weight: 400;
  line-height: 0.88;
  overflow-wrap: anywhere;
  text-shadow:
    0 2px 0 var(--metal-soft),
    0 9px 18px rgba(0, 0, 0, 0.5),
    0 -1px 0 rgba(255, 255, 255, 0.45);
  transform: rotateX(10deg);
}

.name-chain {
  position: absolute;
  top: 0;
  width: 38%;
  height: 38%;
  border-top: 3px solid color-mix(in srgb, var(--metal-soft) 64%, var(--metal));
  opacity: 0.68;
}

.name-chain.left {
  right: 52%;
  border-left: 2px solid color-mix(in srgb, var(--metal-soft) 50%, var(--metal));
  border-radius: 50% 0 0 0;
  transform: rotate(-18deg);
}

.name-chain.right {
  left: 52%;
  border-right: 2px solid color-mix(in srgb, var(--metal-soft) 50%, var(--metal));
  border-radius: 0 50% 0 0;
  transform: rotate(18deg);
}

.name-wing,
.name-infinity-mark,
.name-charm {
  display: none;
}

.custom-preview-stage[data-variant="angel-wings"] .name-wing {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 50px;
  height: 32px;
  border-top: 7px solid currentColor;
  border-radius: 100% 8px 0 0;
  filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.36));
}

.custom-preview-stage[data-variant="angel-wings"] .name-wing.left {
  margin-right: -0.35rem;
  transform: skewX(-15deg) rotate(-8deg);
}

.custom-preview-stage[data-variant="angel-wings"] .name-wing.right {
  margin-left: -0.35rem;
  transform: scaleX(-1) skewX(-15deg) rotate(-8deg);
}

.custom-preview-stage[data-variant="infinity"] .name-infinity-mark {
  display: inline-block;
  margin-right: 0.45rem;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: calc(var(--engraving-size) * 2.1);
  line-height: 1;
  text-shadow: 0 7px 16px rgba(0, 0, 0, 0.46);
}

.custom-preview-stage[data-variant="heart"] .name-charm,
.custom-preview-stage[data-variant="butterfly"] .name-charm,
.custom-preview-stage[data-variant="script-butterfly"] .name-charm {
  position: relative;
  z-index: 4;
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: 0.22rem;
  color: currentColor;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.36));
}

.custom-preview-stage[data-variant="heart"] .name-charm {
  width: 28px;
  height: 28px;
  background: currentColor;
  transform: rotate(-45deg);
}

.custom-preview-stage[data-variant="heart"] .name-charm::before,
.custom-preview-stage[data-variant="heart"] .name-charm::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: currentColor;
}

.custom-preview-stage[data-variant="heart"] .name-charm::before {
  top: -14px;
  left: 0;
}

.custom-preview-stage[data-variant="heart"] .name-charm::after {
  top: 0;
  left: 14px;
}

.custom-preview-stage[data-variant="butterfly"] .name-charm::before,
.custom-preview-stage[data-variant="script-butterfly"] .name-charm::before,
.custom-preview-stage[data-variant="butterfly"] .name-charm::after,
.custom-preview-stage[data-variant="script-butterfly"] .name-charm::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 16px;
  height: 23px;
  border-radius: 85% 8% 85% 20%;
  background: currentColor;
}

.custom-preview-stage[data-variant="butterfly"] .name-charm::before,
.custom-preview-stage[data-variant="script-butterfly"] .name-charm::before {
  left: 0;
  transform: rotate(-28deg);
}

.custom-preview-stage[data-variant="butterfly"] .name-charm::after,
.custom-preview-stage[data-variant="script-butterfly"] .name-charm::after {
  right: 0;
  transform: scaleX(-1) rotate(-28deg);
}

.studio-turntable::before {
  display: none;
}

.design-overlay {
  --overlay-left: 50%;
  --overlay-top: 52%;
  --overlay-width: 34%;
  --overlay-height: 22%;
  position: absolute;
  left: var(--overlay-left);
  top: var(--overlay-top);
  z-index: 3;
  width: var(--overlay-width);
  height: var(--overlay-height);
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 231, 160, 0.78);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(216, 164, 65, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
}

.custom-preview-stage[data-piece="bar-necklace"] .design-overlay {
  --overlay-left: 51%;
  --overlay-top: 52%;
  --overlay-width: 13%;
  --overlay-height: 50%;
  border-radius: 999px;
}

.custom-preview-stage[data-piece="photo-pendant"] .design-overlay {
  --overlay-left: 51%;
  --overlay-top: 61%;
  --overlay-width: 28%;
  --overlay-height: 28%;
  border-radius: 18px;
}

.custom-preview-stage[data-piece="dog-tag"] .design-overlay,
.custom-preview-stage[data-piece="keyholder"] .design-overlay {
  --overlay-left: 51%;
  --overlay-top: 58%;
  --overlay-width: 30%;
  --overlay-height: 31%;
  border-radius: 18px;
}

.custom-preview-stage[data-piece="name-bracelet"] .design-overlay {
  --overlay-left: 50%;
  --overlay-top: 54%;
  --overlay-width: 58%;
  --overlay-height: 14%;
  border-radius: 999px;
}

.custom-preview-stage[data-piece="bangle"] .design-overlay {
  --overlay-left: 50%;
  --overlay-top: 53%;
  --overlay-width: 34%;
  --overlay-height: 16%;
  border-radius: 999px;
}

.custom-preview-stage[data-side="back"] .studio-mockup-photo {
  filter: saturate(0.92) contrast(1.05) brightness(0.85);
}

.custom-preview-stage[data-side="back"] .studio-turntable::after {
  display: none;
}

.studio-surface-tag {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 5;
  padding: 0.4rem 0.55rem;
  color: #11100b;
  border-radius: 999px;
  background: rgba(255, 231, 160, 0.92);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-piece,
.mockup-chain,
.mockup-key-ring,
.mockup-bangle-ring,
.mockup-bracelet-links {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.mockup-piece {
  display: grid;
  place-items: center;
  width: 230px;
  height: 300px;
  color: #14100a;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 18%),
    linear-gradient(145deg, var(--metal-soft), var(--metal) 48%, var(--metal-dark));
  box-shadow:
    inset 0 2px 18px rgba(255, 255, 255, 0.22),
    inset 0 -18px 28px rgba(0, 0, 0, 0.22),
    0 28px 70px rgba(0, 0, 0, 0.42);
}

.custom-preview-stage[data-finish="two-tone"] .mockup-piece {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 18%),
    linear-gradient(90deg, #d8a441 0 50%, #e8ecee 50% 100%);
}

.mockup-piece::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.mockup-piece::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.mockup-chain {
  top: 5.4rem;
  width: 360px;
  height: 240px;
  border: 3px solid rgba(225, 230, 230, 0.7);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.mockup-key-ring {
  top: 4.4rem;
  width: 118px;
  height: 118px;
  border: 12px solid rgba(224, 228, 229, 0.78);
  border-radius: 50%;
  opacity: 0;
}

.mockup-bangle-ring {
  width: 360px;
  height: 360px;
  border: 22px solid var(--metal);
  border-radius: 50%;
  opacity: 0;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.34);
}

.mockup-bracelet-links {
  width: 180px;
  height: 58px;
  opacity: 0;
  background: repeating-linear-gradient(90deg, var(--metal-dark) 0 18px, var(--metal-soft) 18px 34px);
  border-radius: 18px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.22);
}

.mockup-bracelet-links.left {
  margin-right: 320px;
}

.mockup-bracelet-links.right {
  margin-left: 320px;
}

.mockup-photo-window {
  position: absolute;
  z-index: 2;
  display: none;
  place-items: center;
  width: 64%;
  height: 48%;
  color: rgba(251, 250, 245, 0.82);
  border: 1px dashed rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(5, 7, 6, 0.72), rgba(5, 7, 6, 0.38));
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-side-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  color: rgba(17, 16, 11, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.jewelry-surface .mockup-side-label {
  display: none;
}

.engraving-text {
  position: absolute;
  left: var(--engraving-x);
  top: var(--engraving-y);
  z-index: 4;
  max-width: 82%;
  color: #15110b;
  font-size: var(--engraving-size);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
}

.custom-preview-stage[data-finish="black"] .engraving-text,
.custom-preview-stage[data-finish="black"] .mockup-side-label {
  color: #fff4cf;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.custom-preview-stage[data-font="script"] .engraving-text,
.custom-preview-stage[data-font="script"] .name-necklace-text {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.custom-preview-stage[data-font="great-vibes"] .engraving-text,
.custom-preview-stage[data-font="great-vibes"] .name-necklace-text {
  font-family: "Great Vibes", Georgia, serif;
  font-weight: 400;
}

.custom-preview-stage[data-font="allura"] .engraving-text,
.custom-preview-stage[data-font="allura"] .name-necklace-text {
  font-family: Allura, Georgia, serif;
  font-weight: 400;
}

.custom-preview-stage[data-font="dancing"] .engraving-text,
.custom-preview-stage[data-font="dancing"] .name-necklace-text {
  font-family: "Dancing Script", Georgia, serif;
  font-weight: 700;
}

.custom-preview-stage[data-font="parisienne"] .engraving-text,
.custom-preview-stage[data-font="parisienne"] .name-necklace-text {
  font-family: Parisienne, Georgia, serif;
  font-weight: 400;
}

.custom-preview-stage[data-font="imperial"] .engraving-text,
.custom-preview-stage[data-font="imperial"] .name-necklace-text {
  font-family: "Imperial Script", "Great Vibes", Georgia, serif;
  font-weight: 400;
}

.custom-preview-stage[data-font="alex"] .engraving-text,
.custom-preview-stage[data-font="alex"] .name-necklace-text {
  font-family: "Alex Brush", "Great Vibes", Georgia, serif;
  font-weight: 400;
}

.custom-preview-stage[data-font="tangerine"] .engraving-text,
.custom-preview-stage[data-font="tangerine"] .name-necklace-text {
  font-family: Tangerine, "Great Vibes", Georgia, serif;
  font-weight: 700;
}

.custom-preview-stage[data-font="playfair"] .engraving-text,
.custom-preview-stage[data-font="playfair"] .name-necklace-text {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
}

.custom-preview-stage[data-font="gothic"] .engraving-text,
.custom-preview-stage[data-font="gothic"] .name-necklace-text {
  font-family: UnifrakturMaguntia, Cinzel, Georgia, serif;
  font-weight: 400;
}

.custom-preview-stage[data-font="cinzel"] .engraving-text,
.custom-preview-stage[data-font="cinzel"] .name-necklace-text {
  font-family: Cinzel, Georgia, serif;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-preview-stage[data-font="sans"] .engraving-text,
.custom-preview-stage[data-font="sans"] .name-necklace-text {
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-weight: 800;
}

.custom-preview-stage[data-font="caps"] .engraving-text,
.custom-preview-stage[data-font="caps"] .name-necklace-text {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: calc(var(--engraving-size) * 0.82);
  text-transform: uppercase;
}

.custom-preview-stage[data-surface="bar"] .engraving-text {
  max-width: 92%;
  max-height: 88%;
  font-size: calc(var(--engraving-size) * 0.58);
  line-height: 0.94;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.custom-preview-stage[data-surface="bracelet"] .engraving-text {
  max-width: 88%;
  font-size: calc(var(--engraving-size) * 0.72);
}

.custom-preview-stage[data-surface="bracelet"][data-variant="inside-message"] .engraving-text {
  max-width: 88%;
  color: #fff4cf;
  font-size: calc(var(--engraving-size) * 0.38);
  line-height: 1.15;
}

.custom-preview-stage[data-surface="dogtag"] .engraving-text,
.custom-preview-stage[data-surface="keyholder"] .engraving-text {
  max-width: 74%;
  color: #f7f2df;
  font-size: calc(var(--engraving-size) * 0.46);
  line-height: 1.15;
}

.custom-preview-stage[data-surface="dogtag"][data-side="back"] .engraving-text {
  display: block;
}

.custom-preview-stage[data-surface="envelope"] .engraving-text {
  max-width: 78%;
  font-size: calc(var(--engraving-size) * 0.36);
  line-height: 1.05;
}

.custom-preview-stage[data-surface="book"] .engraving-text {
  max-width: 72%;
  font-size: calc(var(--engraving-size) * 0.3);
  line-height: 1.18;
}

.custom-preview-stage[data-surface="cuff"] .engraving-text {
  max-width: 94%;
  font-size: calc(var(--engraving-size) * 0.32);
  line-height: 1;
  white-space: nowrap;
}

.custom-preview-stage[data-piece="bar-necklace"] .mockup-piece {
  width: 78px;
  height: 360px;
  border-radius: 999px;
}

.custom-preview-stage[data-piece="bar-necklace"] .engraving-text {
  max-width: 280px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.custom-preview-stage[data-piece="photo-pendant"] .mockup-photo-window,
.custom-preview-stage[data-piece="dog-tag"] .mockup-photo-window,
.custom-preview-stage[data-piece="keyholder"] .mockup-photo-window {
  display: grid;
}

.custom-preview-stage[data-side="back"] .mockup-photo-window {
  display: none;
}

.uploaded-photo-preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.custom-preview-stage[data-has-upload="true"] .uploaded-photo-preview {
  display: block;
}

.custom-preview-stage[data-has-upload="true"] .mockup-photo-window {
  display: none;
}

.custom-preview-stage[data-piece="dog-tag"] .mockup-piece,
.custom-preview-stage[data-piece="keyholder"] .mockup-piece {
  width: 220px;
  height: 312px;
  border-radius: 48px 48px 34px 34px;
}

.custom-preview-stage[data-piece="keyholder"] .mockup-key-ring {
  opacity: 1;
}

.custom-preview-stage[data-piece="keyholder"] .mockup-piece {
  top: 13.5rem;
}

.custom-preview-stage[data-piece="name-bracelet"] .mockup-chain,
.custom-preview-stage[data-piece="bangle"] .mockup-chain,
.custom-preview-stage[data-piece="keyholder"] .mockup-chain {
  opacity: 0;
}

.custom-preview-stage[data-piece="name-bracelet"] .mockup-piece {
  width: 330px;
  height: 76px;
  border-radius: 999px;
}

.custom-preview-stage[data-piece="name-bracelet"] .mockup-bracelet-links {
  opacity: 1;
}

.custom-preview-stage[data-piece="name-bracelet"] .mockup-piece::before,
.custom-preview-stage[data-piece="name-bracelet"] .mockup-piece::after,
.custom-preview-stage[data-piece="bangle"] .mockup-piece::before,
.custom-preview-stage[data-piece="bangle"] .mockup-piece::after {
  display: none;
}

.custom-preview-stage[data-piece="bangle"] .mockup-bangle-ring {
  opacity: 1;
}

.custom-preview-stage[data-piece="bangle"] .mockup-piece {
  width: 210px;
  height: 70px;
  border-radius: 999px;
}

.custom-preview-stage[data-choice="plain"] .engraving-text {
  display: none;
}

.custom-preview-stage[data-photo-piece="true"][data-side="front"] .engraving-text {
  display: none;
}

.custom-preview-stage[data-photo-piece="true"][data-side="back"] .uploaded-photo-preview,
.custom-preview-stage[data-photo-piece="true"][data-side="back"] .mockup-photo-window {
  display: none;
}

.custom-preview-stage[data-photo-piece="false"] .uploaded-photo-preview,
.custom-preview-stage[data-photo-piece="false"] .mockup-photo-window,
.custom-preview-stage[data-surface="name"] .uploaded-photo-preview,
.custom-preview-stage[data-surface="name"] .mockup-photo-window {
  display: none;
}

.custom-preview-stage[data-choice="plain"] .name-necklace-text,
.custom-preview-stage[data-choice="plain"] .name-charm,
.custom-preview-stage[data-choice="plain"] .name-wing,
.custom-preview-stage[data-choice="plain"] .name-infinity-mark {
  opacity: 0;
}

.plain-preview-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: none;
  padding: 0.45rem 0.65rem;
  color: #11100b;
  border-radius: 999px;
  background: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 900;
}

.custom-preview-stage[data-choice="plain"] .plain-preview-note {
  display: inline-block;
}

.preview-summary {
  display: grid;
  gap: 0.35rem;
}

.preview-summary h3 {
  margin: 0;
}

.designer-block {
  display: grid;
  gap: 0.7rem;
}

.design-piece-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.design-variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.design-piece-card {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  grid-template-rows: 86px auto;
  min-height: 132px;
  padding: 0.55rem;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.design-piece-card.active,
.design-piece-card:hover {
  border-color: rgba(255, 231, 160, 0.72);
  background: rgba(216, 164, 65, 0.14);
}

.design-variant-card {
  display: grid;
  gap: 0.4rem;
  min-height: 98px;
  padding: 0.45rem;
  color: rgba(251, 250, 245, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.design-variant-card img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(3, 6, 5, 0.55);
}

.design-variant-card.active,
.design-variant-card:hover {
  color: var(--cream);
  border-color: rgba(255, 231, 160, 0.72);
  background: rgba(216, 164, 65, 0.14);
}

.piece-thumb {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.design-piece-card:hover .piece-thumb,
.design-piece-card:focus-visible .piece-thumb,
.design-variant-card:hover img,
.design-variant-card:focus-visible img {
  filter: saturate(1.16) contrast(1.08);
  transform: perspective(520px) rotateY(8deg) scale(1.03);
}

.mini-jewel {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
}

.mini-jewel::before {
  content: "";
  position: absolute;
  inset: 8px 17px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
}

.mini-jewel[data-mini-piece="photo-pendant"]::before,
.mini-jewel[data-mini-piece="dog-tag"]::before,
.mini-jewel[data-mini-piece="keyholder"]::before {
  inset: 8px 13px;
  border-radius: 14px;
}

.mini-jewel[data-mini-piece="name-bracelet"]::before,
.mini-jewel[data-mini-piece="bangle"]::before {
  inset: 20px 4px;
}

.mini-jewel[data-mini-piece="bangle"]::before {
  inset: 7px;
  border: 6px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.custom-inspiration {
  margin-top: 1rem;
}

.custom-page {
  width: min(1280px, calc(100% - 2rem));
}

.custom-studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(255, 244, 207, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 39, 33, 0.82), rgba(7, 16, 14, 0.86)),
    rgba(255, 255, 255, 0.04);
}

.custom-studio-intro h2 {
  margin-bottom: 0.8rem;
}

.custom-studio-intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(251, 250, 245, 0.76);
  line-height: 1.65;
}

.studio-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.studio-flow span {
  display: grid;
  gap: 0.3rem;
  min-height: 82px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 244, 207, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(251, 250, 245, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.studio-flow strong {
  color: var(--gold-light);
  font-size: 1rem;
}

.custom-page .customizer-studio {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
}

.custom-page .live-preview-card {
  position: sticky;
  top: 6.5rem;
  padding: 1rem;
  border-color: rgba(255, 231, 160, 0.22);
  background:
    radial-gradient(circle at 50% 12%, rgba(216, 164, 65, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.055);
}

.studio-panel-head,
.designer-block-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.studio-panel-head h3,
.designer-block-head h3 {
  margin: 0;
}

.studio-panel-head > span {
  flex: 0 0 auto;
  padding: 0.42rem 0.65rem;
  color: #11100b;
  border-radius: 999px;
  background: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
}

.custom-page .custom-preview-stage {
  min-height: clamp(460px, 55vw, 620px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 231, 160, 0.09), transparent 17rem),
    linear-gradient(160deg, #0b1714, #050808);
}

.custom-page .custom-designer-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.custom-page .designer-block {
  padding: 1rem;
  border: 1px solid rgba(255, 244, 207, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.custom-page .design-piece-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.custom-page .design-piece-card {
  grid-template-rows: 76px auto;
  min-height: 118px;
}

.custom-page .piece-thumb {
  height: 76px;
}

.custom-page .design-variant-grid {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.custom-page .studio-options-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-details-block {
  background: rgba(216, 164, 65, 0.08);
}

.studio-submit-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 231, 160, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 164, 65, 0.18), rgba(255, 255, 255, 0.055)),
    #111815;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.studio-submit-bar p {
  margin-bottom: 0.35rem;
}

.studio-submit-bar strong {
  color: var(--cream);
  font-size: 1.15rem;
}

.custom-page .custom-inspiration {
  margin-top: 2rem;
}

.custom-page .custom-gallery {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  max-width: none;
}

.custom-page .custom-gallery img {
  height: clamp(118px, 13vw, 150px);
}

.custom-page .custom-gallery figcaption {
  font-size: 0.86rem;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(460px, 100%);
  padding: 1rem;
  background: #07100e;
  border-left: 1px solid var(--line);
  transform: translateX(104%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.62);
  transition: opacity 0.24s ease;
}

.cart-open .scrim {
  opacity: 1;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.drawer-head h2 {
  margin: 0;
  font-size: 2rem;
}

.cart-item,
.line-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--cream);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.modal {
  width: min(980px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08110f;
  box-shadow: var(--shadow);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 0.8rem;
  background: rgba(8, 17, 15, 0.92);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 1.2rem;
  padding: 0 1.25rem 1.25rem;
}

.detail-media {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.detail-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-option-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(251, 250, 245, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-nav {
  display: flex;
  gap: 0.45rem;
}

.detail-arrow.icon-button {
  width: 36px;
  height: 36px;
  color: var(--cream);
  background: rgba(216, 164, 65, 0.12);
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.55rem;
  max-height: 250px;
  overflow-y: auto;
  padding: 0.15rem 0.25rem 0.15rem 0.05rem;
}

.detail-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #101815;
  cursor: pointer;
  overflow: hidden;
}

.detail-thumb:hover,
.detail-thumb:focus-visible {
  border-color: rgba(216, 164, 65, 0.58);
}

.detail-thumb.active {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(216, 164, 65, 0.2);
}

.detail-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.spec-list {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.tabs button {
  min-height: 40px;
  padding: 0 0.8rem;
  color: rgba(251, 250, 245, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}

.tabs button.active {
  color: #11100b;
  background: var(--gold-light);
}

.metric strong {
  display: block;
  color: var(--cream);
  font-size: 2rem;
}

.admin-list,
.orders-list {
  display: grid;
  gap: 0.8rem;
}

.admin-product,
.order-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 8px;
}

.admin-product {
  grid-template-columns: 82px 1fr auto;
  align-items: center;
}

.admin-product img,
.order-card img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.admin-product h3 {
  overflow-wrap: anywhere;
}

.custom-order-card {
  gap: 1.1rem;
}

.custom-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1rem;
  align-items: start;
}

.custom-request-main {
  display: grid;
  gap: 0.75rem;
}

.custom-request-main h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.custom-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.custom-detail {
  min-height: 72px;
  padding: 0.7rem;
  border: 1px solid rgba(255, 244, 207, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.custom-detail.wide {
  grid-column: 1 / -1;
}

.custom-detail span,
.custom-notes span,
.custom-reference span {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.custom-detail strong {
  display: block;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.custom-detail.wide strong {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.custom-notes {
  padding: 0.75rem;
  border: 1px solid rgba(255, 244, 207, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.custom-notes p {
  margin: 0;
  color: rgba(251, 250, 245, 0.78);
  font-size: 1rem;
}

.custom-reference {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  color: var(--cream);
  text-decoration: none;
}

.custom-reference img {
  width: 100%;
  height: clamp(220px, 24vw, 310px);
  border: 1px solid rgba(255, 244, 207, 0.22);
  border-radius: 8px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.28);
}

.custom-reference span {
  margin: 0;
  text-align: center;
}

.empty-reference {
  min-height: 220px;
  place-items: center;
  padding: 1rem;
  border: 1px dashed rgba(255, 244, 207, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.custom-order-card .status-row {
  grid-template-columns: minmax(160px, 220px) minmax(120px, 180px) minmax(260px, 1fr) auto;
}

.custom-order-card textarea[data-custom-message] {
  min-height: 48px;
  resize: vertical;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(120px, 180px) 1fr auto;
  gap: 0.7rem;
  align-items: end;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-grid h3 {
  overflow-wrap: anywhere;
}

.contact-grid {
  grid-template-columns: minmax(135px, 0.72fr) minmax(160px, 0.78fr) minmax(280px, 1.35fr);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(2, 5, 4, 0.72);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr) auto;
  gap: 2rem;
  align-items: center;
  padding-block: 2.25rem;
}

.site-footer p:not(.eyebrow) {
  max-width: 480px;
  margin: 0;
  color: rgba(251, 250, 245, 0.68);
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: rgba(251, 250, 245, 0.78);
  background: transparent;
  text-align: left;
}

.footer-links button:hover {
  color: var(--gold-light);
}

.footer-whatsapp {
  color: #11100b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.about-intro > img {
  width: 100%;
  min-height: 410px;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.about-principles article {
  min-height: 190px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.about-principles span {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
}

.about-principles h3 {
  margin: 0.8rem 0 0.5rem;
}

.about-principles p {
  margin: 0;
  color: rgba(251, 250, 245, 0.68);
  line-height: 1.55;
}

.support-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 58, 47, 0.6), rgba(5, 7, 6, 0.4));
}

.support-intro > div {
  max-width: 700px;
}

.support-intro h2 {
  max-width: 640px;
  margin-bottom: 0.75rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.support-intro .lead {
  margin-bottom: 0;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 1rem;
}

.support-layout-single {
  grid-template-columns: 1fr;
}

.support-layout-single .support-contact {
  min-height: 0;
}

.support-contact,
.support-tracker {
  min-height: 360px;
}

.support-tracker {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.support-tracker h3 {
  margin-bottom: 0;
}

.support-tracker p {
  margin: 0;
}

.help-page {
  max-width: 960px;
}

.help-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.faq-item summary {
  position: relative;
  padding: 1rem 3.1rem 1rem 1rem;
  color: var(--cream);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--gold-light);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: rgba(251, 250, 245, 0.7);
  line-height: 1.65;
}

.help-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(216, 164, 65, 0.32);
  border-radius: 8px;
  background: rgba(216, 164, 65, 0.1);
  color: var(--cream);
  font-weight: 800;
}

@media (min-width: 681px) {
  .main-nav [data-view="about"],
  .main-nav [data-view="contact"],
  .main-nav [data-view="faq"] {
    display: none;
  }
}

.admin-products-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.78fr);
}

/* Private dashboard: compact operational UI rather than storefront styling. */
.admin-shell { width: min(1320px, calc(100% - 2rem)); }
.admin-page-head { align-items: start; margin-bottom: 1.1rem; }
.admin-page-head h2 { margin: 0.2rem 0 0; }
.admin-tabs { position: sticky; top: 0.65rem; z-index: 5; margin-bottom: 1.3rem; padding: 0.35rem; border: 1px solid var(--line); border-radius: 7px; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); }
.admin-overview-intro { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; padding: 1.3rem 1.45rem; border: 1px solid rgba(201, 164, 90, 0.28); background: rgba(201, 164, 90, 0.08); }
.admin-overview-intro h3 { max-width: 520px; margin: 0.35rem 0 0; font-size: 1.15rem; line-height: 1.45; }
.admin-best-sellers { margin-top: 1rem; }
.admin-product-form { padding: 0; overflow: hidden; }
.admin-form-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding: 1.35rem 1.35rem 1.1rem; border-bottom: 1px solid var(--line); }
.admin-form-heading h3, .admin-list-head h3 { margin: 0.28rem 0 0; }
.admin-form-section { padding: 1.15rem 1.35rem; border-bottom: 1px solid var(--line); }
.admin-form-section:last-of-type { border-bottom: 0; }
.admin-section-label { margin: 0 0 0.85rem; color: var(--gold-light); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.admin-inventory-section { background: rgba(255, 255, 255, 0.025); }
.admin-stock-pill { display: inline-flex; align-items: center; width: max-content; min-height: 24px; padding: 0.2rem 0.48rem; border: 1px solid rgba(103, 195, 139, 0.4); border-radius: 4px; color: #9bdeb2; background: rgba(103, 195, 139, 0.1); font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.admin-stock-pill.is-low { border-color: rgba(226, 196, 125, 0.52); color: var(--gold-light); background: rgba(201, 164, 90, 0.12); }
.admin-stock-pill.is-out { border-color: rgba(201, 93, 78, 0.48); color: #ef9d91; background: rgba(201, 93, 78, 0.12); }
.admin-upload-dropzone { display: grid; gap: 0.24rem; min-height: 110px; place-content: center; border: 1px dashed rgba(201, 164, 90, 0.58); border-radius: 6px; color: var(--cream); background: rgba(201, 164, 90, 0.06); text-align: center; cursor: pointer; }
.admin-upload-dropzone:hover { border-color: var(--gold-light); background: rgba(201, 164, 90, 0.12); }
.admin-upload-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-upload-dropzone span { font-weight: 800; }
.admin-upload-dropzone small { color: var(--muted); font-size: 0.78rem; }
.admin-image-strip { display: flex; gap: 0.5rem; margin: 0 0 0.75rem; overflow-x: auto; }
.admin-image-strip img { flex: 0 0 60px; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 4px; object-fit: cover; }
.admin-list { align-content: start; }
.admin-list-head { display: flex; justify-content: space-between; gap: 0.7rem; align-items: end; padding: 0 0.15rem 0.1rem; }
.admin-list-head .muted { font-size: 0.78rem; }
.admin-product { transition: border-color 0.2s ease, transform 0.2s ease; }
.admin-product:hover { border-color: rgba(201, 164, 90, 0.52); transform: translateY(-1px); }
.admin-product .admin-stock-pill { margin-left: 0.4rem; vertical-align: middle; }

@media (max-width: 760px) {
  .admin-page-head, .admin-overview-intro, .admin-list-head { align-items: start; flex-direction: column; }
  .admin-tabs { position: static; overflow-x: auto; flex-wrap: nowrap; }
  .admin-tabs button { flex: 0 0 auto; }
  .admin-form-heading, .admin-form-section { padding-right: 1rem; padding-left: 1rem; }
}

.empty {
  padding: 2rem;
  color: rgba(251, 250, 245, 0.62);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

#toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  color: #11100b;
  background: var(--gold-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
  transition: opacity 0.24s ease, transform 0.24s ease;
  font-weight: 800;
}

#toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .custom-studio-intro {
    grid-template-columns: 1fr;
  }

  .custom-page .customizer-studio,
  .hero-content {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .custom-page .live-preview-card {
    position: static;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .category-grid,
  .product-grid,
  .trust-grid,
  .analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0;
  }

  .home-assurance-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .home-gift-guide {
    grid-template-columns: 1fr;
  }

  .site-footer-grid,
  .about-intro,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    align-items: start;
  }

  .about-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters,
  .split,
  .look-board,
  .women-intro,
  .women-look-grid,
  .jewelry-spotlight,
  .customizer-studio,
  .custom-showcase,
  .custom-feature,
  .product-detail,
  .status-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.5rem 0.8rem 0.6rem;
    align-items: center;
  }

  .brand-link {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .brand-link img {
    width: 38px;
    height: 38px;
  }

  .brand-link span {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06rem;
    white-space: nowrap;
  }

  .menu-button {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  .cart-button {
    min-height: 38px;
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .cart-button span {
    margin: 0;
    font-size: 0.78rem;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 2;
    display: none;
    grid-column: auto;
    grid-row: auto;
    padding: 0.75rem 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 7, 6, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  body.menu-open .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav button {
    width: 100%;
    min-height: 36px;
    padding: 0 0.65rem;
    text-align: left;
    border-radius: 6px;
  }

  .site-footer-grid,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    gap: 1.25rem;
    padding-block: 2rem;
  }

  .footer-whatsapp {
    justify-self: start;
  }

  .about-intro > img {
    min-height: 270px;
  }

  .support-intro,
  .help-cta {
    display: grid;
    align-items: start;
  }

  .support-intro .primary-button,
  .help-cta .secondary-button {
    width: 100%;
  }

  .support-contact,
  .support-tracker {
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0 2rem;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .studio-flow,
  .custom-page .studio-options-grid {
    grid-template-columns: 1fr;
  }

  .studio-panel-head,
  .designer-block-head,
  .studio-submit-bar {
    display: grid;
  }

  .studio-submit-bar .primary-button {
    width: 100%;
  }

  .section-head {
    display: block;
  }

  .category-grid,
  .product-grid,
  .trust-grid,
  .analytics-grid,
  .form-grid,
  .mini-grid,
  .jewelry-choice-panel,
  .choice-toggle,
  .women-hero-strip,
  .custom-gallery,
  .gallery {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .home-assurance-grid,
  .gift-choice-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 240px;
  }

  .home-assurance-grid {
    gap: 0;
    padding-block: 0.55rem;
  }

  .home-assurance-grid article,
  .home-assurance-grid article:nth-child(3) {
    padding: 0.8rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-assurance-grid article:first-child {
    border-top: 0;
  }

  .home-featured .product-grid {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0 0.1rem 0.55rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .home-featured .product-card {
    flex: 0 0 min(86vw, 340px);
    scroll-snap-align: start;
  }

  .gift-choice {
    min-height: 150px;
  }

  .look-stage,
  .look-stage img {
    min-height: 360px;
  }

  .look-chip {
    grid-template-columns: 72px 1fr;
    min-height: 82px;
  }

  .look-chip img {
    width: 72px;
    height: 62px;
  }

  .gallery img,
  .gallery img:first-child {
    height: 250px;
    grid-row: auto;
  }

  .women-hero-strip img {
    min-height: 220px;
    height: 240px;
  }

  .women-look-main,
  .women-look-main img {
    min-height: 300px;
  }

  .custom-preview-stage {
    min-height: 430px;
  }

  .studio-turntable {
    width: min(360px, calc(100% - 1rem));
  }

  .name-necklace-text {
    font-size: calc(var(--engraving-size) * 1.18);
  }

  .name-chain {
    width: 34%;
    height: 42%;
  }

  .custom-preview-stage[data-variant="angel-wings"] .name-wing {
    width: 42px;
    height: 28px;
    border-top-width: 6px;
  }

  .mockup-chain {
    top: 4.6rem;
    width: 260px;
    height: 180px;
  }

  .mockup-piece {
    width: 188px;
    height: 250px;
  }

  .custom-preview-stage[data-piece="bar-necklace"] .mockup-piece {
    width: 62px;
    height: 292px;
  }

  .custom-preview-stage[data-piece="dog-tag"] .mockup-piece,
  .custom-preview-stage[data-piece="keyholder"] .mockup-piece {
    width: 184px;
    height: 254px;
  }

  .custom-preview-stage[data-piece="keyholder"] .mockup-piece {
    top: 10.8rem;
  }

  .mockup-key-ring {
    top: 3.5rem;
    width: 86px;
    height: 86px;
    border-width: 9px;
  }

  .custom-preview-stage[data-piece="name-bracelet"] .mockup-piece {
    width: 230px;
    height: 64px;
  }

  .mockup-bracelet-links {
    width: 120px;
    height: 46px;
  }

  .mockup-bracelet-links.left {
    margin-right: 230px;
  }

  .mockup-bracelet-links.right {
    margin-left: 230px;
  }

  .mockup-bangle-ring {
    width: 250px;
    height: 250px;
    border-width: 16px;
  }

  .custom-preview-stage[data-piece="bangle"] .mockup-piece {
    width: 170px;
    height: 58px;
  }

  .design-piece-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-variant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .variant-strip {
    align-items: start;
  }

  .admin-product,
  .cart-item,
  .line-item {
    grid-template-columns: 64px 1fr;
  }

  .custom-request-layout,
  .custom-detail-grid,
  .custom-order-card .status-row {
    grid-template-columns: 1fr;
  }

  .custom-reference img {
    height: 280px;
  }

  .admin-actions,
  .cart-item > button,
  .line-item > button {
    grid-column: 1 / -1;
  }
}

/* Final 2D studio overrides. Keep these after the legacy custom-preview rules. */
.custom-page .customizer-studio { align-items: start; }
.custom-page .custom-preview-stage { min-height: 0; padding: 1rem; border-radius: 8px; background: #0a110f; }
.flat-jewelry-preview { position: relative; display: grid; place-items: center; min-height: 430px; overflow: hidden; border: 1px solid rgba(255, 235, 183, 0.16); border-radius: 6px; background: #161d19; }
.flat-jewelry-preview::before { position: absolute; inset: 10% 12%; border: 1px solid rgba(216, 164, 65, 0.16); border-radius: 50%; content: ""; }
.flat-jewelry-preview > img[data-preview-photo] { position: relative; z-index: 1; width: 100%; height: 430px; object-fit: contain; padding: 1.25rem; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42)); }
.flat-preview-text { position: absolute; z-index: 2; top: 50%; left: 50%; max-width: 54%; color: #201b0e; font-family: Georgia, serif; font-size: var(--engraving-size, 28px); font-weight: 700; line-height: 1.05; text-align: center; overflow-wrap: anywhere; text-shadow: 0 1px rgba(255, 248, 222, 0.36); transform: translate(-50%, -50%); mix-blend-mode: multiply; pointer-events: none; }
.custom-preview-stage[data-font="script"] .flat-preview-text, .custom-preview-stage[data-font="great-vibes"] .flat-preview-text, .custom-preview-stage[data-font="allura"] .flat-preview-text, .custom-preview-stage[data-font="dancing"] .flat-preview-text, .custom-preview-stage[data-font="parisienne"] .flat-preview-text, .custom-preview-stage[data-font="alex"] .flat-preview-text, .custom-preview-stage[data-font="tangerine"] .flat-preview-text { font-family: cursive; font-style: italic; }
.custom-preview-stage[data-font="gothic"] .flat-preview-text, .custom-preview-stage[data-font="cinzel"] .flat-preview-text, .custom-preview-stage[data-font="caps"] .flat-preview-text { letter-spacing: 0; text-transform: uppercase; }
.custom-preview-stage[data-choice="plain"] .flat-preview-text { display: none; }
.flat-uploaded-photo { display: none; position: absolute; z-index: 3; top: 26%; left: 50%; width: 30%; aspect-ratio: 1; object-fit: cover; border: 2px solid rgba(255, 246, 214, 0.7); border-radius: 3px; transform: translateX(-50%); }
.custom-preview-stage[data-has-upload="true"] .flat-uploaded-photo { display: block; }
.flat-preview-status { position: absolute; z-index: 4; bottom: 0.8rem; left: 0.8rem; padding: 0.38rem 0.55rem; border-radius: 4px; color: var(--cream); background: rgba(4, 10, 8, 0.82); font-size: 0.76rem; font-weight: 800; }
.flat-preview-summary { display: grid; gap: 0.25rem; }
.flat-preview-summary p:last-child { margin: 0; color: rgba(251, 250, 245, 0.6); font-size: 0.82rem; line-height: 1.45; }
.custom-page .simple-choice-toggle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.simple-choice-toggle label { min-height: 88px; align-content: center; }
.simple-choice-toggle small { display: block; margin-top: 0.25rem; color: rgba(251, 250, 245, 0.65); font-size: 0.76rem; font-weight: 600; }

@media (max-width: 1020px) { .custom-page .live-preview-card { position: static; } }
@media (max-width: 680px) {
  .flat-jewelry-preview { min-height: 330px; }
  .flat-jewelry-preview > img[data-preview-photo] { height: 330px; padding: 0.7rem; }
  .custom-page .simple-choice-toggle { grid-template-columns: 1fr; }
}

/* Product-first bracelet customizer */
.bracelet-custom-page { max-width: 1120px; }
.bracelet-page-heading { max-width: 700px; margin-bottom: 1.2rem; }
.bracelet-page-heading h2 { margin: 0.35rem 0 0.7rem; }
.bracelet-page-heading p:not(.eyebrow) { margin: 0; color: rgba(251, 250, 245, 0.72); line-height: 1.6; }
.custom-collection-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; width: min(620px, 100%); margin-top: 1.15rem; }
.custom-collection-tabs button { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 0.7rem; min-height: 78px; padding: 0.45rem; border: 1px solid var(--line); border-radius: 5px; color: var(--cream); background: rgba(255,255,255,.045); text-align: left; }
.custom-collection-tabs img { width: 62px; height: 62px; object-fit: contain; background: #f8f7f3; }
.custom-collection-tabs span { display: grid; gap: 0.24rem; min-width: 0; }
.custom-collection-tabs strong { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.custom-collection-tabs small { color: var(--muted); font-size: 0.73rem; line-height: 1.25; }
.custom-collection-tabs button.active { border-color: var(--gold-light); background: rgba(201,174,131,.18); }
.custom-collection-tabs button.active strong { color: var(--gold-light); }
.bracelet-product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); overflow: hidden; padding: 0; }
.bracelet-product-image { min-height: 500px; padding: 1.5rem; background: #f8f7f3; }
.bracelet-product-image img { width: 100%; height: 100%; object-fit: contain; }
.bracelet-product-options { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.4rem, 4vw, 3rem); background: #13231e; }
.bracelet-product-options h3 { margin: 0.35rem 0 1.25rem; color: var(--cream); font-size: 1.45rem; }
.bracelet-finish-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
.bracelet-finish-picker button { min-width: 0; padding: 0.38rem; border: 1px solid rgba(255, 244, 207, 0.18); border-radius: 6px; color: var(--cream); background: #0c1512; font-weight: 800; }
.bracelet-finish-picker button.active { border-color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold-light); }
.bracelet-finish-picker img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.bracelet-finish-picker span { display: block; padding: 0.45rem 0 0.1rem; font-size: 0.8rem; }
.bracelet-product-options .muted { margin: 1.4rem 0; line-height: 1.55; }
.bracelet-customize-button { align-self: start; }
.bracelet-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; background: var(--line); }
.bracelet-benefits span { padding: 0.9rem 1rem; color: rgba(251, 250, 245, 0.8); background: #0e1915; font-size: 0.88rem; font-weight: 800; text-align: center; }
.bracelet-modal-backdrop { align-items: start; overflow-y: auto; padding: clamp(0.7rem, 4vh, 2.5rem); }
.bracelet-custom-modal { width: min(980px, 100%); max-width: none; padding: 1rem; }
.bracelet-custom-modal .modal-head { align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }
.bracelet-custom-modal .modal-head h2 { margin: 0.15rem 0 0; }
.bracelet-modal-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); gap: 1rem; padding-top: 1rem; }
.bracelet-live-stage { --plate-x: 50%; --plate-y: 70%; --plate-angle: 0deg; position: relative; min-height: 460px; overflow: hidden; border: 1px solid #d7c5aa; background: #f4dfc8; }
.bracelet-artwork { position: absolute; inset: 0; transition: transform 0.32s ease; }
.bracelet-artwork > img { width: 100%; height: 100%; object-fit: contain; }
.bracelet-live-stage[data-finish="gold"] { --plate-x: 58%; --plate-y: 67%; --plate-angle: -18deg; }
.bracelet-live-stage[data-finish="silver"] { --plate-x: 59%; --plate-y: 47%; --plate-angle: -47deg; }
.bracelet-live-stage[data-finish="black"] { --plate-x: 52%; --plate-y: 68%; --plate-angle: 0deg; }
.bracelet-live-stage.is-writing .bracelet-artwork { transform: translateY(-15%) scale(1.48); transform-origin: var(--plate-x) var(--plate-y); }
.bracelet-engraving { position: absolute; top: var(--plate-y); left: var(--plate-x); z-index: 2; width: 30%; color: #141414; font-family: Georgia, serif; font-size: clamp(14px, 2.25vw, 23px); font-weight: 700; line-height: 1; overflow-wrap: anywhere; text-align: center; text-shadow: 0 1px rgba(255,255,255,.55); transform: translate(-50%, -50%) rotate(var(--plate-angle)); mix-blend-mode: multiply; }
.bracelet-live-stage[data-style="link"] { --plate-x: 50%; --plate-y: 60%; --plate-angle: 0deg; }
.bracelet-live-stage[data-style="link"] .bracelet-engraving { width: 42%; padding: 0; background: transparent; font-size: clamp(13px, 2vw, 21px); }
.bracelet-live-stage[data-style="link"][data-finish="black"] .bracelet-engraving { color: #f4eee1; text-shadow: 0 1px rgba(0,0,0,.75); mix-blend-mode: normal; }
.bar-live-stage { position: relative; min-height: 460px; overflow: hidden; border: 1px solid #d7c5aa; background: #f8f7f3; }
.bar-artwork { position: absolute; inset: 0; transition: transform 0.32s ease; }
.bar-artwork > img { width: 100%; height: 100%; object-fit: contain; }
.bar-live-stage.is-writing .bar-artwork { transform: scale(1.16); transform-origin: 50% 58%; }
.bar-engraving { position: absolute; z-index: 2; top: 59%; left: 47.7%; max-height: 43%; color: #151515; font-family: Georgia, serif; font-size: clamp(13px, 2vw, 20px); font-weight: 700; line-height: 1; overflow-wrap: anywhere; text-align: center; text-shadow: 0 1px rgba(255,255,255,.55); transform: translate(-50%, -50%) rotate(180deg); writing-mode: vertical-rl; mix-blend-mode: multiply; }
.bar-live-stage[data-face="side"] .bar-engraving { left: 52.5%; }
.bar-live-stage[data-finish="black"] .bar-engraving { color: #f4eee1; text-shadow: 0 1px rgba(0,0,0,.72); mix-blend-mode: normal; }
.bar-live-stage[data-font="script"] .bar-engraving, .bar-live-stage[data-font="great-vibes"] .bar-engraving, .bar-live-stage[data-font="allura"] .bar-engraving, .bar-live-stage[data-font="dancing"] .bar-engraving, .bar-live-stage[data-font="parisienne"] .bar-engraving, .bar-live-stage[data-font="alex"] .bar-engraving, .bar-live-stage[data-font="tangerine"] .bar-engraving { font-family: cursive; font-style: italic; }
.bracelet-style-picker { display: flex; gap: 0.55rem; margin: 0.35rem 0 1rem; }
.bracelet-style-picker button { flex: 1; min-height: 40px; border: 1px solid var(--line); border-radius: 4px; color: var(--cream); background: var(--panel-soft); font-weight: 800; }
.bracelet-style-picker button.active { border-color: var(--gold-light); color: var(--gold-light); background: rgba(216, 164, 65, 0.16); }
.bracelet-live-stage[data-font="script"] .bracelet-engraving, .bracelet-live-stage[data-font="great-vibes"] .bracelet-engraving, .bracelet-live-stage[data-font="allura"] .bracelet-engraving, .bracelet-live-stage[data-font="dancing"] .bracelet-engraving, .bracelet-live-stage[data-font="parisienne"] .bracelet-engraving, .bracelet-live-stage[data-font="alex"] .bracelet-engraving, .bracelet-live-stage[data-font="tangerine"] .bracelet-engraving { font-family: cursive; font-style: italic; }
.bracelet-emoji { display: none; }
.bracelet-side-label { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; padding: 0.35rem 0.55rem; border-radius: 4px; color: #fff4cf; background: rgba(12, 21, 18, 0.85); font-size: 0.74rem; font-weight: 900; }
.bracelet-custom-controls { display: grid; align-content: start; gap: 1rem; }
.bracelet-custom-controls .field { margin: 0; }
.bracelet-custom-controls .field small { display: block; margin-top: 0.35rem; color: var(--muted); text-align: right; }
.compact-choice { grid-template-columns: repeat(2, 1fr); }
.bracelet-emoji-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.35rem; }
.bracelet-emoji-picker button { min-height: 40px; border: 1px solid var(--line); border-radius: 4px; color: var(--cream); background: #17231f; font-size: 1rem; font-weight: 800; }
.bracelet-emoji-picker button:first-child { font-size: 0.68rem; }
.bracelet-emoji-picker button.active { border-color: var(--gold-light); background: rgba(216, 164, 65, 0.2); }
.bracelet-modal-note { padding: 0.75rem; border-left: 3px solid var(--gold); color: rgba(251, 250, 245, 0.7); background: rgba(216, 164, 65, 0.08); font-size: 0.82rem; line-height: 1.45; }
.bracelet-customer-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide-button { width: 100%; }
@media (max-width: 760px) { .bracelet-product-layout, .bracelet-modal-grid { grid-template-columns: 1fr; } .bracelet-product-image { min-height: 340px; } .bracelet-live-stage, .bar-live-stage { min-height: 330px; height: 330px; } .bracelet-benefits { grid-template-columns: 1fr; } .bracelet-customer-fields { grid-template-columns: 1fr; } .custom-collection-tabs { gap: 0.45rem; } .custom-collection-tabs button { grid-template-columns: 48px minmax(0, 1fr); min-height: 64px; } .custom-collection-tabs img { width: 48px; height: 48px; } }

/* Home page: focused editorial first view */
.header-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 231, 160, 0.55);
  border-radius: 4px;
  color: #11100b;
  background: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04rem;
  text-decoration: none;
  text-transform: uppercase;
}

@media (min-width: 681px) {
  .main-nav [data-view="home"],
  .main-nav [data-view="faq"] { display: none; }
  .main-nav { gap: 0.1rem; }
  .main-nav button { border-radius: 4px; font-size: 0.86rem; }
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  height: clamp(620px, calc(100svh - 74px), 780px);
  min-height: 0;
  background: var(--ink);
}

.hero-split::after { display: none; }
.hero-split .hero-editorial {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  overflow: hidden;
  background: var(--ink);
}
.hero-split .hero-editorial::before,
.hero-split .hero-editorial::after {
  position: absolute;
  border: 1px solid rgba(216, 164, 65, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-split .hero-editorial::before { width: 640px; height: 640px; top: -210px; right: -350px; }
.hero-split .hero-editorial::after { width: 440px; height: 440px; bottom: -280px; right: -170px; border-color: rgba(255, 255, 255, 0.1); }
.hero-split .eyebrow,
.hero-split h1,
.hero-split .hero-summary,
.hero-split .hero-actions,
.hero-split .hero-note { position: relative; z-index: 1; }
.hero-split h1 { max-width: 560px; margin: 0.25rem 0 1.5rem; color: var(--paper); font-family: Inter, Montserrat, Arial, sans-serif; font-size: clamp(3.7rem, 7.5vw, 7.4rem); font-weight: 900; line-height: 0.82; letter-spacing: 0; text-transform: uppercase; }
.hero-split h1 span,
.hero-split h1 strong { display: block; }
.hero-split h1 strong { color: var(--gold); font: inherit; }
.hero-summary { max-width: 470px; margin: 0; color: rgba(251, 250, 245, 0.72); font-size: 1rem; line-height: 1.65; }
.hero-split .hero-actions { margin-top: 2rem; }
.hero-split .primary-button,
.hero-split .secondary-button { border-radius: 4px; }
.hero-note { margin: 1.2rem 0 0; color: rgba(255, 244, 207, 0.62); font-size: 0.8rem; }
.hero-product { min-width: 0; min-height: 0; height: 100%; overflow: hidden; background: #d9cab0; }
.hero-product img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; filter: saturate(0.92) contrast(1.04); }
.home-assurance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-categories { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.home-directions-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr); gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.home-directions-heading h2 { margin: 0.25rem 0 0; color: var(--cream); font-family: Inter, Montserrat, Arial, sans-serif; font-size: clamp(3.1rem, 6.5vw, 6.6rem); font-weight: 900; line-height: 0.82; letter-spacing: 0; text-transform: uppercase; }
.home-directions-heading > p { max-width: 390px; margin: 0 0 0.25rem; color: rgba(251, 250, 245, 0.74); font-size: 1rem; line-height: 1.7; }
.home-directions-layout { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.home-directions-image-wrap { position: relative; overflow: hidden; aspect-ratio: 0.93; border: 1px solid rgba(255, 244, 207, 0.17); }
.home-directions-image { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.home-directions-image-wrap:hover .home-directions-image { transform: scale(1.04); }
.home-directions-image-wrap span { position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.42rem 0.58rem; color: var(--ink); background: var(--gold); font-size: 0.69rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.home-direction-list { border-top: 1px solid rgba(255, 244, 207, 0.25); }
.home-direction-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; width: 100%; padding: clamp(1.45rem, 3vw, 2.3rem) 0; border: 0; border-bottom: 1px solid rgba(255, 244, 207, 0.25); border-radius: 0; background: transparent; color: var(--cream); text-align: left; box-shadow: none; transition: color 0.2s ease, padding 0.2s ease; }
.home-direction-row em { align-self: start; padding-top: 0.2rem; color: var(--gold); font-size: 0.78rem; font-style: normal; font-weight: 900; letter-spacing: 0.08em; }
.home-direction-row span { display: grid; gap: 0.4rem; }
.home-direction-row strong { font-family: Inter, Montserrat, Arial, sans-serif; font-size: clamp(1.9rem, 3.6vw, 4rem); font-weight: 900; line-height: 0.92; letter-spacing: 0; text-transform: uppercase; }
.home-direction-row small { color: rgba(251, 250, 245, 0.68); font-size: 0.9rem; line-height: 1.5; }
.home-direction-row b { align-self: center; color: var(--gold); font-size: 1.8rem; font-weight: 400; transition: transform 0.2s ease; }
.home-direction-row:hover, .home-direction-row:focus-visible { color: var(--gold-light); padding-left: 0.65rem; }
.home-direction-row:hover b, .home-direction-row:focus-visible b { transform: translateX(0.35rem); }

@media (max-width: 1020px) {
  .hero-split { grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
  .hero-split .hero-editorial { padding: 3rem 2.2rem; }
}

@media (max-width: 680px) {
  .header-whatsapp { display: none; }
  .hero-split { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero-product { order: -1; height: 310px; }
  .hero-product img { min-height: 310px; object-position: center; }
  .hero-split .hero-editorial { min-height: 0; padding: 2rem 1.25rem 2.4rem; }
  .hero-split .hero-editorial::before { width: 420px; height: 420px; top: -220px; right: -240px; }
  .hero-split h1 { margin-bottom: 1rem; font-size: clamp(3.3rem, 16vw, 5.2rem); }
  .hero-summary { font-size: 0.94rem; }
  .hero-split .hero-actions { width: 100%; margin-top: 1.4rem; }
  .hero-note { font-size: 0.74rem; }
  .home-assurance-grid,
  .home-directions-heading,
  .home-directions-layout { grid-template-columns: 1fr; }
  .home-directions-heading { gap: 1rem; margin-bottom: 2rem; }
  .home-directions-heading h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .home-directions-layout { gap: 1.5rem; }
  .home-directions-image-wrap { aspect-ratio: 1.3; }
  .home-direction-row { padding: 1.25rem 0; }
  .home-direction-row strong { font-size: clamp(1.7rem, 9vw, 2.8rem); }
}

/* Editorial brand story replacing the crowded featured-product row. */
.home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(250px, 0.78fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.home-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.home-story-copy h2 {
  max-width: 460px;
  margin: 0.25rem 0 1.25rem;
  color: var(--cream);
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: clamp(3.1rem, 6vw, 6.2rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}
.home-story-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0 0 1.5rem;
  color: rgba(251, 250, 245, 0.76);
  font-size: 1.02rem;
  line-height: 1.72;
}
.home-story-copy .text-button {
  border-bottom: 1px solid var(--gold);
  color: var(--gold-light);
}
.home-watch-mosaic { display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-rows: repeat(2, minmax(0, 1fr)); min-height: 490px; gap: 0.75rem; }
.home-watch-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.home-watch-mosaic-men { grid-row: 1 / -1; object-position: center; }
.home-watch-mosaic-ladies { object-position: center; }
.home-watch-mosaic-wood { object-position: center; }

@media (max-width: 760px) {
  .home-story { grid-template-columns: 1fr; gap: 2rem; }
  .home-story-copy h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .home-watch-mosaic { min-height: 360px; gap: 0.45rem; }
}

/* Site-wide dark and light themes. */
.theme-toggle { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.theme-toggle span { width: 14px; height: 14px; border: 2px solid var(--gold-light); border-radius: 50%; box-shadow: inset -5px -2px 0 var(--gold-light); transition: transform 0.2s ease; }
.theme-toggle:hover span { transform: rotate(22deg); }

:root[data-theme="light"] {
  --ink: #f4f0e8;
  --charcoal: #e5dfd4;
  --panel: #fffdf8;
  --panel-soft: #eee7dc;
  --cream: #1f2226;
  --paper: #2a2d31;
  --muted: #6f716f;
  --line: rgba(31, 34, 38, 0.16);
  --gold: #a98238;
  --gold-light: #c9a45a;
  --green: #e8e0d2;
  --green-soft: #ddd3c2;
  --shadow: 0 18px 48px rgba(31, 34, 38, 0.12);
}

:root[data-theme="light"] #app { background: var(--ink); }
:root[data-theme="light"] .site-header { border-bottom-color: rgba(31, 34, 38, 0.16); background: rgba(255, 253, 248, 0.94); }
:root[data-theme="light"] .brand-link, :root[data-theme="light"] .main-nav button { color: #2a2d31; }
:root[data-theme="light"] .main-nav button.active, :root[data-theme="light"] .main-nav button:hover { color: #a98238; background: transparent; }
:root[data-theme="light"] .cart-button { color: #17191d; background: #c9a45a; }
:root[data-theme="light"] .cart-button span:not(.cart-label) { color: #fffdf8; background: #2a2d31; }
:root[data-theme="light"] .theme-toggle { border-color: rgba(31, 34, 38, 0.26); }
:root[data-theme="light"] .theme-toggle span { border-color: #a98238; box-shadow: inset -5px -2px 0 #a98238; }
:root[data-theme="light"] .hero-split, :root[data-theme="light"] .hero-split .hero-editorial { background: var(--ink); }
:root[data-theme="light"] .hero-split h1 { color: #2a2d31; }
:root[data-theme="light"] .hero-split h1 strong { color: #a98238; }
:root[data-theme="light"] .hero-summary, :root[data-theme="light"] .hero-note { color: #6f716f; }
:root[data-theme="light"] .secondary-button { border-color: #a98238; color: #76561f; background: transparent; }
:root[data-theme="light"] .home-assurance { background: #e8e0d2; }
:root[data-theme="light"] .home-assurance strong, :root[data-theme="light"] .home-directions-heading h2, :root[data-theme="light"] .home-direction-row, :root[data-theme="light"] .home-story-copy h2 { color: #2a2d31; }
:root[data-theme="light"] .home-assurance span, :root[data-theme="light"] .home-directions-heading > p, :root[data-theme="light"] .home-direction-row small, :root[data-theme="light"] .home-story-copy > p:not(.eyebrow) { color: #6f716f; }
:root[data-theme="light"] .home-direction-list, :root[data-theme="light"] .home-direction-row { border-color: rgba(31, 34, 38, 0.18); }
:root[data-theme="light"] .home-story { background: #e8e0d2; }
:root[data-theme="light"] .bracelet-page-heading p:not(.eyebrow) { color: #6f716f; }
:root[data-theme="light"] .bracelet-product-options { background: #e8e0d2; }
:root[data-theme="light"] .bracelet-product-options h3, :root[data-theme="light"] .bracelet-product-options .eyebrow { color: #2a2d31; }
:root[data-theme="light"] .bracelet-finish-picker button, :root[data-theme="light"] .bracelet-style-picker button { border-color: rgba(31, 34, 38, 0.22); color: #2a2d31; background: #fffdf8; }
:root[data-theme="light"] .bracelet-style-picker button.active { color: #17191d; background: #c9a45a; }
:root[data-theme="light"] .bracelet-product-options .muted { color: #6f716f; }
:root[data-theme="light"] .bracelet-benefits span { color: #2a2d31; background: #e8e0d2; }
:root[data-theme="light"] input, :root[data-theme="light"] select, :root[data-theme="light"] textarea { color: #2a2d31; border-color: rgba(31, 34, 38, 0.24); background: #fffdf8; color-scheme: light; }
