/* ════════════════════════════════════════════════════════════════════════════
   sections-extra.css — the eight home-section types Admin Web already offers but the
   storefront did not draw: image_banner, tag_grid, text_banner, testimonial,
   instagram_feed, video_banner, countdown_timer, rich_text.
   Drawn by Views/Home/Index.cshtml; tools/storefront-preview draws the same markup and
   links this file, so a preview always matches the store. Colours, fonts and radius
   come from the theme variables (--nc-*), so every store's Appearance settings apply.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Image Banner: one to three linked pictures side by side ─────────────── */
.image-banner-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--ib-cols, 1), 1fr); }
.image-banner {
  position: relative; display: block; overflow: hidden; border-radius: var(--nc-radius-lg, 12px);
  aspect-ratio: var(--ib-ratio, 16 / 7); background: var(--nc-cream, #faf7f2);
}
.image-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.image-banner:hover img { transform: scale(1.04); }
.ib-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 30px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 55%, transparent 100%);
}
.ib-title { font-family: var(--nc-font-serif); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.15; }
.ib-sub { font-size: 14px; opacity: .9; margin-top: 4px; }
.ib-cta {
  align-self: flex-start; margin-top: 14px; padding: 9px 22px; border-radius: 999px;
  background: #fff; color: var(--nc-header-bg, #1a0a00); font-size: 13px; font-weight: 600; letter-spacing: .3px;
}
@media (max-width: 768px) {
  .image-banner-grid { grid-template-columns: 1fr; }
  .image-banner { aspect-ratio: 4 / 3; }
  .ib-overlay { padding: 20px; }
}

/* ── Tag Grid: shop by occasion / style ────────────────────────────────────── */
.tag-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--tg-cols, 4), 1fr); }
.tag-card { position: relative; display: block; overflow: hidden; border-radius: var(--nc-radius-lg, 12px); aspect-ratio: 3 / 4; }
.tag-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.tag-card:hover img { transform: scale(1.05); }
.tag-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 18px; text-align: center; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
.tag-label { display: block; font-family: var(--nc-font-serif); font-size: 22px; font-weight: 700; }
.tag-sub { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 2px; }
@media (max-width: 768px) { .tag-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tag-label { font-size: 17px; } }

/* ── Text + CTA Banner ─────────────────────────────────────────────────────── */
.text-banner { padding: 64px 24px; text-align: center; background: var(--tb-bg, var(--nc-header-bg, #1a0a00)); color: #fff; }
.text-banner-inner { max-width: 760px; margin: 0 auto; }
.text-banner-eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--nc-header-accent, #d4a855); }
.text-banner h2 { font-family: var(--nc-font-serif); font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; margin: 10px 0 14px; color: #fff; }
.text-banner p { font-size: 16px; line-height: 1.7; opacity: .88; margin: 0 auto; }
.text-banner-cta {
  display: inline-block; margin-top: 26px; padding: 12px 30px; border-radius: 999px;
  border: 1px solid var(--nc-header-accent, #d4a855); color: var(--nc-header-accent, #d4a855); font-weight: 600; font-size: 14px;
}
.text-banner-cta:hover { background: var(--nc-header-accent, #d4a855); color: var(--nc-header-bg, #1a0a00); }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonial-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonial-card {
  background: var(--nc-cream, #fff); border: 1px solid var(--nc-border, #eee); border-radius: var(--nc-radius-lg, 12px);
  padding: 26px 24px; text-align: center;
}
.testimonial-stars { color: var(--nc-gold, #d4a855); letter-spacing: 3px; font-size: 15px; }
.testimonial-quote { font-size: 15px; line-height: 1.7; margin: 12px 0 16px; }
.testimonial-name { font-weight: 700; }
.testimonial-place { font-size: 12px; opacity: .7; }

/* ── Instagram Feed ────────────────────────────────────────────────────────── */
.insta-grid { display: grid; gap: 6px; grid-template-columns: repeat(6, 1fr); }
.insta-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta-tile::after {
  content: "\f16d"; font-family: "Font Awesome 6 Brands"; font-weight: 400; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 28px; color: #fff; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s;
}
.insta-tile:hover::after { opacity: 1; }
.insta-tile:hover img { transform: scale(1.06); }
.insta-follow { text-align: center; margin-top: 22px; }
.insta-follow a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: 999px;
  background: var(--brand-primary, #c41e4a); color: #fff; font-weight: 600; font-size: 14px;
}
@media (max-width: 768px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Video Banner: a reel or YouTube film behind a message; the poster until then ── */
.video-banner { position: relative; overflow: hidden; height: min(62vw, 560px); background: #000; }
.video-banner video, .video-banner iframe, .video-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0;
}
.video-banner iframe { width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.video-banner-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: #fff; background: rgba(0,0,0,.38);
}
.video-banner-overlay h2 { font-family: var(--nc-font-serif); font-size: clamp(28px, 4vw, 52px); font-weight: 700; color: #fff; margin: 0; }
.video-banner-overlay p { font-size: 16px; opacity: .92; margin: 10px 0 0; }
.video-banner-cta { margin-top: 22px; padding: 12px 30px; border-radius: 999px; background: #fff; color: #1a0a00; font-weight: 600; font-size: 14px; }
@media (max-width: 768px) { .video-banner { height: 440px; } }
.video-banner-play {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 18px; background: rgba(255,255,255,.12);
}

/* ── Countdown Timer ───────────────────────────────────────────────────────── */
.countdown {
  padding: 46px 24px; text-align: center; color: #fff;
  background: var(--cd-bg, linear-gradient(120deg, var(--nc-header-bg, #1a0a00), var(--brand-primary, #7b0f2f)));
}
.countdown h2 { font-family: var(--nc-font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: #fff; margin: 0 0 6px; }
.countdown p { opacity: .88; margin: 0; }
.countdown-clock { display: inline-flex; gap: 12px; margin: 22px 0 6px; }
.countdown-unit { min-width: 76px; padding: 12px 8px; border-radius: var(--nc-radius, 6px); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.countdown-unit b { display: block; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-unit span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.countdown-cta { display: inline-block; margin-top: 18px; padding: 11px 28px; border-radius: 999px; background: var(--nc-header-accent, #d4a855); color: #1a0a00; font-weight: 600; font-size: 14px; }
@media (max-width: 480px) { .countdown-unit { min-width: 62px; } .countdown-unit b { font-size: 24px; } }

/* ── Rich Text ─────────────────────────────────────────────────────────────── */
.rich-text-body { max-width: 820px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.rich-text-body h2, .rich-text-body h3 { font-family: var(--nc-font-serif); }
