/**
 * Shop page — brand encounter experience (not a sales LP).
 * Scoped to body.page-shop. Hero untouched.
 *
 * Scenes: WHERE → CHANNELS → EVENTS → FAQ → NEXT
 *
 * @package Flamingo_Liqueur
 */

/* --------------------------------------------------------------------------
   Global — quieter rhythm, ~30% less vertical air
   -------------------------------------------------------------------------- */

.page-shop .c-entry__content--blocks > .fl-story + .fl-shop,
.page-shop .c-entry__content--blocks > .fl-shop + .fl-gallery,
.page-shop .c-entry__content--blocks > .fl-gallery + .fl-faq,
.page-shop .c-entry__content--blocks > .fl-faq + .fl-story {
  border-top: 0;
}

.page-shop .fl-hero__subheading {
  font-weight: 300;
}

.page-shop .fl-hero__scroll {
  letter-spacing: 0.28em;
}

/* Kill card chrome site-wide on this page */
.page-shop .fl-shop__card,
.page-shop .fl-shop__media,
.page-shop .fl-gallery__figure,
.page-shop .fl-story__media,
.page-shop .fl-image-frame {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

.page-shop .fl-shop__grid .fl-image-frame::after,
.page-shop .fl-gallery__grid .fl-image-frame::after {
  content: none !important;
}

/* --------------------------------------------------------------------------
   SCENE 1 — WHERE (left copy / right image — balanced weight)
   Avoid: tiny type vs giant bright studio square.
   -------------------------------------------------------------------------- */

.page-shop #where-to-buy {
  padding-block: clamp(4rem, 9vh, 6.5rem);
  background:
    radial-gradient(ellipse 55% 45% at 78% 48%, rgba(201, 161, 74, 0.1), transparent 58%),
    linear-gradient(180deg, #0d0d12 0%, #060608 100%);
  /* Beat layout boot inline vars that shrink text / widen the white frame */
  --fl-layout-frame: 100% !important;
  --fl-image-col: 1fr !important;
  --fl-text-min: 320px !important;
  --fl-image-min: 320px !important;
  --fl-layout-gap: clamp(2rem, 4vw, 3rem) !important;
}

.page-shop #where-to-buy .l-container,
.page-shop #where-to-buy .l-container--narrow {
  max-width: min(68rem, 100%);
  width: 100%;
}

.page-shop #where-to-buy .fl-story__copy {
  max-width: 30rem;
}

.page-shop #where-to-buy .fl-story__label {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
}

.page-shop #where-to-buy .fl-story__title {
  margin: 0 0 1.35rem;
  max-width: 8ch;
  font-size: clamp(3.25rem, 6vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.page-shop #where-to-buy .fl-story__description p {
  max-width: min(26rem, 100%);
  font-size: clamp(1.15rem, 1.85vw, 1.35rem);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.94);
}

/* Portrait product still — full bottle; tone down high-key white plate */
.page-shop #where-to-buy .fl-story__media,
.page-shop #where-to-buy .fl-story__media.fl-image-frame,
.page-shop #where-to-buy .fl-image-frame {
  position: relative;
  width: 100%;
  max-width: min(24rem, 100%);
  margin-inline: auto 0;
  aspect-ratio: 4 / 5 !important;
  --fl-frame-ar: 4 / 5;
  --fl-frame-w: 100%;
  --fl-frame-h: 100%;
  --fl-img-x: 50%;
  --fl-img-y: 42%;
  --fl-img-zoom: 1;
  overflow: hidden;
}

/* Soften the bright studio plate so type can hold equal weight */
.page-shop #where-to-buy .fl-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(8, 6, 10, 0.22) 0%,
    rgba(8, 6, 10, 0.08) 45%,
    rgba(8, 6, 10, 0.18) 100%
  );
}

.page-shop #where-to-buy .fl-image-frame__viewport {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.page-shop #where-to-buy .fl-story__img,
.page-shop #where-to-buy .fl-image-frame__viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 42% !important;
}

@media (min-width: 900px) {
  /* Near 50/50 — type must hold its own against the still */
  .page-shop #where-to-buy .fl-story__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
  }

  .page-shop #where-to-buy .fl-story__media,
  .page-shop #where-to-buy .fl-story__media.fl-image-frame {
    max-width: min(22.5rem, 100%);
    justify-self: end;
  }
}

/* --------------------------------------------------------------------------
   SCENE 2 — CHANNELS (image-led stills, quiet rhythm)
   -------------------------------------------------------------------------- */

.page-shop #channels {
  padding-block: clamp(4rem, 10vh, 7rem);
  background: linear-gradient(180deg, #08080c 0%, #050506 100%);
}

.page-shop #channels .l-container {
  max-width: min(78rem, 100%);
}

.page-shop #channels .fl-shop__header {
  margin: 0 0 clamp(2rem, 4.5vh, 3.25rem);
  max-width: min(34rem, 100%);
}

.page-shop #channels .fl-shop__label {
  color: var(--fl-gold, #c9a14a);
  letter-spacing: 0.28em;
}

.page-shop #channels .fl-shop__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.page-shop #channels .fl-shop__intro p {
  max-width: 28rem;
  line-height: 1.85;
  color: rgba(210, 210, 210, 0.88);
}

.page-shop #channels .fl-shop__grid {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: start;
}

@media (min-width: 900px) {
  .page-shop #channels .fl-shop__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Subtle vertical rhythm — middle tile sits slightly lower */
  .page-shop #channels .fl-shop__item:nth-child(2) {
    margin-top: 1.5rem; /* ~24px */
  }
}

.page-shop #channels .fl-shop__item {
  margin: 0;
  min-width: 0;
}

.page-shop #channels .fl-shop__card {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.page-shop #channels a.fl-shop__card--linked {
  cursor: pointer;
}

.page-shop #channels a.fl-shop__card--linked:focus-visible {
  outline: 1px solid rgba(201, 161, 74, 0.55);
  outline-offset: 3px;
}

.page-shop #channels .fl-shop__media.fl-image-frame,
.page-shop #channels .fl-shop__media {
  position: relative;
  width: 100% !important;
  max-width: none;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.page-shop #channels .fl-shop__media .fl-image-frame__viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-shop #channels .fl-shop__logo,
.page-shop #channels .fl-shop__img,
.page-shop #channels .fl-shop__media img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center 40%;
  transform: scale(1);
  transition: transform 0.5s ease;
}

/*
 * Base tone veil + floor scrim.
 * Left (online) high-key still gets a stronger dark brown/black veil (~45%)
 * so all three tiles share the brand night tone — image file unchanged.
 */
.page-shop #channels .fl-shop__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(14, 10, 8, 0.12) 0%,
    rgba(10, 8, 6, 0.2) 50%,
    rgba(6, 5, 5, 0.35) 100%
  );
  opacity: 1;
  transition: opacity 0.5s ease, background 0.5s ease;
}

.page-shop #channels .fl-shop__item:first-child .fl-shop__media::before {
  background: linear-gradient(
    165deg,
    rgba(18, 12, 10, 0.48) 0%,
    rgba(12, 9, 8, 0.42) 40%,
    rgba(8, 6, 6, 0.52) 100%
  );
}

/* Soft floor scrim — type lives on the photograph */
.page-shop #channels .fl-shop__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.2) 48%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page-shop #channels .fl-shop__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  text-align: left;
  background: transparent;
}

.page-shop #channels .fl-shop__channel-name {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.page-shop #channels .fl-shop__channel-desc,
.page-shop #channels .fl-shop__channel-desc p {
  margin: 0;
  max-width: 18rem;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(230, 230, 230, 0.96);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.page-shop #channels .fl-shop__action {
  display: none !important; /* no per-channel CTAs */
}

/* Quiet hover — image, veil, title only */
.page-shop #channels .fl-shop__card:hover .fl-shop__media img,
.page-shop #channels .fl-shop__card:focus-visible .fl-shop__media img,
.page-shop #channels .fl-shop__card:focus-within .fl-shop__media img {
  transform: scale(1.05);
}

.page-shop #channels .fl-shop__card:hover .fl-shop__media::before,
.page-shop #channels .fl-shop__card:focus-visible .fl-shop__media::before,
.page-shop #channels .fl-shop__card:focus-within .fl-shop__media::before {
  opacity: 0.72;
}

.page-shop #channels .fl-shop__card:hover .fl-shop__media::after,
.page-shop #channels .fl-shop__card:focus-visible .fl-shop__media::after,
.page-shop #channels .fl-shop__card:focus-within .fl-shop__media::after {
  opacity: 0.85;
}

.page-shop #channels .fl-shop__card:hover .fl-shop__channel-name,
.page-shop #channels .fl-shop__card:focus-visible .fl-shop__channel-name,
.page-shop #channels .fl-shop__card:focus-within .fl-shop__channel-name {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .page-shop #channels .fl-shop__logo,
  .page-shop #channels .fl-shop__img,
  .page-shop #channels .fl-shop__media img,
  .page-shop #channels .fl-shop__media::before,
  .page-shop #channels .fl-shop__media::after,
  .page-shop #channels .fl-shop__channel-name {
    transition: none;
  }

  .page-shop #channels .fl-shop__card:hover .fl-shop__media img,
  .page-shop #channels .fl-shop__card:focus-visible .fl-shop__media img,
  .page-shop #channels .fl-shop__card:focus-within .fl-shop__media img {
    transform: none;
  }

  .page-shop #channels .fl-shop__card:hover .fl-shop__channel-name,
  .page-shop #channels .fl-shop__card:focus-visible .fl-shop__channel-name,
  .page-shop #channels .fl-shop__card:focus-within .fl-shop__channel-name {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   SCENE 3 — EVENTS (large photographic grid)
   -------------------------------------------------------------------------- */

.page-shop #limited-events {
  padding-block: clamp(4rem, 10vh, 7rem);
  background: #050505;
}

.page-shop #limited-events .l-container {
  max-width: none;
  width: 100%;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.page-shop #limited-events .fl-gallery__header {
  margin: 0 auto clamp(2rem, 4.5vh, 3rem);
  max-width: 34rem;
  text-align: center;
}

.page-shop #limited-events .fl-gallery__title {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.12;
}

.page-shop #limited-events .fl-gallery__intro p {
  margin-inline: auto;
  max-width: 26rem;
  line-height: 1.85;
}

.page-shop #limited-events .fl-gallery__grid {
  display: grid;
  gap: clamp(0.65rem, 1.2vw, 1rem);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .page-shop #limited-events .fl-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* First still wider — editorial hero tile */
  .page-shop #limited-events .fl-gallery__item:first-child {
    grid-column: 1 / span 2;
  }
}

.page-shop #limited-events .fl-gallery__figure,
.page-shop #limited-events .fl-image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.page-shop #limited-events .fl-gallery__item:first-child .fl-gallery__figure,
.page-shop #limited-events .fl-gallery__item:first-child .fl-image-frame {
  aspect-ratio: 16 / 10;
}

.page-shop #limited-events .fl-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   SCENE 4 — FAQ (quiet center, tighter)
   -------------------------------------------------------------------------- */

.page-shop .fl-faq {
  padding-block: clamp(4rem, 10vh, 7rem);
  background:
    radial-gradient(ellipse 50% 40% at 12% 40%, rgba(120, 40, 80, 0.18), transparent 60%),
    #060608;
}

.page-shop .fl-faq .l-container {
  max-width: 40rem;
  margin-inline: auto;
}

.page-shop .fl-faq__header {
  margin-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
  text-align: center;
}

.page-shop .fl-faq__title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.1;
}

.page-shop .fl-faq__intro p {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   SCENE 5 — NEXT (image left / copy right — one CTA only)
   -------------------------------------------------------------------------- */

.page-shop #invite {
  padding-block: clamp(4.5rem, 11vh, 7.5rem);
  background:
    radial-gradient(ellipse 45% 50% at 18% 50%, rgba(255, 79, 163, 0.12), transparent 58%),
    linear-gradient(180deg, #0a0a0e 0%, #050506 100%);
  text-align: left;
  border-top: 0;
}

.page-shop #invite .l-container,
.page-shop #invite .l-container--narrow {
  display: block;
  max-width: min(72rem, 100%);
  width: 100%;
}

.page-shop #invite .fl-story__grid {
  max-width: none;
  margin: 0;
  justify-items: stretch;
}

.page-shop #invite .fl-story__title {
  max-width: 8ch;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.08;
}

.page-shop #invite .fl-story__description p {
  max-width: min(26rem, 100%);
  margin-inline: 0;
  line-height: 1.9;
}

.page-shop #invite .fl-story__media,
.page-shop #invite .fl-image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.page-shop #invite .fl-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-shop #invite .fl-story__actions {
  margin-top: 1.75rem;
}

.page-shop #invite .fl-story__actions .fl-btn {
  min-width: 11rem;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

@media (min-width: 900px) {
  .page-shop #invite .fl-story__grid,
  .page-shop #invite.fl-story--image-left .fl-story__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
  }
}

/*
 * Lead capture — one quiet form, not a sales wall.
 *
 * This was written as `[class*="lead"]`, a substring match on the class
 * attribute. It did not select the section — it selected all 29 elements
 * whose class contains the letters "lead": every field, every radio row,
 * every checkbox, the note, and the submit button. Each one took up to 88px
 * of padding at the top and the bottom, so a form that is one screen tall
 * became five, with one control stranded in the middle of each.
 *
 * Name the thing you mean.
 */
.page-shop .fl-lead-section {
  padding-block: clamp(3.5rem, 8vh, 5.5rem);
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 899px) {
  .page-shop #where-to-buy,
  .page-shop #channels,
  .page-shop #limited-events,
  .page-shop .fl-faq,
  .page-shop #invite {
    padding-block: clamp(3.5rem, 9vh, 5.5rem);
  }

  .page-shop #channels .fl-shop__media.fl-image-frame,
  .page-shop #channels .fl-shop__media {
    aspect-ratio: 4 / 5;
  }

  .page-shop #limited-events .fl-gallery__item:first-child .fl-gallery__figure {
    aspect-ratio: 4 / 5;
  }
}
