/* ==========================================================================
   Jaipur RC Club — homepage sections added in 1.2
   (budget, spotlights, new arrivals, shoppable videos, reels, safe checkout,
   find our store, blog). Loaded on the front page only.
   ========================================================================== */

.section-lead { margin: calc(var(--sp-5) * -0.5) 0 var(--sp-5); max-width: 60ch; color: var(--c-ink-2); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--c-dark); text-decoration: underline; text-underline-offset: 3px; }
.btn--ghost:hover { color: var(--c-red); }

/* ---------- Shop by budget ---------- */
.budget-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .budget-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.budget-card { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); color: var(--c-ink); transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.budget-card:hover { border-color: var(--c-red); box-shadow: var(--sh-2); transform: translateY(-2px); }
.budget-card__media { flex: none; display: block; width: 64px; height: 64px; border-radius: var(--r-md); background: #fff; overflow: hidden; }
.budget-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 599px) {
  .budget-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .budget-card__media { width: 100%; height: 72px; }
  .budget-card__price { font-size: var(--fs-md); white-space: nowrap; }
}
@media (min-width: 768px) { .budget-card { padding: 14px 16px; gap: 14px; } .budget-card__media { width: 84px; height: 84px; } }
.budget-card__cta { white-space: nowrap; }
.budget-card__body { display: grid; gap: 2px; min-width: 0; }
.budget-card__price { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.1; color: var(--c-dark); }
@media (min-width: 768px) { .budget-card__price { font-size: var(--fs-xl); } }
.budget-card__note { font-size: var(--fs-xs); color: var(--c-muted); }
.budget-card__cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--c-red-600); }

/* ---------- Collection spotlights ---------- */
.spotlight__grid { display: grid; gap: 12px; }
@media (min-width: 1024px) { .spotlight__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px; align-items: stretch; }
  .spotlight__rail .rail__track { grid-auto-columns: calc((100% - 40px) / 3); } }
.spot-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 220px; padding: 24px; border-radius: var(--r-lg); color: #fff; isolation: isolate; }
@media (min-width: 1024px) { .spot-card { min-height: 100%; padding: 28px; } }
.spot-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern-arches.svg") right -40px bottom -60px / 260px repeat; opacity: .1; }
.spot-card--dark { background: linear-gradient(160deg, var(--c-dark-700), var(--c-dark-900)); }
.spot-card--dark::before { content: ""; position: absolute; left: 24px; top: 24px; width: 40px; height: 3px; background: var(--c-red); }
.spot-card--red { background: linear-gradient(160deg, var(--c-red), var(--c-red-700)); }
.spot-card--red::before { content: ""; position: absolute; left: 24px; top: 24px; width: 40px; height: 3px; background: #fff; }
.spot-card__eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-silver); }
.spot-card--red .spot-card__eyebrow { color: #FFE1DF; }
.spot-card__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1; }
.spot-card__text { font-size: var(--fs-sm); color: rgba(255, 255, 255, .86); max-width: 40ch; }
.spot-card__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: #fff; color: var(--c-dark); font-weight: 700; font-size: var(--fs-sm); transition: background var(--t-fast), color var(--t-fast); }
.spot-card__btn:hover { background: var(--c-dark); color: #fff; }
.spot-card--dark .spot-card__btn:hover { background: var(--c-red); }

/* ---------- Dark band (new arrivals) ---------- */
.section--dark { background: var(--c-dark-900); color: #fff; }
.section-head--light .h-display, .section-head--light h2 { color: #fff; }
.section-head--light .eyebrow { color: var(--c-red-300); }
.section-head--light .section-head__link { color: #fff; }
.section-head--light .rail__btn { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.section-head--light .rail__btn:hover { background: #fff; color: var(--c-dark); }
.section--dark .p-card { border-color: transparent; color: var(--c-ink); }

/* ---------- See it in action (shoppable videos) ---------- */
.videos-section .rail__track { grid-auto-columns: 72%; }
@media (min-width: 600px) { .videos-section .rail__track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1024px) { .videos-section .rail__track { grid-auto-columns: calc((100% - 60px) / 4); } }
.vcard { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vcard__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--c-dark); }
.vcard__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .3s; }
.vcard__media.is-playing .vcard__poster { opacity: 0; }
.vcard__sound { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 12, 14, .55); color: #fff; border: 0; cursor: pointer; backdrop-filter: blur(4px); }
.vcard__sound:hover { background: var(--c-red); }
.vcard__sound-on { display: none; }
.vcard__sound[aria-pressed="true"] .vcard__sound-on { display: inline; }
.vcard__sound[aria-pressed="true"] .vcard__sound-off { display: none; }
.vcard__sound svg { display: block; }
.vcard__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(225, 6, 0, .92); color: #fff; border: 0; cursor: pointer; }
.vcard__play[hidden] { display: none; }
.vcard__play .icon { width: 28px; height: 28px; }
.vcard__product { display: flex; align-items: center; gap: 10px; }
.vcard__thumb { flex: none; width: 52px; height: 52px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: contain; }
.vcard__info { min-width: 0; }
.vcard__name { font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__name a { color: var(--c-dark); }
.vcard__price { font-size: var(--fs-sm); font-weight: 700; color: var(--c-dark); }
.vcard__price del { color: var(--c-muted); font-weight: 400; margin-right: 4px; }
.vcard__price ins { text-decoration: none; }
.vcard__shop { margin-top: auto; }

/* ---------- Latest reels ---------- */
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reels-head .section-head { flex: 1; margin-bottom: var(--sp-5); }
.reels-follow { margin-bottom: var(--sp-5); }
.reels-section .rail__track { grid-auto-columns: 44%; }
@media (min-width: 768px) { .reels-section .rail__track { grid-auto-columns: calc((100% - 48px) / 4); } }
@media (min-width: 1024px) { .reels-section .rail__track { grid-auto-columns: calc((100% - 80px) / 5); } }
.reel { min-width: 0; }
.reel__link { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--c-dark); color: #fff; cursor: pointer; text-align: left; }
.reel__link img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med, .3s); }
.reel__link:hover img { transform: scale(1.04); }
.reel__link::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(11, 12, 14, .85)); }
.reel__play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); z-index: 1; }
.reel__link:hover .reel__play { background: var(--c-red); }
.reel__title { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel__video { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: #000; object-fit: cover; }

/* ---------- Safe checkout strip ---------- */
.checkout-strip { display: grid; gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
@media (min-width: 1024px) { .checkout-strip { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 32px; padding: 28px 32px; align-items: center; } }
.checkout-strip__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.checkout-strip__head > .icon { width: 34px; height: 34px; flex: none; color: var(--c-red); }
.checkout-strip__head h2 { font-family: var(--f-display); text-transform: uppercase; font-size: var(--fs-xl); color: var(--c-dark); line-height: 1.1; }
.checkout-strip__head p { font-size: var(--fs-sm); color: var(--c-ink-2); margin-top: 2px; }
.checkout-strip__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .checkout-strip__items { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.checkout-strip__items li { display: grid; gap: 2px; align-content: start; }
.checkout-strip__items .icon { width: 24px; height: 24px; color: var(--c-dark); margin-bottom: 6px; }
.checkout-strip__items strong { font-size: var(--fs-sm); color: var(--c-dark); }
.checkout-strip__items span { font-size: var(--fs-xs); color: var(--c-muted); }
.checkout-strip__pay { padding-top: 18px; border-top: 1px solid var(--c-line); }
@media (min-width: 1024px) { .checkout-strip__pay { padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--c-line); } }
.checkout-strip__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 10px; }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges li { padding: 6px 12px; border: 1px solid var(--c-line-strong); border-radius: 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .03em; color: var(--c-dark); background: var(--c-bg); }

/* ---------- Find our store ---------- */
.store-map { display: grid; gap: 16px; }
@media (min-width: 1024px) { .store-map { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; } }
.store-map__map { position: relative; min-height: 280px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-surface); }
.store-map__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.store-map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--c-dark); background: linear-gradient(0deg, rgba(244, 245, 247, .7), rgba(244, 245, 247, .7)), repeating-linear-gradient(0deg, transparent 0 39px, var(--c-line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--c-line) 39px 40px); }
.store-map__pin { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--c-red); display: grid; place-items: center; box-shadow: var(--sh-2); }
.store-map__pin .icon { rotate: 45deg; color: #fff; width: 26px; height: 26px; }
.store-map__open { font-weight: 700; border-bottom: 1.5px solid var(--c-red); }
.store-map__card { display: grid; gap: 14px; align-content: start; padding: 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.store-map__card .logo--image img { height: 46px; }
.store-map__lead { font-size: var(--fs-sm); color: var(--c-ink-2); }
.store-map__row { display: flex; gap: 12px; font-size: var(--fs-sm); }
.store-map__row > .icon { color: var(--c-red); flex: none; margin-top: 2px; }
.store-map__row strong { display: block; color: var(--c-dark); }
.store-map__row p, .store-map__row a { color: var(--c-ink-2); }
.store-map__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.store-map__status { min-height: 1.2em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-success); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Community: testimonials with photos (RC enthusiasts) ---------- */
@media (min-width: 900px) { .testimonials:has(.testimonial:nth-child(4)) { grid-template-columns: repeat(4, 1fr); } }
.testimonial--photo { padding: 0; overflow: hidden; align-content: start; }
.testimonial--photo > :not(.testimonial__photo) { padding-inline: 18px; }
.testimonial--photo > figcaption { padding-bottom: 18px; }
.testimonial__photo { aspect-ratio: 4 / 3; background: var(--c-surface); }
.testimonial__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .budget-card, .reel__link img { transition: none; }
  .budget-card:hover { transform: none; }
}
