.jewelry-home {
  --jewelry-gold: #c8a45a;
  --jewelry-ink: #0d0d10;
  --jewelry-ink-2: #17171c;
  --jewelry-muted: rgba(13, 13, 16, 0.72);
  --jewelry-soft: #f6f2ea;
  --jewelry-card: rgba(255, 255, 255, 0.86);

  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
}

.jewelry-home a {
  color: inherit;
}

.jewelry-home__section {
  padding: clamp(44px, 6vw, 84px) 0;
}

.jewelry-home__section--soft {
  background: var(--jewelry-soft);
}

.jewelry-home__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.jewelry-home__section-head--row {
  flex-wrap: wrap;
}

.jewelry-home__section-title {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.02em;
}

.jewelry-home__section-subtitle {
  margin: 10px 0 0;
  color: var(--jewelry-muted);
  line-height: 1.6;
  max-width: 64ch;
}

.jewelry-home__link {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--jewelry-ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  white-space: nowrap;
}

.jewelry-home__link-icon {
  transition: transform 0.2s ease;
}

.jewelry-home__link:hover .jewelry-home__link-icon {
  transform: translateX(2px);
}

/* HERO */
.jewelry-home__hero {
  position: relative;
  overflow: hidden;
  background: #0b0b0f;
  color: #fff;
  /* Pull up by one navbar row (--site-navbar-row-height from base); spacer matches full header stack incl. promo. */
  margin-top: calc(-1 * var(--site-navbar-row-height, 58px));
  display: flex;
  align-items: center;
  /* 100vh is often taller than the *visible* viewport (mobile URL bar, etc.),
     which leaves a white band from .jewelry-home’s #fff background. Prefer
     small/dynamic viewport units so the dark hero fills the screen edge-to-edge. */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

/* Promo is above the navbar; pull hero under both so no white band (vars from base.html) */
body.has-top-promo .jewelry-home__hero {
  margin-top: calc(-1 * (var(--site-navbar-row-height, 58px) + var(--site-promo-banner-height, 48px)));
}

.jewelry-home__hero-media {
  position: absolute;
  inset: 0;
}

.jewelry-home__hero-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  pointer-events: none;
  z-index: 1;
}

.jewelry-home__hero-ring-img {
  width: min(760px, 92vw);
  height: auto;
  max-width: 880px;
  opacity: 0.95;
  filter: saturate(1.07) contrast(1.08) drop-shadow(0 26px 70px rgba(0, 0, 0, 0.5));
  transform-style: preserve-3d;
  will-change: transform;
  /* Updated by JS (tilt) + CSS keyframes (spin). */
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) rotateZ(0deg);
  animation: jewelry-home__ring-turn 7.5s linear infinite;
}

.jewelry-home__hero-copy {
  max-width: 720px;
  margin-right: auto;
}

@media (max-width: 991px) {
  .jewelry-home__hero-copy {
    margin-right: 0;
  }
}

.jewelry-home__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 500px at 15% 20%, rgba(200, 164, 90, 0.35), transparent 60%),
    radial-gradient(800px 420px at 75% 25%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.78));
}

.jewelry-home__hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

@keyframes jewelry-home__ring-turn {
  from {
    transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) rotateZ(0deg);
  }
  to {
    /* Turn the ring around the Y axis (3D) + keep live tilt from JS. */
    transform: rotateX(var(--tiltX, 0deg)) rotateY(calc(var(--tiltY, 0deg) + 360deg)) rotateZ(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jewelry-home__hero-ring-img {
    /* Keep motion subtle but visible for the UI. */
    animation-duration: 60s;
  }
}

.jewelry-home__kicker {
  margin: 0 0 14px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.jewelry-home__hero-title {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.03;
}

.jewelry-home__hero-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 16px;
  max-width: 62ch;
}

.jewelry-home__hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.jewelry-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.jewelry-home__btn--primary {
  background: var(--jewelry-gold);
  border: 1px solid rgba(200, 164, 90, 0.75);
  color: #111;
  padding: 12px 18px;
  box-shadow: 0 14px 40px rgba(200, 164, 90, 0.22);
}

.jewelry-home__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(200, 164, 90, 0.32);
}

.jewelry-home__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 12px 18px;
  backdrop-filter: blur(10px);
}

.jewelry-home__btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(200, 164, 90, 0.55);
}

.jewelry-home__btn--small {
  padding: 10px 14px;
  font-size: 13px;
}

.jewelry-home__btn--gold {
  background: rgba(200, 164, 90, 0.12);
  border: 1px solid rgba(200, 164, 90, 0.55);
  color: var(--jewelry-ink-2);
}

.jewelry-home__btn--gold:hover {
  transform: translateY(-1px);
  background: rgba(200, 164, 90, 0.18);
  box-shadow: 0 18px 60px rgba(200, 164, 90, 0.14);
}

.jewelry-home__hero-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.jewelry-home__hero-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.jewelry-home__hero-card-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
}

.jewelry-home__hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  opacity: 0.95;
}

.jewelry-home__hero-card-media svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  opacity: 0.98;
}

.jewelry-home__hero-card-body {
  padding: 18px 18px 20px;
}

.jewelry-home__hero-card-title {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.jewelry-home__hero-card-text {
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.jewelry-home__hero-pill {
  background: rgba(255, 255, 255, 0.08);
}

.jewelry-home__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 13px;
}

.jewelry-home__pill-icon {
  color: var(--jewelry-gold);
  font-size: 18px;
}

/* COLLECTIONS */
.jewelry-home__collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 768px) {
  .jewelry-home__collections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .jewelry-home__collections-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.jewelry-home__category {
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
  padding: 16px 14px;
  border: 1px solid rgba(13, 13, 16, 0.08);
  background: var(--jewelry-card);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.jewelry-home__category:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  border-color: rgba(200, 164, 90, 0.45);
  background: rgba(255, 255, 255, 0.94);
}

.jewelry-home__category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(200, 164, 90, 0.14);
  border: 1px solid rgba(200, 164, 90, 0.3);
  margin-bottom: 12px;
  color: rgba(120, 90, 30, 0.95);
  font-size: 20px;
}

.jewelry-home__category-title {
  display: block;
  font-weight: 800;
  font-size: 14px;
  color: var(--jewelry-ink);
  line-height: 1.25;
}

/* PRODUCTS */
.jewelry-home__products-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .jewelry-home__products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .jewelry-home__products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.jewelry-home__product {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13, 13, 16, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.jewelry-home__product:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 164, 90, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.jewelry-home__product-media {
  aspect-ratio: 4 / 3;
  background: #f7f7f9;
  overflow: hidden;
}

.jewelry-home__product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.jewelry-home__product:hover .jewelry-home__product-media img {
  transform: scale(1.08);
}

.jewelry-home__product-body {
  padding: 16px 16px 18px;
}

.jewelry-home__product-title {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.jewelry-home__product-meta {
  margin: 8px 0 0;
  color: var(--jewelry-muted);
  line-height: 1.55;
  font-size: 13px;
}

.jewelry-home__product-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jewelry-home__product-price {
  font-weight: 900;
  letter-spacing: 0.01em;
}

/* STORY */
.jewelry-home__story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

@media (min-width: 992px) {
  .jewelry-home__story {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
  }
}

.jewelry-home__story-title {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.02em;
}

.jewelry-home__story-text {
  margin: 14px 0 0;
  color: var(--jewelry-muted);
  line-height: 1.8;
}

.jewelry-home__story-points {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.jewelry-home__story-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--jewelry-ink-2);
}

.jewelry-home__story-point-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jewelry-gold);
}

.jewelry-home__story-btn {
  margin-top: 22px;
}

.jewelry-home__story-media {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 16, 0.08);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.06);
  aspect-ratio: 4 / 3;
}

.jewelry-home__story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* TRUST */
.jewelry-home__trust-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .jewelry-home__trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.jewelry-home__trust {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 13, 16, 0.08);
  border-radius: 22px;
  padding: 18px 16px;
}

.jewelry-home__trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 1px solid rgba(200, 164, 90, 0.3);
  background: rgba(200, 164, 90, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(120, 90, 30, 0.95);
  font-size: 20px;
}

.jewelry-home__trust-title {
  margin: 14px 0 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.jewelry-home__trust-text {
  margin: 8px 0 0;
  color: var(--jewelry-muted);
  line-height: 1.7;
  font-size: 13px;
}

/* TESTIMONIALS */
.jewelry-home__testimonials {
  margin-top: 6px;
}

.jewelry-home__carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.jewelry-home__carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(13, 13, 16, 0.1);
  background: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jewelry-home__carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 164, 90, 0.6);
  box-shadow: 0 18px 60px rgba(200, 164, 90, 0.18);
}

.jewelry-home__testimonials-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.jewelry-home__testimonials-track::-webkit-scrollbar {
  display: none;
}

.jewelry-home__testimonial {
  min-width: min(320px, 86vw);
  max-width: 340px;
  scroll-snap-align: start;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 13, 16, 0.08);
  padding: 18px 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .jewelry-home__carousel-controls {
    display: none;
  }
  .jewelry-home__testimonials-track {
    overflow: visible;
    scroll-snap-type: none;
  }
  .jewelry-home__testimonial {
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
  }
}

.jewelry-home__testimonial-quote {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #111;
}

.jewelry-home__testimonial-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jewelry-home__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 90, 0.5);
  box-shadow: 0 18px 60px rgba(200, 164, 90, 0.12);
  background: #fff;
}

.jewelry-home__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jewelry-home__testimonial-name {
  font-weight: 950;
  letter-spacing: -0.01em;
}

.jewelry-home__testimonial-role {
  color: var(--jewelry-muted);
  font-size: 13px;
  margin-top: 2px;
}

/* FINAL CTA */
.jewelry-home__final-cta {
  background: #0b0b0f;
  color: #fff;
  padding: clamp(44px, 6vw, 84px) 0;
}

.jewelry-home__final-cta-inner {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 992px) {
  .jewelry-home__final-cta-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.jewelry-home__final-cta-content {
  text-align: left;
}

@media (max-width: 991px) {
  .jewelry-home__final-cta-content {
    text-align: center;
  }
}

.jewelry-home__final-cta-title {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.jewelry-home__final-cta-text {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 60ch;
}

.jewelry-home__final-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 991px) {
  .jewelry-home__final-cta-actions {
    justify-content: center;
  }
}

.jewelry-home__btn--cta {
  min-width: 150px;
}

/* Contact / inner pages: two-up trust row */
.jewelry-home__trust-grid--pair {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .jewelry-home__trust-grid--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.jewelry-home__form-panel {
  border-radius: 22px;
  border: 1px solid rgba(13, 13, 16, 0.08);
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.05);
}

.jewelry-home .jewelry-home__form-panel .form-control,
.jewelry-home .jewelry-home__form-panel .form-select {
  border-radius: 14px;
  border-color: rgba(13, 13, 16, 0.12);
}

.jewelry-home .jewelry-home__form-panel .form-control:focus {
  border-color: rgba(200, 164, 90, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(200, 164, 90, 0.18);
}

