/* ==========================================================================
   STARZIA DIAMONDS — PRESTIGE LUXURY REDESIGN
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-obsidian: #070708;
  --card-dark: #18181b;
  --card-charcoal: #262628;
  --card-black: #101114;
  --gold-btn: #f3d06b;
  --gold-btn-hover: #fae08c;
  --gold-accent: #e5c158;
  --text-white: #ffffff;
  --text-light: #d4d4d8;
  --text-muted: #a1a1aa;
  --font-serif: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  --font-brand: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: 1120px;
  --grid-gap: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* Rich dark black silk / satin drape effect matching reference backdrop */
  background-image:
    radial-gradient(ellipse 90% 35% at 15% 12%, rgba(45, 45, 50, 0.42) 0%, transparent 65%),
    radial-gradient(ellipse 75% 40% at 88% 22%, rgba(38, 38, 44, 0.38) 0%, transparent 60%),
    radial-gradient(ellipse 80% 30% at 10% 55%, rgba(42, 42, 48, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 85% 40% at 92% 75%, rgba(40, 40, 46, 0.4) 0%, transparent 65%),
    repeating-linear-gradient(
      115deg,
      #050506 0px,
      #0c0c0e 90px,
      #151518 160px,
      #08080a 240px,
      #040405 340px
    );
  background-attachment: fixed;
}

/* Subtle silk sheen overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 55%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, transparent 12%, transparent 88%, rgba(0,0,0,0.55) 100%);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 34px 20px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-crest {
  position: relative;
  display: inline-block;
  text-decoration: none;
  margin-bottom: 28px;
  transition: transform 0.35s ease;
}

.brand-crest:hover {
  transform: scale(1.03);
}

.brand-logo-img {
  display: block;
  height: 78px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.7));
}

/* ==========================================================================
   LIGHT EFFECT EMANATING FROM THE MARKED STAR SPOT (15.31% X, 46.62% Y)
   (Balanced +20% diamond sparkle intensity)
   ========================================================================== */
.star-light-spot {
  position: absolute;
  left: 15.31%;
  top: 46.62%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

/* Ambient volumetric light aura radiating out from the spot */
.star-light-aura {
  position: absolute;
  left: 0;
  top: 0;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 244, 184, 0.42) 12%,
    rgba(243, 208, 107, 0.22) 30%,
    rgba(212, 165, 55, 0.08) 55%,
    transparent 74%
  );
  mix-blend-mode: screen;
  animation: starPulseAura 3.2s ease-in-out infinite alternate;
}

/* Balanced white-gold core right in the center of the marked circle */
.star-light-core {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 251, 224, 0.58) 45%,
    rgba(243, 208, 107, 0) 100%
  );
  box-shadow:
    0 0 7px 2px rgba(255, 255, 255, 0.55),
    0 0 15px 5.5px rgba(243, 208, 107, 0.45),
    0 0 30px 9.5px rgba(243, 208, 107, 0.22);
  animation: starCoreFlicker 2.2s ease-in-out infinite alternate;
}

/* Primary 4-point cross light rays shooting out from the spot */
.star-light-rays {
  position: absolute;
  left: 0;
  top: 0;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
}

.star-light-rays::before,
.star-light-rays::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(243, 208, 107, 0.32) 35%,
    rgba(255, 255, 255, 0.68) 50%,
    rgba(243, 208, 107, 0.32) 65%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(255, 245, 190, 0.45);
}

/* Horizontal light ray */
.star-light-rays::before {
  width: 60px;
  height: 1.4px;
  animation: rayStretchH 3s ease-in-out infinite alternate;
}

/* Vertical light ray */
.star-light-rays::after {
  width: 1.4px;
  height: 60px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(243, 208, 107, 0.32) 35%,
    rgba(255, 255, 255, 0.68) 50%,
    rgba(243, 208, 107, 0.32) 65%,
    transparent 100%
  );
  animation: rayStretchV 3s ease-in-out infinite alternate;
}

/* Diagonal rotating diamond shimmer glint */
.star-light-glint {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: glintSpin 6s ease-in-out infinite alternate;
}

.star-light-glint::before,
.star-light-glint::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 100%
  );
}

.star-light-glint::before {
  width: 32px;
  height: 1.2px;
}

.star-light-glint::after {
  width: 1.2px;
  height: 32px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 100%
  );
}

@keyframes starPulseAura {
  0% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.44;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.14);
    opacity: 0.62;
  }
}

@keyframes starCoreFlicker {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.62;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.55;
  }
}

@keyframes rayStretchH {
  0% {
    width: 44px;
    opacity: 0.42;
  }
  100% {
    width: 68px;
    opacity: 0.58;
  }
}

@keyframes rayStretchV {
  0% {
    height: 44px;
    opacity: 0.42;
  }
  100% {
    height: 68px;
    opacity: 0.58;
  }
}

@keyframes glintSpin {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.75);
    opacity: 0.25;
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.12);
    opacity: 0.52;
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.85);
    opacity: 0.34;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.nav-item {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--gold-btn);
}

/* Dropdown for My account / ERP */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #141417;
  border: 1px solid rgba(243, 208, 107, 0.25);
  border-radius: 8px;
  min-width: 210px;
  padding: 8px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(243, 208, 107, 0.1);
  color: var(--gold-btn);
}

.nav-cart {
  color: var(--gold-btn);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.nav-cart:hover {
  color: var(--gold-btn-hover);
  transform: translateY(-1px);
}

.cart-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-btn);
}

/* ==========================================================================
   MAIN SHOWCASE CONTAINER & BUTTONS
   ========================================================================== */
.showcase-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.btn-gold-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold-btn);
  color: #1c1912;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-gold-pill:hover {
  background-color: var(--gold-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(243, 208, 107, 0.3);
}

/* ==========================================================================
   ROW 1: HERO BANNER ("HIM & HER Love Collection")
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 490px;
  background-color: #161618;
  background-image: url('images/hero-rings.jpg');
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

/* Subtle gradient to guarantee text legibility on the right */
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 20, 0) 0%,
    rgba(18, 18, 20, 0.15) 42%,
    rgba(22, 22, 25, 0.72) 60%,
    rgba(24, 24, 27, 0.85) 100%
  );
  pointer-events: none;
}

.hero-text-box {
  position: relative;
  z-index: 2;
  margin-left: 52%;
  padding: 40px 48px 40px 10px;
  max-width: 480px;
}

.hero-heading {
  font-family: var(--font-brand);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-white);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.hero-subheading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-white);
  margin-bottom: 18px;
}

.hero-caption {
  font-size: 0.84rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 42px;
}

/* ==========================================================================
   ROW 2: NECKLACE CARD (LEFT) + DIAMOND EARRINGS CARD (RIGHT)
   ========================================================================== */
.grid-row-2 {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--grid-gap);
  min-height: 465px;
}

/* Left Card: Necklace With Diamond Pendant */
.card-necklace {
  position: relative;
  background-color: #272729;
  background-image: url('images/necklace-pendant.jpg');
  background-size: 108% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 30px 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Soft top vignette so the title and button pop cleanly inside the V of the chain */
.card-necklace::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(39, 39, 41, 0.92) 0%,
    rgba(39, 39, 41, 0.68) 34%,
    rgba(39, 39, 41, 0.1) 62%,
    rgba(20, 20, 22, 0.35) 100%
  );
  pointer-events: none;
}

.card-necklace-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-necklace-title {
  font-family: var(--font-brand);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.03em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.card-necklace-desc {
  font-size: 0.8rem;
  color: #d1d1d6;
  line-height: 1.5;
  margin-bottom: 26px;
}

/* Right Card: Give Her The Best Thing She Deserves */
.card-earrings {
  position: relative;
  background-color: #111215;
  background-image: url('images/diamond-earrings.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.card-earrings::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 18, 21, 0) 0%,
    rgba(17, 18, 21, 0.15) 45%,
    rgba(17, 18, 21, 0.82) 65%,
    rgba(17, 18, 21, 0.94) 100%
  );
  pointer-events: none;
}

.card-earrings-content {
  position: relative;
  z-index: 2;
  margin-left: 58%;
  padding: 40px 36px 40px 0;
}

.card-earrings-title {
  font-family: var(--font-brand);
  font-size: 1.95rem;
  font-weight: 400;
  line-height: 1.24;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 38px;
}

/* ==========================================================================
   ROW 3: FOR HIM CARD (LEFT) + FOR HER EDITORIAL PORTRAIT (RIGHT)
   ========================================================================== */
.grid-row-3 {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--grid-gap);
  min-height: 390px;
}

/* Left Wide Card: FOR HER (Swapped as requested) */
.card-for-him {
  position: relative;
  background-color: #18181c;
  background-image: url('images/for-her-stud.jpg?v=2');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 52px 48px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.card-for-him::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 22, 26, 0.95) 0%,
    rgba(22, 22, 26, 0.82) 38%,
    rgba(22, 22, 26, 0.15) 68%,
    rgba(22, 22, 26, 0) 100%
  );
  pointer-events: none;
}

.card-for-him-content {
  position: relative;
  z-index: 2;
  max-width: 340px;
}

.card-for-him-title {
  font-family: var(--font-brand);
  font-size: 2.05rem;
  font-weight: 400;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.card-for-him-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Right Narrow Card: FOR HIM Portrait */
.card-for-her {
  position: relative;
  background-color: #202024;
  background-image: url('images/for-him.jpg');
  background-size: cover;
  background-position: 82% center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 24px;
  transition: transform 0.35s ease;
}

.card-for-her::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(10, 10, 12, 0.82) 100%
  );
  pointer-events: none;
}

.card-for-her-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.card-for-her:hover .card-for-her-overlay {
  opacity: 1;
  transform: translateY(-3px);
}

.card-for-her-title {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 6px;
}

.card-for-her-sub {
  font-size: 0.76rem;
  color: var(--gold-btn);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   CURATED PRODUCTS ROW & ERP SUITE BANNER
   ========================================================================== */
.featured-strip {
  background: rgba(20, 20, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 18px;
}

.strip-title {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.strip-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-item {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 208, 107, 0.35);
}

.product-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  margin-bottom: 16px;
  background: #0d0d0f;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-btn);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-white);
  margin-bottom: 8px;
}

.product-price {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 14px;
}

.btn-outline-gold {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(243, 208, 107, 0.45);
  color: var(--gold-btn);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-gold:hover {
  background: var(--gold-btn);
  color: #18181b;
}

/* ERP Desktop Banner */
.erp-bar {
  background: linear-gradient(90deg, #141417 0%, #1d1c18 50%, #141417 100%);
  border: 1px solid rgba(243, 208, 107, 0.22);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.erp-bar-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.erp-bar-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.erp-bar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 36px 20px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-btn);
}

/* Toast Notification for Cart Interaction */
.cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #18181c;
  border: 1px solid var(--gold-btn);
  color: var(--text-white);
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 0.84rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.28s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ERP PASSWORD AUTHORIZATION MODAL
   ========================================================================== */
.erp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.erp-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.erp-modal-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: linear-gradient(165deg, #19191d 0%, #101013 100%);
  border: 1px solid rgba(243, 208, 107, 0.35);
  padding: 38px 34px 32px;
  text-align: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(243, 208, 107, 0.08);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.erp-modal-backdrop.active .erp-modal-card {
  transform: translateY(0) scale(1);
}

.erp-modal-card.shake {
  animation: modalShake 0.38s ease;
}

@keyframes modalShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.erp-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.erp-modal-close:hover {
  color: var(--gold-btn);
}

.erp-modal-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(243, 208, 107, 0.08);
  border: 1px solid rgba(243, 208, 107, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-btn);
}

.erp-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.erp-modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

.erp-target-pill {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-btn);
  background: rgba(243, 208, 107, 0.08);
  border: 1px solid rgba(243, 208, 107, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.erp-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.erp-password-input {
  width: 100%;
  background: #0b0b0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 13px 42px 13px 16px;
  border-radius: 6px;
  outline: none;
  letter-spacing: 0.06em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.erp-password-input:focus {
  border-color: var(--gold-btn);
  box-shadow: 0 0 0 3px rgba(243, 208, 107, 0.14);
}

.erp-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.erp-toggle-pw:hover {
  color: var(--gold-btn);
}

.erp-modal-msg {
  min-height: 20px;
  font-size: 0.78rem;
  margin-bottom: 14px;
  color: #f87171;
}

.erp-modal-msg.success {
  color: #34d399;
}

.erp-modal-submit {
  width: 100%;
  padding: 14px 28px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  .hero-text-box {
    margin-left: 42%;
    padding: 32px;
  }

  .hero-heading {
    font-size: 2.6rem;
  }

  .grid-row-2,
  .grid-row-3 {
    grid-template-columns: 1fr;
  }

  .card-necklace {
    min-height: 460px;
    background-size: 75% auto;
  }

  .card-earrings {
    min-height: 380px;
  }

  .card-earrings-content {
    margin-left: 48%;
  }

  .card-for-her {
    min-height: 440px;
  }

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

@media (max-width: 640px) {
  .main-nav {
    gap: 16px;
  }

  .hero-banner {
    min-height: 420px;
    background-position: 25% center;
  }

  .hero-banner::before {
    background: rgba(15, 15, 18, 0.72);
  }

  .hero-text-box {
    margin-left: 0;
    padding: 32px 24px;
    text-align: center;
    max-width: 100%;
  }

  .card-earrings::before {
    background: rgba(15, 15, 18, 0.72);
  }

  .card-earrings-content {
    margin-left: 0;
    padding: 32px 24px;
    text-align: center;
    width: 100%;
  }

  .card-for-him {
    padding: 36px 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .erp-bar {
    padding: 24px;
    text-align: center;
    justify-content: center;
  }
}
