body.customer-storefront {
  font-family: 'Manrope', sans-serif;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sidebar-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.customer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
}

.customer-brand-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px;
  flex-shrink: 0;
}

.customer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f4c025;
  line-height: 1.2;
  white-space: nowrap;
}

html.dark .customer-brand-logo {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 576px) {
  .customer-brand-logo {
    height: 40px;
    width: 40px;
  }

  .customer-brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 380px) {
  .customer-brand-name {
    font-size: 0.74rem;
  }
}

.text-primary {
  color: #f4c025 !important;
}

.bg-primary {
  background-color: #f4c025 !important;
}

.border-primary {
  border-color: #f4c025 !important;
}

button[class*="bg-primary"],
.customer-btn-primary {
  color: #221e10 !important;
}

.customer-link {
  color: #f4c025;
  text-decoration: none;
}

.customer-link:hover {
  color: #ffd700;
}

#customerToast {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#customerToast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#customerToast.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* 3D jewelry hero showcase */
.hero-3d-section {
  position: relative;
}

.hero-3d-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(244, 192, 37, 0.18);
  background-color: #120f0a;
  padding: 1.25rem 0.75rem 1.5rem;
  min-height: 440px;
  isolation: isolate;
  touch-action: pan-y;
}

.hero-3d-carousel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 0.35rem 0.25rem;
}

.hero-3d-viewport {
  grid-column: 1 / -1;
  grid-row: 1;
  overflow: hidden;
  touch-action: pan-y;
  padding: 0 0.25rem;
}

.hero-3d-nav {
  z-index: 5;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(244, 192, 37, 0.35);
  background: rgba(34, 30, 16, 0.85);
  color: #f4c025;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-3d-nav:hover {
  background: rgba(244, 192, 37, 0.2);
  transform: scale(1.05);
}

.hero-3d-nav--prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin-left: 0.15rem;
}

.hero-3d-nav--next {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin-right: 0.15rem;
}

.hero-3d-dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  min-height: 1rem;
}

.hero-3d-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  background: rgba(244, 192, 37, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-3d-dot.is-active {
  background: #f4c025;
  transform: scale(1.35);
}

.hero-3d-swipe-hint {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 192, 37, 0.55);
}

.hero-3d-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.hero-3d-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: brightness(0.72) saturate(1.05);
}

.hero-3d-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 15, 10, 0.35) 0%, rgba(18, 15, 10, 0.62) 42%, rgba(18, 15, 10, 0.92) 100%),
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(244, 192, 37, 0.12), transparent 65%);
}

.hero-3d-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
  opacity: 0.45;
}

.hero-3d-orb--left {
  width: 180px;
  height: 180px;
  top: -40px;
  left: -30px;
  background: rgba(244, 192, 37, 0.35);
}

.hero-3d-orb--right {
  width: 140px;
  height: 140px;
  bottom: 20px;
  right: -20px;
  background: rgba(212, 175, 55, 0.25);
}

.hero-3d-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 192, 37, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 192, 37, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 100%);
}

.hero-3d-stage {
  position: relative;
  height: 300px;
  margin: 0 auto;
  max-width: 100%;
  perspective: 1400px;
  perspective-origin: 50% 46%;
  transform-style: preserve-3d;
  z-index: 2;
  overflow: visible;
}

.hero-3d-pedestal {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 58%;
  height: 28px;
  transform: translateX(-50%) rotateX(72deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(244, 192, 37, 0.35), rgba(0, 0, 0, 0.65) 70%);
  filter: blur(2px);
  opacity: 0.85;
  pointer-events: none;
}

.hero-3d-slide {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(56vw, 220px);
  margin: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: opacity 0.35s ease;
}

.hero-3d-card-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #2f2818, #1a1610);
  border: 1px solid rgba(244, 192, 37, 0.35);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(244, 192, 37, 0.12);
  transform-style: preserve-3d;
}

.hero-3d-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: translateZ(28px) scale(1.06);
  will-change: transform;
}

.hero-3d-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    transparent 52%,
    rgba(244, 192, 37, 0.08) 100%
  );
  pointer-events: none;
  will-change: transform;
}

.hero-3d-card-label {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 192, 37, 0.85);
}

.hero-3d-copy {
  position: relative;
  z-index: 2;
  margin-top: 0.75rem;
  padding: 0 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.hero-3d-tagline {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 192, 37, 0.8);
}

.hero-3d-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff7e0;
}

.hero-3d-subtitle {
  margin: 0;
  max-width: 28rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(231, 223, 200, 0.72);
}

.hero-3d-cta {
  margin-top: 0.25rem;
  border: 0;
  cursor: pointer;
  background-color: #f4c025;
  color: #221e10;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 10px 28px rgba(244, 192, 37, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-3d-cta:hover {
  transform: translateY(-2px);
  background-color: #ffd700;
  box-shadow: 0 14px 32px rgba(244, 192, 37, 0.36);
}

@media (min-width: 768px) {
  .hero-3d-shell {
    min-height: 480px;
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .hero-3d-stage {
    height: 340px;
  }

  .hero-3d-slide {
    width: 240px;
  }

  .hero-3d-title {
    font-size: 2rem;
  }
}
