/* ==========================================================================
   Home page - Version 1 (marketplace layout)
   --------------------------------------------------------------------------
   An alternate storefront home built on the same HomePageContentDto as
   Views/Home/Index.cshtml, styled after high-street marketplace apps
   (Myntra / Flipkart): a category circle rail, a deal bar with a live
   countdown, dense product cards with loud discount typography, coupon
   strips and bold promo tiles.

   Everything is scoped under .home-v1 so front.css component styles and the
   .home-v2 rules in home.css are left untouched.
   ========================================================================== */

.home-v1 {
  --v1-ink: #14101F;
  --v1-ink-soft: #5C5470;
  --v1-plum: var(--brand-primary);
  --v1-plum-deep: #5B1670;
  --v1-indigo: var(--brand-primary-dark);
  --v1-gold: var(--brand-accent);
  --v1-gold-light: var(--brand-accent-light);
  --v1-save: #0A8F3C;          /* discount green, the marketplace convention */
  --v1-save-soft: #E6F6EC;
  --v1-hot: #E01B4C;           /* urgency red for timers / low stock */
  --v1-page: #F2EFF7;
  --v1-card: #FFFFFF;
  --v1-line: #E7E1F5;
  --v1-radius: 8px;
  --v1-radius-lg: 18px;
  --v1-shadow: 0 1px 3px rgba(20, 16, 31, 0.07);
  --v1-shadow-lift: 0 10px 28px -10px rgba(72, 67, 159, 0.32);
  --v1-ease: cubic-bezier(0.22, 0.8, 0.3, 1);

  background: var(--v1-page);
  overflow-x: clip;
}

/* Marketplace pages read as stacked white slabs on a tinted page, not as
   alternating full-bleed sections. */
.home-v1 .v1-slab {
  background: var(--v1-card);
  border-radius: var(--v1-radius-lg);
  box-shadow: var(--v1-shadow);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(0.85rem, 1.6vw, 1.25rem);
}

.home-v1 .v1-stack {
  padding-block: clamp(0.85rem, 1.6vw, 1.25rem);
}

/* --------------------------------------------------------------------------
   1. Offer ticker
   -------------------------------------------------------------------------- */
.home-v1 .v1-ticker {
  background: linear-gradient(90deg, var(--v1-indigo), var(--v1-plum) 50%, var(--v1-plum-deep));
  overflow: hidden;
  padding-block: 0.6rem;
}

.home-v1 .v1-ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: v1-ticker 32s linear infinite;
}

.home-v1 .v1-ticker:hover .v1-ticker-track {
  animation-play-state: paused;
}

.home-v1 .v1-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-v1 .v1-ticker-item svg {
  width: 16px;
  height: 16px;
  color: var(--v1-gold-light);
  flex: none;
}

.home-v1 .v1-ticker-sub {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes v1-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   2. Category circle rail
   -------------------------------------------------------------------------- */
.home-v1 .v1-circles {
  background: var(--v1-card);
  border-bottom: 1px solid var(--v1-line);
}

.home-v1 .v1-circles-track {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 1rem;
}

.home-v1 .v1-circles-track::-webkit-scrollbar {
  display: none;
}

.home-v1 .v1-circle {
  flex: 0 0 auto;
  width: 84px;
  text-align: center;
  text-decoration: none;
  color: var(--v1-ink);
}

/* display:block is required - width/height are ignored on an inline span, which
   let the ring collapse and render the thumbnails as ovals. */
.home-v1 .v1-circle-media {
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--v1-page);
  padding: 3px;
  background-image: linear-gradient(var(--v1-card), var(--v1-card)),
                    linear-gradient(135deg, var(--v1-plum), var(--v1-gold-light));
  background-origin: border-box;
  background-clip: content-box, border-box;
  border: 2px solid transparent;
  transition: transform 240ms var(--v1-ease);
}

.home-v1 .v1-circle:hover .v1-circle-media {
  transform: translateY(-3px) scale(1.05);
}

.home-v1 .v1-circle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.home-v1 .v1-circle-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--v1-ink-soft);
}

.home-v1 .v1-circle:hover .v1-circle-label {
  color: var(--v1-plum);
}

/* --------------------------------------------------------------------------
   3. Hero banner
   -------------------------------------------------------------------------- */
.home-v1 .v1-hero {
  position: relative;
  background: var(--v1-card);
}

/* Height is set directly rather than via aspect-ratio. An aspect-ratio paired
   with max-height caps the *width* too (520px x 21/8 = 1365px), which left a
   white gutter on the right of wide screens. */
.home-v1 .v1-hero-frame {
  position: relative;
  height: clamp(330px, 40vw, 540px);
  overflow: hidden;
  background: linear-gradient(130deg, var(--v1-indigo), var(--v1-plum-deep));
}

/* Slides move as one horizontal track. A crossfade put both slides' headline
   and buttons in the same spot, so mid-transition the copy read as doubled. */
.home-v1 .v1-hero-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 620ms var(--v1-ease);
}

.home-v1 .v1-hero-shot {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-v1 .v1-hero-img {
  position: absolute;
  inset: 0;
  background-image: var(--v1-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s linear;
}

/* Slow Ken Burns drift on whichever slide is showing - cheap way to make a
   static banner feel alive. */
.home-v1 .v1-hero-shot.is-active .v1-hero-img {
  transform: scale(1);
}

.home-v1 .v1-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 31, 0.82) 0%, rgba(20, 16, 31, 0.5) 42%, transparent 72%);
}

.home-v1 .v1-hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  padding-block: 1.5rem;
  color: #fff;
}

.home-v1 .v1-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  background: var(--v1-gold-light);
  color: #3D2200;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.home-v1 .v1-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 0.6rem;
}

.home-v1 .v1-hero-text {
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.3rem;
  max-width: 40ch;
}

.home-v1 .v1-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Solid white CTA reads far harder against artwork than an outline does. */
.home-v1 .v1-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--v1-ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 200ms var(--v1-ease), box-shadow 200ms var(--v1-ease);
}

.home-v1 .v1-btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.55);
  color: var(--v1-plum);
}

.home-v1 .v1-btn-hero-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.home-v1 .v1-btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.home-v1 .v1-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.home-v1 .v1-hero-dot {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 240ms var(--v1-ease), background-color 240ms var(--v1-ease);
}

.home-v1 .v1-hero-dot.is-active {
  width: 42px;
  background: #fff;
}

.home-v1 .v1-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 38px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--v1-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: background-color 200ms var(--v1-ease);
}

.home-v1 .v1-hero-arrow:hover {
  background: #fff;
  color: var(--v1-plum);
}

.home-v1 .v1-hero-arrow-prev { left: 0; border-radius: 0 4px 4px 0; }
.home-v1 .v1-hero-arrow-next { right: 0; border-radius: 4px 0 0 4px; }

/* --------------------------------------------------------------------------
   3b. Guided search bar
   -------------------------------------------------------------------------- */
.home-v1 .v1-finder {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.15rem;
  border-radius: var(--v1-radius-lg);
  background: var(--v1-card);
  box-shadow: var(--v1-shadow);
  margin-bottom: clamp(0.85rem, 1.6vw, 1.25rem);
}

.home-v1 .v1-finder-label {
  flex: none;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--v1-ink);
}

.home-v1 .v1-finder form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 22rem;
  min-width: 0;
}

/* fancy-select.js swaps the native select for .fancy-select and hides the
   original, so the wrapper is what needs to flex here. */
.home-v1 .v1-finder .form-select,
.home-v1 .v1-finder .fancy-select {
  flex: 1 1 auto;
  min-width: 0;
}

/* Scoped to the finder so it outranks the later `.v1-btn { flex: 1 1 0 }`
   rule, which would otherwise stretch this button across the bar. */
.home-v1 .v1-finder .v1-btn-wide {
  flex: 0 0 auto;
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   4. Coupon strip
   -------------------------------------------------------------------------- */
.home-v1 .v1-coupons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: clamp(0.85rem, 1.6vw, 1.25rem);
}

.home-v1 .v1-coupon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--v1-radius);
  background: var(--v1-card);
  border: 1px dashed var(--v1-line);
  box-shadow: var(--v1-shadow);
  overflow: hidden;
}

/* Notches on both edges so the tile reads as a torn-off voucher. */
.home-v1 .v1-coupon::before,
.home-v1 .v1-coupon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--v1-page);
  top: 50%;
  transform: translateY(-50%);
}

.home-v1 .v1-coupon::before { left: -7px; }
.home-v1 .v1-coupon::after { right: -7px; }

.home-v1 .v1-coupon-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(138, 38, 164, 0.12), rgba(255, 185, 85, 0.24));
  color: var(--v1-plum);
}

.home-v1 .v1-coupon-icon svg {
  width: 20px;
  height: 20px;
}

.home-v1 .v1-coupon-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--v1-ink);
  margin: 0;
  line-height: 1.3;
}

.home-v1 .v1-coupon-sub {
  font-size: 0.75rem;
  color: var(--v1-ink-soft);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Section heads
   -------------------------------------------------------------------------- */
.home-v1 .v1-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.home-v1 .v1-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v1-gold);
  margin-bottom: 0.35rem;
}

.home-v1 .v1-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--v1-ink);
  margin-bottom: 0.15rem;
}

.home-v1 .v1-title::before {
  display: none;
}

.home-v1 .v1-sub {
  font-size: 0.86rem;
  color: var(--v1-ink-soft);
  margin: 0;
}

.home-v1 .v1-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--v1-line);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v1-plum);
  background: var(--v1-card);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms var(--v1-ease), color 200ms var(--v1-ease), border-color 200ms var(--v1-ease);
}

.home-v1 .v1-link:hover {
  background: var(--v1-plum);
  border-color: var(--v1-plum);
  color: #fff;
}

/* --------------------------------------------------------------------------
   6. Deal bar + countdown
   -------------------------------------------------------------------------- */
.home-v1 .v1-deal-slab {
  padding: 0;
  overflow: hidden;
}

.home-v1 .v1-dealbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(100deg, var(--v1-ink) 0%, var(--v1-plum-deep) 100%);
  color: #fff;
}

.home-v1 .v1-dealbar-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.home-v1 .v1-dealbar-bolt {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--v1-gold-light);
  color: #3D2200;
  animation: v1-pulse 2.2s ease-in-out infinite;
}

@keyframes v1-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 185, 85, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(255, 185, 85, 0); }
}

.home-v1 .v1-dealbar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: #fff;
  margin: 0;
  line-height: 1.15;
}

.home-v1 .v1-dealbar-sub {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Real max discount off the products actually rendered below. */
.home-v1 .v1-dealbar-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  background: var(--v1-save);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-v1 .v1-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-v1 .v1-countdown-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.home-v1 .v1-countdown-cells {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.home-v1 .v1-countdown-cell {
  min-width: 38px;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  background: var(--v1-hot);
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  line-height: 1;
}

.home-v1 .v1-countdown-cell small {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-top: 2px;
}

.home-v1 .v1-countdown-sep {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
}

.home-v1 .v1-deal-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
}

/* --------------------------------------------------------------------------
   7. Product rails (driven by site.js .auto-carousel)
   -------------------------------------------------------------------------- */
.home-v1 .auto-carousel {
  position: relative;
}

.home-v1 .auto-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.35rem;
}

.home-v1 .auto-carousel-track::-webkit-scrollbar {
  display: none;
}

.home-v1 .auto-carousel-slide {
  flex: 0 0 calc((100% - 4rem) / 5);
  scroll-snap-align: start;
  min-width: 0;
}

.home-v1 .carousel-nav-btn {
  position: absolute;
  top: 34%;
  z-index: 3;
  width: 36px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--v1-card);
  color: var(--v1-ink);
  box-shadow: 0 4px 16px rgba(20, 16, 31, 0.2);
  transition: background-color 200ms var(--v1-ease), color 200ms var(--v1-ease);
}

.home-v1 .carousel-nav-btn:hover {
  background: var(--v1-plum);
  color: #fff;
}

.home-v1 .carousel-nav-prev { left: -14px; }
.home-v1 .carousel-nav-next { right: -14px; }

.home-v1 .auto-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

.home-v1 .auto-carousel-dot {
  width: 18px;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: var(--v1-line);
  transition: background-color 200ms var(--v1-ease), width 200ms var(--v1-ease);
}

.home-v1 .auto-carousel-dot.active {
  width: 30px;
  background: var(--v1-plum);
}

/* The dots are only 3-4px tall, well under a usable touch target. A pseudo
   element grows the tappable area without changing the visual or the layout. */
.home-v1 .auto-carousel-dot,
.home-v1 .v1-hero-dot {
  position: relative;
}

.home-v1 .auto-carousel-dot::after,
.home-v1 .v1-hero-dot::after {
  content: "";
  position: absolute;
  inset: -11px -5px;
}

/* --------------------------------------------------------------------------
   8. Product card
   -------------------------------------------------------------------------- */
.home-v1 .v1-pcard {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--v1-card);
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius);
  overflow: hidden;
  transition: transform 240ms var(--v1-ease), box-shadow 240ms var(--v1-ease), border-color 240ms var(--v1-ease);
}

.home-v1 .v1-pcard:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--v1-shadow-lift);
}

.home-v1 .v1-pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--v1-page);
  overflow: hidden;
}

.home-v1 .v1-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--v1-ease);
}

.home-v1 .v1-pcard:hover .v1-pcard-media img {
  transform: scale(1.07);
}

/* Discount flag - the single loudest thing on a marketplace card. */
.home-v1 .v1-off {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.3rem 0.6rem 0.35rem;
  background: var(--v1-save);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  border-bottom-right-radius: var(--v1-radius);
}

.home-v1 .v1-off small {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.home-v1 .v1-tagline {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(20, 16, 31, 0.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-v1 .v1-tagline-hot {
  background: var(--v1-gold-light);
  color: #3D2200;
}

/* Low-stock banner across the foot of the image, from real StockQuantity. */
.home-v1 .v1-lowstock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.28rem 0.6rem;
  background: linear-gradient(90deg, rgba(224, 27, 76, 0.95), rgba(224, 27, 76, 0.75));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-v1 .v1-oos {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  color: var(--v1-ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-v1 .v1-pcard-body {
  padding: 0.7rem 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-v1 .v1-pcard-cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v1-ink-soft);
  margin-bottom: 0.2rem;
}

.home-v1 .v1-pcard-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--v1-ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.home-v1 .v1-pcard-name:hover {
  color: var(--v1-plum);
}

/* Price row: bold sale price, struck MRP, green % - marketplace convention. */
.home-v1 .v1-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.home-v1 .v1-price-now {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--v1-ink);
}

.home-v1 .v1-price-was {
  font-size: 0.8rem;
  color: var(--v1-ink-soft);
  text-decoration: line-through;
}

.home-v1 .v1-price-off {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--v1-save);
}

.home-v1 .v1-pcard-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}

.home-v1 .v1-btn {
  flex: 1 1 0;
  padding: 0.5rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--v1-plum);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--v1-ease), color 180ms var(--v1-ease);
}

.home-v1 .v1-btn-ghost {
  background: var(--v1-card);
  color: var(--v1-plum);
}

.home-v1 .v1-btn-ghost:hover {
  background: rgba(138, 38, 164, 0.08);
  color: var(--v1-plum);
}

.home-v1 .v1-btn-solid {
  background: var(--v1-plum);
  color: #fff;
}

.home-v1 .v1-btn-solid:hover {
  background: var(--v1-plum-deep);
  color: #fff;
}

/* --------------------------------------------------------------------------
   9. Promo tiles
   -------------------------------------------------------------------------- */
.home-v1 .v1-promos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-v1 .v1-promo {
  position: relative;
  display: block;
  min-height: 200px;
  border-radius: var(--v1-radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 260ms var(--v1-ease), box-shadow 260ms var(--v1-ease);
}

/* First tile goes double-wide and double-tall so the grid has a focal point
   instead of reading as four identical boxes. */
.home-v1 .v1-promo:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}

.home-v1 .v1-promo:hover {
  transform: translateY(-4px);
  box-shadow: var(--v1-shadow-lift);
}

.home-v1 .v1-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--v1-ease);
}

.home-v1 .v1-promo:hover img {
  transform: scale(1.06);
}

.home-v1 .v1-promo-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 31, 0.06) 34%, rgba(20, 16, 31, 0.84) 100%);
}

/* Diagonal shine that sweeps across on hover. */
.home-v1 .v1-promo::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(18deg);
  transition: left 700ms var(--v1-ease);
  pointer-events: none;
}

.home-v1 .v1-promo:hover::after {
  left: 130%;
}

.home-v1 .v1-promo-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  color: #fff;
}

.home-v1 .v1-promo-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.home-v1 .v1-promo:nth-child(1) .v1-promo-name {
  font-size: 1.6rem;
}

.home-v1 .v1-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v1-gold-light);
}

.home-v1 .v1-promo:hover .v1-promo-cta {
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   10. Purpose circles
   -------------------------------------------------------------------------- */
.home-v1 .v1-purposes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.home-v1 .v1-purpose {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 0.6rem;
  border-radius: var(--v1-radius);
  border: 1px solid var(--v1-line);
  background: var(--v1-card);
  text-align: center;
  text-decoration: none;
  transition: transform 220ms var(--v1-ease), border-color 220ms var(--v1-ease), box-shadow 220ms var(--v1-ease);
}

.home-v1 .v1-purpose:hover {
  transform: translateY(-4px);
  border-color: var(--v1-plum);
  box-shadow: var(--v1-shadow-lift);
}

.home-v1 .v1-purpose-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(138, 38, 164, 0.14), rgba(255, 185, 85, 0.26));
  color: var(--v1-plum);
}

.home-v1 .v1-purpose-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--v1-ink);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Zodiac
   -------------------------------------------------------------------------- */
.home-v1 .v1-zodiac {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   12. Story
   -------------------------------------------------------------------------- */
.home-v1 .v1-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.home-v1 .v1-story-media {
  margin: 0;
  border-radius: var(--v1-radius);
  overflow: hidden;
}

.home-v1 .v1-story-media img {
  display: block;
  width: 100%;
  height: auto;
}

.home-v1 .v1-story-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  color: var(--v1-ink);
  margin-bottom: 0.85rem;
}

.home-v1 .v1-story-body p {
  color: var(--v1-ink-soft);
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

/* --------------------------------------------------------------------------
   13. Consultation band
   -------------------------------------------------------------------------- */
.home-v1 .v1-band {
  position: relative;
  border-radius: var(--v1-radius-lg);
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: linear-gradient(115deg, var(--v1-indigo) 0%, var(--v1-plum) 58%, var(--v1-plum-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.85rem, 1.6vw, 1.25rem);
}

.home-v1 .v1-band::before {
  content: "";
  position: absolute;
  inset: -45% -8% auto auto;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 185, 85, 0.34), transparent 66%);
  pointer-events: none;
}

.home-v1 .v1-band-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.95rem);
  color: #fff;
  margin-bottom: 0.4rem;
}

.home-v1 .v1-band-text {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   14. Tools
   -------------------------------------------------------------------------- */
.home-v1 .v1-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-v1 .v1-tool {
  position: relative;
  padding: 1.25rem 1.15rem;
  border-radius: var(--v1-radius);
  border: 1px solid var(--v1-line);
  background: var(--v1-card);
  overflow: hidden;
  transition: transform 220ms var(--v1-ease), box-shadow 220ms var(--v1-ease);
}

.home-v1 .v1-tool:hover {
  transform: translateY(-3px);
  box-shadow: var(--v1-shadow-lift);
}

/* Oversized ghost numeral in the corner. */
.home-v1 .v1-tool-num {
  position: absolute;
  top: -0.4rem;
  right: 0.4rem;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(138, 38, 164, 0.08);
  pointer-events: none;
}

.home-v1 .v1-tool-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--v1-radius);
  background: linear-gradient(140deg, rgba(138, 38, 164, 0.12), rgba(255, 185, 85, 0.22));
  color: var(--v1-plum);
  margin-bottom: 0.75rem;
}

.home-v1 .v1-tool h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--v1-ink);
  margin-bottom: 0.35rem;
}

.home-v1 .v1-tool p {
  font-size: 0.84rem;
  color: var(--v1-ink-soft);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.home-v1 .v1-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v1-plum);
  text-decoration: none;
}

.home-v1 .v1-tool:hover .v1-tool-link {
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   15. Reviews
   -------------------------------------------------------------------------- */
.home-v1 .v1-rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  background: var(--v1-save-soft);
  color: var(--v1-save);
  font-weight: 800;
  font-size: 0.85rem;
}

.home-v1 .v1-rating-summary svg {
  width: 14px;
  height: 14px;
}

.home-v1 .v1-rating-count {
  font-weight: 600;
  color: var(--v1-ink-soft);
}

.home-v1 .v1-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-v1 .v1-review {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.15rem 1rem;
  border-radius: var(--v1-radius);
  border: 1px solid var(--v1-line);
  background: var(--v1-card);
  transition: box-shadow 220ms var(--v1-ease);
}

.home-v1 .v1-review:hover {
  box-shadow: var(--v1-shadow-lift);
}

.home-v1 .v1-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  align-self: flex-start;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: var(--v1-save);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.home-v1 .v1-review-stars svg {
  width: 11px;
  height: 11px;
}

.home-v1 .v1-review-text {
  color: var(--v1-ink);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.home-v1 .v1-review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--v1-line);
}

.home-v1 .v1-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.home-v1 .v1-review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--v1-ink);
  margin: 0;
}

.home-v1 .v1-review-role {
  font-size: 0.74rem;
  color: var(--v1-ink-soft);
  margin: 0;
}

.home-v1 .v1-review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--v1-save);
}

.home-v1 .v1-review-verified svg {
  width: 10px;
  height: 10px;
}

/* --------------------------------------------------------------------------
   16. Trust / certification row
   -------------------------------------------------------------------------- */
.home-v1 .v1-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.home-v1 .v1-trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--v1-radius);
  background: linear-gradient(140deg, rgba(138, 38, 164, 0.05), rgba(255, 185, 85, 0.08));
}

.home-v1 .v1-trust-icon {
  flex: none;
  color: var(--v1-plum);
}

.home-v1 .v1-trust-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--v1-ink);
  margin: 0;
}

.home-v1 .v1-trust-sub {
  font-size: 0.76rem;
  color: var(--v1-ink-soft);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.home-v1 [data-v1-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms var(--v1-ease), transform 560ms var(--v1-ease);
}

.home-v1 [data-v1-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .home-v1 .auto-carousel-slide { flex-basis: calc((100% - 3rem) / 4); }
  .home-v1 .v1-zodiac { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
  .home-v1 .auto-carousel-slide { flex-basis: calc((100% - 2rem) / 3); }
  .home-v1 .v1-coupons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .v1-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .v1-promo:nth-child(1) { grid-row: span 1; min-height: 240px; }
  .home-v1 .v1-story { grid-template-columns: minmax(0, 1fr); }
  .home-v1 .v1-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .v1-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .carousel-nav-prev { left: 2px; }
  .home-v1 .carousel-nav-next { right: 2px; }

  /* Portrait artwork has no room for a side scrim, so the veil goes vertical
     and the copy drops to the bottom of the frame. */
  .home-v1 .v1-hero-frame { height: clamp(340px, 58vw, 460px); }
  .home-v1 .v1-hero-veil {
    background: linear-gradient(180deg, rgba(20, 16, 31, 0.35) 0%, rgba(20, 16, 31, 0.85) 100%);
  }
  .home-v1 .v1-hero-copy { justify-content: flex-end; padding-bottom: 3rem; max-width: none; }
}

/* ---- Large phone / small tablet ---- */
@media (max-width: 767.98px) {
  .home-v1 .auto-carousel-slide { flex-basis: calc((100% - 1rem) / 2); }
  .home-v1 .v1-zodiac { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-v1 .v1-tools { grid-template-columns: minmax(0, 1fr); }
  .home-v1 .v1-reviews { grid-template-columns: minmax(0, 1fr); }
  .home-v1 .v1-dealbar { justify-content: flex-start; }

  /* Touch scrolls the rails by swipe; the overlay arrows just cover product
     imagery, so they go away along with the hero arrows. */
  .home-v1 .v1-hero-arrow,
  .home-v1 .carousel-nav-btn { display: none; }

  /* Swap to the portrait crop where one was uploaded. The wide desktop artwork
     is ~2.35:1, so a phone frame shows only its middle ~40%. Banners with no
     mobile art fall through to --v1-bg and behave exactly as before. */
  .home-v1 .v1-hero-img {
    background-image: var(--v1-bg-mobile, var(--v1-bg));
  }

  /* Full-bleed slabs. Square corners inside a padded container left tinted
     gutters down both sides; pulling back the container padding gives the
     edge-to-edge cards these layouts expect on a phone. */
  .home-v1 .v1-slab {
    border-radius: 0;
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  }

  .home-v1 .v1-finder { align-items: stretch; }
  .home-v1 .v1-finder form { flex: 1 1 100%; }
}

/* ---- Phone ---- */
@media (max-width: 575.98px) {
  /* Part of the next card stays in view so the rail reads as scrollable. */
  .home-v1 .auto-carousel-slide { flex-basis: 62%; }

  .home-v1 .v1-coupons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .v1-coupon { padding: 0.75rem 0.85rem; gap: 0.6rem; }
  .home-v1 .v1-coupon-icon { width: 32px; height: 32px; }
  .home-v1 .v1-coupon-icon svg { width: 16px; height: 16px; }
  .home-v1 .v1-coupon-title { font-size: 0.78rem; }
  .home-v1 .v1-coupon-sub { font-size: 0.68rem; }

  /* Keep a 2-up category grid rather than one tile per row - a single column
     turned this section into a very long scroll. */
  .home-v1 .v1-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .v1-promo { min-height: 150px; }
  .home-v1 .v1-promo-name { font-size: 0.92rem; }
  .home-v1 .v1-promo:nth-child(1) { grid-column: span 2; min-height: 200px; }
  .home-v1 .v1-promo:nth-child(1) .v1-promo-name { font-size: 1.25rem; }
  .home-v1 .v1-promo-body { padding: 0.7rem 0.8rem; }
  .home-v1 .v1-promo-cta { font-size: 0.65rem; }

  .home-v1 .v1-zodiac { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v1 .v1-circle { width: 72px; }
  .home-v1 .v1-circle-media { width: 58px; height: 58px; }

  /* At col-6 on a 360px screen the card body is ~126px wide, which cannot fit
     "Add" and "Buy Now" side by side - they overflowed the card. */
  .home-v1 .v1-pcard-actions { flex-direction: column; }
  .home-v1 .v1-btn { flex: 1 1 auto; }

  .home-v1 .v1-pcard-body { padding: 0.6rem 0.65rem 0.7rem; }
  .home-v1 .v1-price-now { font-size: 0.95rem; }
  .home-v1 .v1-price { gap: 0.3rem; margin-bottom: 0.55rem; }

  /* Taller frame so the eyebrow, headline, subtitle and both CTAs fit without
     colliding with the dots. */
  .home-v1 .v1-hero-frame { height: clamp(400px, 108vw, 470px); }
  .home-v1 .v1-hero-copy { padding-bottom: 2.5rem; }
  .home-v1 .v1-hero-text { margin-bottom: 1rem; }
  .home-v1 .v1-hero-actions { gap: 0.5rem; }
  .home-v1 .v1-btn-hero { padding: 0.6rem 1.15rem; font-size: 0.84rem; }

  .home-v1 .v1-finder { padding: 0.85rem; }
  .home-v1 .v1-finder form { flex-wrap: wrap; }
  .home-v1 .v1-finder .form-select,
  .home-v1 .v1-finder .fancy-select,
  .home-v1 .v1-finder .v1-btn-wide { flex: 1 1 100%; }

  .home-v1 .v1-dealbar { padding: 0.85rem 1rem; gap: 0.75rem; }
  .home-v1 .v1-dealbar-left { gap: 0.65rem; }
  .home-v1 .v1-dealbar-bolt { width: 34px; height: 34px; }
  .home-v1 .v1-countdown-cell { min-width: 34px; font-size: 0.9rem; }

  .home-v1 .v1-band { padding: 1.35rem 1.15rem; }
  .home-v1 .v1-purpose { padding: 0.9rem 0.5rem; }
  .home-v1 .v1-purpose-icon { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v1 .v1-ticker-track,
  .home-v1 .v1-dealbar-bolt { animation: none; }

  .home-v1 [data-v1-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-v1 .v1-hero-track,
  .home-v1 .v1-hero-img,
  .home-v1 .v1-promo::after { transition: none; }

  .home-v1 .v1-hero-img { transform: none; }
}

/* --------------------------------------------------------------------------
   Jump nav
   --------------------------------------------------------------------------
   The page is a dozen full-width sections deep, so reaching the gemstone edit
   or the free tools meant scrolling past everything above them. Sticks under
   the site header so it stays reachable mid-scroll.
   -------------------------------------------------------------------------- */
.home-v1 .v1-jump {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--v1-card);
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-lg);
  box-shadow: var(--v1-shadow);
  margin-bottom: clamp(0.85rem, 1.6vw, 1.25rem);
}

.home-v1 .v1-jump-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem clamp(0.85rem, 2vw, 1.25rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.home-v1 .v1-jump-inner::-webkit-scrollbar {
  display: none;
}

.home-v1 .v1-jump-label {
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v1-ink-soft);
}

.home-v1 .v1-jump-list {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-v1 .v1-jump-list a {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--v1-ink);
  text-decoration: none;
  background: rgba(138, 38, 164, 0.05);
  border: 1px solid var(--v1-line);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  transition: background-color 200ms var(--v1-ease), color 200ms var(--v1-ease), border-color 200ms var(--v1-ease);
}

.home-v1 .v1-jump-list a:hover,
.home-v1 .v1-jump-list a.is-current {
  color: #fff;
  background: var(--v1-plum);
  border-color: var(--v1-plum);
}

/* Header + jump bar both float over the page, so an anchored section has to stop
   clear of them rather than under them. */
.home-v1 [id^="home-"] {
  scroll-margin-top: 140px;
}
