/* ================================================================
 * Home page styles
 * Sections: hero, trust-strip, new-arrivals, edits-grid,
 *           loom-diary, bridal, founder-quote, fb-live
 * ================================================================ */

/* ---------- HERO ---------- */
.rcs-hero {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 78vh;
  min-height: 78dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.rcs-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rcs-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.6s var(--rcs-ease-out);
}
.rcs-hero[data-reveal].is-visible .rcs-hero__media img {
  transform: scale(1.04);
}
.rcs-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 26, 25, 0.25) 0%,
    rgba(28, 26, 25, 0.35) 50%,
    rgba(28, 26, 25, 0.55) 100%
  );
}
.rcs-hero__content {
  width: 100%;
  text-align: center;
  color: var(--rcs-text-inverse);
  padding-top: var(--rcs-space-9);
  padding-bottom: var(--rcs-space-9);
  position: relative;
  z-index: 1;
}
.rcs-hero__eyebrow {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--rcs-space-3);
}
.rcs-hero__title {
  font-family: var(--rcs-font-display);
  font-size: var(--rcs-size-7xl);
  line-height: 1.04;
  letter-spacing: var(--rcs-track-tighter);
  font-weight: var(--rcs-fw-medium);
  color: #fff;
  margin: 0 0 var(--rcs-space-4);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.rcs-hero__body {
  font-size: var(--rcs-size-md);
  line-height: var(--rcs-lh-relaxed);
  color: rgba(255, 255, 255, 0.92);
  max-width: 28ch;
  margin: 0 auto var(--rcs-space-6);
}
.rcs-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--rcs-space-3);
}
.rcs-hero__cta .rcs-btn {
  min-width: 220px;
}
.rcs-hero__story {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: var(--rcs-size-sm);
  letter-spacing: var(--rcs-track-ui);
  text-transform: uppercase;
  font-weight: var(--rcs-fw-semi);
}

/* ---------- TRUST STRIP ---------- */
.rcs-trust-strip {
  background: var(--rcs-canvas);
  border-bottom: 1px solid var(--rcs-outline);
  padding: var(--rcs-space-3) 0;
}
.rcs-trust-strip__track {
  display: flex;
  gap: var(--rcs-space-6);
  padding: 0 var(--rcs-gutter);
  white-space: nowrap;
  scroll-snap-type: x proximity;
}
.rcs-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: var(--rcs-space-2);
  font-size: var(--rcs-size-xs);
  font-weight: var(--rcs-fw-semi);
  letter-spacing: var(--rcs-track-ui);
  text-transform: uppercase;
  color: var(--rcs-text-muted);
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.rcs-trust-strip__item .ph { color: var(--rcs-primary); font-size: var(--rcs-size-base); }

/* ---------- PRODUCT GRID (2-col mobile) ---------- */
.rcs-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rcs-space-4) var(--rcs-space-3);
}
@media (min-width: 769px) {
  .rcs-product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- EDITS GRID 2x2 ---------- */
.rcs-edits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rcs-space-3);
}
.rcs-edits-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--rcs-r-5);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--rcs-text-inverse);
  box-shadow: var(--rcs-shadow-md);
  isolation: isolate;
}
.rcs-edits-tile__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rcs-edits-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--rcs-dur-6) var(--rcs-ease-out);
}
.rcs-edits-tile:active .rcs-edits-tile__media img { transform: scale(1.06); }
.rcs-edits-tile__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(28, 26, 25, 0.72) 100%);
}
.rcs-edits-tile__content {
  position: relative;
  padding: var(--rcs-space-4);
  z-index: 1;
}
.rcs-edits-tile__content .rcs-eyebrow {
  color: rgba(255, 255, 255, 0.86);
  font-size: 9.5px;
  margin-bottom: 2px;
}
.rcs-edits-tile__title {
  font-family: var(--rcs-font-display);
  font-size: var(--rcs-size-xl);
  margin: 0 0 var(--rcs-space-2);
  font-weight: var(--rcs-fw-medium);
  color: #fff;
  letter-spacing: -0.005em;
}
.rcs-edits-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: var(--rcs-track-ui);
  text-transform: uppercase;
  font-weight: var(--rcs-fw-bold);
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  padding-bottom: 1px;
}

/* ---------- LOOM DIARY ---------- */
.rcs-loom {
  background: var(--rcs-section-tint);
  text-align: left;
}
.rcs-loom__title {
  font-family: var(--rcs-font-display);
  font-size: var(--rcs-size-4xl);
  line-height: 1.15;
  letter-spacing: var(--rcs-track-tight);
  font-weight: var(--rcs-fw-medium);
  color: var(--rcs-text);
  margin: var(--rcs-space-2) 0 var(--rcs-space-4);
  max-width: 22ch;
}
.rcs-loom__body {
  font-size: var(--rcs-size-md);
  line-height: var(--rcs-lh-relaxed);
  color: var(--rcs-text-muted);
  margin: 0 0 var(--rcs-space-6);
  max-width: 38ch;
}

/* ---------- BRIDAL ---------- */
.rcs-bridal__card {
  position: relative;
  border-radius: var(--rcs-r-6);
  overflow: hidden;
  color: var(--rcs-text-inverse);
  isolation: isolate;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--rcs-shadow-lg);
}
.rcs-bridal__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rcs-bridal__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.rcs-bridal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(79, 15, 34, 0.85) 100%);
}
.rcs-bridal__content {
  position: relative;
  padding: var(--rcs-space-6);
  z-index: 1;
  width: 100%;
}
.rcs-bridal__content .rcs-eyebrow {
  color: var(--rcs-accent);
  margin-bottom: var(--rcs-space-2);
}
.rcs-bridal__title {
  font-family: var(--rcs-font-display);
  font-size: var(--rcs-size-4xl);
  line-height: 1.12;
  letter-spacing: var(--rcs-track-tight);
  font-weight: var(--rcs-fw-medium);
  color: #fff;
  margin: 0 0 var(--rcs-space-3);
  max-width: 18ch;
}
.rcs-bridal__body {
  font-size: var(--rcs-size-md);
  line-height: var(--rcs-lh-relaxed);
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 var(--rcs-space-5);
  max-width: 32ch;
}
.rcs-bridal__content .rcs-btn {
  background: var(--rcs-text-inverse);
  color: var(--rcs-primary);
}

/* ---------- FOUNDER QUOTE ---------- */
.rcs-founder {
  background: var(--rcs-section-tint);
}
.rcs-founder__quote {
  margin: 0;
  position: relative;
  padding-top: var(--rcs-space-6);
}
.rcs-founder__quote::before {
  content: "“";
  position: absolute;
  top: -8px; left: -8px;
  font-family: var(--rcs-font-display);
  font-size: 88px;
  color: var(--rcs-accent);
  opacity: 0.38;
  line-height: 1;
}
.rcs-founder__quote blockquote {
  font-family: var(--rcs-font-display);
  font-size: var(--rcs-size-2xl);
  line-height: 1.4;
  font-style: italic;
  font-weight: var(--rcs-fw-regular);
  color: var(--rcs-text);
  margin: 0 0 var(--rcs-space-4);
  letter-spacing: -0.005em;
}
.rcs-founder__quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--rcs-space-2);
  font-family: var(--rcs-font-ui);
  font-size: var(--rcs-size-xs);
  letter-spacing: var(--rcs-track-display);
  text-transform: uppercase;
  font-weight: var(--rcs-fw-bold);
  color: var(--rcs-bronze);
}
.rcs-founder__dash { font-size: var(--rcs-size-md); color: var(--rcs-accent); }

/* ---------- FB LIVE ---------- */
.rcs-fb-live {
  background: linear-gradient(135deg, var(--rcs-primary) 0%, var(--rcs-primary-deep) 100%);
  color: var(--rcs-text-inverse);
  border-radius: 0;
}
.rcs-fb-live__inner {
  padding: var(--rcs-space-6) var(--rcs-gutter);
  text-align: center;
}
.rcs-fb-live__indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--rcs-space-2);
  font-size: var(--rcs-size-xs);
  letter-spacing: var(--rcs-track-display);
  text-transform: uppercase;
  font-weight: var(--rcs-fw-bold);
  color: var(--rcs-accent);
  margin-bottom: var(--rcs-space-4);
}
.rcs-fb-live__title {
  font-family: var(--rcs-font-display);
  font-size: var(--rcs-size-2xl);
  line-height: 1.25;
  font-weight: var(--rcs-fw-medium);
  color: #fff;
  margin: 0 0 var(--rcs-space-5);
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
.rcs-fb-live__cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.50);
  background: transparent;
}
.rcs-fb-live__cta:active { background: rgba(255, 255, 255, 0.10); }


/* =====================================================
 * Shop by Price — final compact design
 * Tight chip with tiny "Under" prefix + emphasized price.
 * Allows horizontal scroll if viewport < ~360px.
 * ===================================================== */
.rcs-price-tiers {
    padding: 24px 0 10px;
    background: var(--rcs-canvas);
    position: relative;
}
.rcs-price-tiers__head {
    text-align: center;
    margin-bottom: 14px;
    padding: 0 var(--rcs-gutter);
}
.rcs-price-tiers__head .rcs-eyebrow {
    display: block;
    color: var(--rcs-primary);
    margin-bottom: 4px;
}
.rcs-price-tiers__title {
    font-family: var(--rcs-font-display);
    font-size: var(--rcs-size-xl);
    font-weight: 600;
    color: var(--rcs-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: var(--rcs-track-tight);
}

.rcs-price-tiers__grid {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 4px var(--rcs-gutter) 8px;
    max-width: 100%;
    box-sizing: border-box;
}

/* ─── The chip ─── */
.rcs-price-tier {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 12px 10px 10px;
    background: var(--rcs-surface);
    color: var(--rcs-text);
    text-decoration: none;
    border-radius: var(--rcs-r-3);
    border: 1px solid var(--rcs-outline);
    box-shadow: var(--rcs-shadow-sm);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition: transform 280ms var(--rcs-ease-out), box-shadow 280ms var(--rcs-ease-out), border-color 280ms var(--rcs-ease-out);
}

/* Breathing gold gradient ring */
.rcs-price-tier::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(201,169,97,0.55) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 320ms var(--rcs-ease-out);
    z-index: 0;
    pointer-events: none;
    animation: rcs-tier-breathe 4.5s var(--rcs-ease-inout) infinite;
    animation-delay: calc(var(--rcs-tier-i, 0) * 0.6s);
}
.rcs-price-tier > * {
    position: relative;
    z-index: 1;
}

/* HIDE prefix label that says "Under" - inject our own minimal "₹X" */
.rcs-price-tier__icon { display: none; }
.rcs-price-tier__cta  { display: none; }
.rcs-price-tier__flourish { display: none; }
.rcs-price-tier__glow { display: none; }

/* Cap shows just "Under ₹499" - simplify to just "₹499+" via JS, or shorten via CSS */
.rcs-price-tier__cap {
    font-family: var(--rcs-font-display);
    font-weight: 600;
    font-size: clamp(13px, 4.2vw, 17px);
    color: var(--rcs-primary);
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-align: center;
}

.rcs-price-tier__sub {
    font-size: clamp(8px, 2.4vw, 10px);
    font-family: var(--rcs-font-ui);
    color: var(--rcs-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 3px;
    white-space: nowrap;
    text-align: center;
}

/* Hover */
@media (hover: hover) {
    .rcs-price-tier:hover {
        transform: translateY(-2px);
        border-color: var(--rcs-accent);
        box-shadow: var(--rcs-shadow-md);
    }
    .rcs-price-tier:hover::before { opacity: 1; }
}
.rcs-price-tier:active { transform: scale(0.97); }
.rcs-price-tier:focus-visible {
    outline: 2px solid var(--rcs-primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes rcs-tier-breathe {
        0%, 100% { opacity: 0.35; }
        50%      { opacity: 0.85; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .rcs-price-tier::before { animation: none; opacity: 0.45; }
}

/* Tablet+ */
@media (min-width: 600px) {
    .rcs-price-tiers__title { font-size: var(--rcs-size-2xl); }
    .rcs-price-tiers__grid { max-width: 640px; margin: 0 auto; gap: 12px; }
    .rcs-price-tier { padding: 16px 14px; max-width: 200px; flex: 1 1 0; }
    .rcs-price-tier__cap { font-size: var(--rcs-size-xl); }
    .rcs-price-tier__sub { font-size: 10px; }
}
@media (min-width: 1024px) {
    .rcs-price-tiers { padding: 36px 0 14px; }
    .rcs-price-tiers__title { font-size: var(--rcs-size-3xl); }
}
