/* ==========================================================================
   Fleura.pk — Page-specific & cinematic layouts
   ========================================================================== */

/* ── Wave hero (home) — ivory panel, gold hairline curve, one photo ────── */
.hero-wave {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f1ebdf;
  padding: clamp(6rem, 12vh, 8rem) 0 clamp(3.5rem, 7vh, 5rem);
}

/* Rotating product photo, constrained to the right region so the crop is
   gentle and the product actually reads (full-bleed was over-zoomed). */
.hero-wave__media {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
  background: #ded5c4;
  overflow: hidden;
}

.hero-wave__media .hero-panel-wrap,
.hero-wave .hero-panel {
  position: absolute;
  inset: 0;
  height: auto;
  flex: none;
}

.hero-wave .hero-panel {
  clip-path: none;
  box-shadow: none;
  background: #ded5c4;
}

/* Oversized + left-anchored: the photo's centered subject lands in the
   clear zone right of the curve instead of being clipped under it. */
.hero-wave .hero-panel__img {
  inset: 0 auto 0 0;
  width: 122%;
  object-position: center 40%;
  filter: saturate(0.9) contrast(1.02) sepia(0.04);
}

.hero-wave .hero-panel::after {
  background: linear-gradient(180deg, rgba(58, 50, 40, 0.06) 0%, transparent 25%, transparent 62%, rgba(58, 50, 40, 0.22) 100%);
}

/* The S-curve ivory panel + floating gold hairline */
.hero-wave__curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-wave__hairline {
  stroke: #c4a574;
  stroke-width: 1.4;
  opacity: 0.85;
}

.hero-wave__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 clamp(1.5rem, 4.5vw, 4.5rem);
}

.hero-wave__copy {
  max-width: min(40rem, 50%);
}

.hero-wave__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.8);
  margin-bottom: 1.4rem;
}

.hero-wave__eyebrow::after {
  content: '';
  flex: 0 0 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 165, 116, 0.9), transparent);
}

.hero-wave__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--clr-sage-dark);
  background: rgba(156, 175, 136, 0.12);
  border: 1px solid rgba(122, 145, 112, 0.45);
  border-radius: 999px;
}

.hero-wave__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.6rem, 7.4vw, 7.25rem);
  font-weight: 300;
  line-height: 1;
  color: var(--clr-forest);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-wave__title .font-script {
  display: block;
  font-size: 0.46em;
  color: var(--clr-gold-dark, #a98d5f);
  margin-bottom: 0.14em;
}

.hero-wave__lead {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 300;
  color: rgba(92, 83, 76, 0.85);
  line-height: 1.8;
  max-width: 26rem;
}

.hero-wave__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-wave__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.7);
}

.hero-wave__perks li {
  position: relative;
  padding-left: 1rem;
}

.hero-wave__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--clr-gold);
  transform: translateY(-50%) rotate(45deg);
}

.hero-wave .scroll-indicator {
  position: absolute;
  bottom: clamp(1.1rem, 2.5vh, 1.75rem);
  left: clamp(1.5rem, 12vw, 14rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(92, 83, 76, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-wave .scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(92, 83, 76, 0.45));
}

@media (max-width: 900px) {
  .hero-wave {
    flex-direction: column;
    justify-content: flex-end;
    padding: 6rem 0 0;
    background: #f7f2ea;
  }

  .hero-wave__curve,
  .hero-wave .scroll-indicator {
    display: none;
  }

  .hero-wave__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(19rem, 46vh, 26rem);
    order: 2;
    margin-top: 2.5rem;
    clip-path: ellipse(135% 100% at 50% 100%);
  }

  /* No curve on mobile — restore the normal centered crop */
  .hero-wave .hero-panel__img {
    inset: 0;
    width: 100%;
    object-position: center 35%;
  }

  .hero-wave__copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-wave__eyebrow,
  .hero-wave__cta,
  .hero-wave__perks {
    justify-content: center;
  }

  .hero-wave__eyebrow::after {
    display: none;
  }

  .hero-wave__lead {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Split hero (home) — sage stage, animated product panels ───────────── */
.hero-split {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 50% at 78% 18%, rgba(250, 248, 245, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 60% at 8% 92%, rgba(58, 74, 50, 0.35), transparent 65%),
    linear-gradient(158deg, #93a780 0%, #7a9170 52%, #64795a 100%);
  /* No right padding: the product strips bleed off the viewport edge. */
  padding: clamp(6rem, 12vh, 8rem) 0 clamp(4.5rem, 8vh, 6rem)
    max(clamp(1.25rem, 4vw, 3rem), calc((100vw - 82rem) / 2));
}

.hero-split__glow {
  position: absolute;
  right: -12%;
  top: 8%;
  width: 55%;
  height: 84%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(250, 248, 245, 0.16), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Oversized ghost signature — the maison touch behind everything */
.hero-split::before {
  content: 'Fleura';
  position: absolute;
  left: -0.06em;
  bottom: -0.32em;
  z-index: 0;
  font-family: var(--ff-script);
  font-size: clamp(11rem, 26vw, 24rem);
  line-height: 1;
  color: rgba(250, 248, 245, 0.055);
  pointer-events: none;
  user-select: none;
}

.hero-split__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.hero-split__copy {
  max-width: 34rem;
}

.hero-split__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.9);
  margin-bottom: 1.4rem;
}

.hero-split__eyebrow::after {
  content: '';
  flex: 0 0 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(235, 217, 174, 0.85), transparent);
}

.hero-split__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: #f6ecd7;
  background: rgba(42, 52, 38, 0.35);
  border: 1px solid rgba(235, 217, 174, 0.5);
  border-radius: 999px;
}

.hero-split__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  font-weight: 300;
  line-height: 0.98;
  color: #fdfcf9;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(58, 74, 50, 0.35);
}

.hero-split__title .font-script {
  display: block;
  font-size: 0.46em;
  color: #ebd9ae;
  margin-bottom: 0.14em;
  text-shadow: none;
}

.hero-split__lead {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.9vw, 1.14rem);
  font-weight: 300;
  color: rgba(250, 248, 245, 0.86);
  line-height: 1.8;
  letter-spacing: 0.01em;
  max-width: 30rem;
}

.hero-split__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-split__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.hero-split__btn--solid {
  background: var(--clr-ivory);
  color: var(--clr-forest);
  box-shadow: 0 14px 36px rgba(42, 52, 38, 0.3);
}

.hero-split__btn--solid:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 18px 44px rgba(42, 52, 38, 0.38);
}

.hero-split__btn--ghost {
  border: 1px solid rgba(250, 248, 245, 0.65);
  color: #fdfcf9;
  background: rgba(250, 248, 245, 0.08);
}

.hero-split__btn--ghost:hover {
  background: rgba(250, 248, 245, 0.18);
  border-color: #fdfcf9;
  transform: translateY(-2px);
}

.hero-split__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.78);
}

.hero-split__perks li {
  position: relative;
  padding-left: 1rem;
}

.hero-split__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #ebd9ae;
  transform: translateY(-50%) rotate(45deg);
}

/* Right visual: three diagonal strips. clip-path (not skew) keeps the
   photos undistorted and leaves transform free for Motion to animate. */
.hero-split__visual {
  display: flex;
  gap: clamp(0.7rem, 1.3vw, 1.1rem);
  height: clamp(26rem, 74vh, 44rem);
  min-width: 0;
  /* last strip runs past the viewport edge, like a cropped editorial spread */
  margin-right: -6vw;
}

.hero-panel-wrap {
  flex: 1;
  min-width: 0;
}

.hero-panel {
  position: relative;
  height: 100%;
  /* gentler lean — editorial, not promo-flash */
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  overflow: hidden;
  background: rgba(42, 52, 38, 0.25);
  box-shadow: 0 30px 60px rgba(42, 52, 38, 0.28);
}

/* Tonal grade + sage wash so every product photo shares one warm,
   muted palette that belongs to the stage. */
.hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(58, 74, 50, 0.1) 0%, transparent 30%, transparent 55%, rgba(42, 52, 38, 0.32) 100%),
    linear-gradient(0deg, rgba(122, 145, 112, 0.12), rgba(122, 145, 112, 0.12));
}


/* Stagger offsets live on the inner panel so Motion can freely animate
   transform on the wrap without clobbering them. */
.hero-panel-wrap:nth-child(2) .hero-panel {
  transform: translateY(clamp(0.75rem, 2vh, 1.5rem));
}

.hero-panel-wrap:nth-child(3) .hero-panel {
  transform: translateY(clamp(1.5rem, 4vh, 3rem));
}

.hero-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.84) contrast(1.03) sepia(0.07) brightness(0.99);
  transition: opacity 1.3s ease;
}

.hero-panel__img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel__img {
    transition: none;
  }
}

.hero-split .scroll-indicator {
  position: absolute;
  bottom: clamp(1.1rem, 2.5vh, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 248, 245, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-split .scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(250, 248, 245, 0.5));
}

@media (max-width: 900px) {
  .hero-split {
    padding: 5.5rem 1.25rem 5rem;
  }

  .hero-split__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-split__visual {
    margin-right: 0;
  }

  .hero-split__copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-split__eyebrow,
  .hero-split__cta,
  .hero-split__perks {
    justify-content: center;
  }

  .hero-split__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-split__visual {
    height: clamp(16rem, 42vh, 24rem);
  }

  .hero-panel-wrap:nth-child(2),
  .hero-panel-wrap:nth-child(3) {
    transform: none;
  }
}

/* ── Cinematic hero (home) ─────────────────────────────────────────────── */
.hero-cinematic {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(5.5rem, 11vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(4.5rem, 9vh, 6.5rem);
  isolation: isolate;
}

.hero-cinematic__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-cinematic__image {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 35%;
  transform-origin: center center;
  /* No will-change: the running animation promotes its own layer; a
     permanent hint would pin a huge 108%-viewport texture forever. */
  animation: heroKenBurns 22s ease-out forwards;
}

.hero-cinematic__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      rgba(36, 32, 28, 0.82) 0%,
      rgba(36, 32, 28, 0.45) 38%,
      rgba(36, 32, 28, 0.12) 68%,
      rgba(36, 32, 28, 0.35) 100%
    ),
    linear-gradient(0deg, rgba(28, 25, 22, 0.88) 0%, rgba(28, 25, 22, 0.25) 42%, transparent 62%),
    linear-gradient(180deg, rgba(250, 248, 245, 0.18) 0%, transparent 28%);
}

.hero-cinematic__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
  background: radial-gradient(
    ellipse 90% 75% at 50% 45%,
    transparent 35%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.hero-cinematic__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.hero-cinematic__content {
  max-width: 38rem;
  text-align: left;
}

.hero-cinematic__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.92);
  margin-bottom: 1.15rem;
}

.hero-cinematic__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: #f2e3c8;
  background: rgba(90, 74, 52, 0.5);
  border: 1px solid rgba(221, 196, 154, 0.45);
  border-radius: 999px;
}

.hero-cinematic__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.75rem, 8.5vw, 5.75rem);
  font-weight: 300;
  line-height: 0.98;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 48px rgba(0, 0, 0, 0.35);
}

.hero-cinematic__title .font-script {
  display: block;
  font-size: 0.44em;
  color: #ddc49a;
  margin-bottom: 0.12em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-cinematic__lead {
  margin-top: 1.35rem;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  color: rgba(250, 248, 245, 0.88);
  line-height: 1.75;
  max-width: 34rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-cinematic__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-cinematic__btn {
  padding: 0.95rem 2.1rem;
  font-size: 0.7rem;
}

.hero-cinematic__btn--outline {
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14);
}

.hero-cinematic__btn--outline:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.hero-cinematic__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.75);
}

.hero-cinematic__perks li {
  position: relative;
  padding-left: 1rem;
}

.hero-cinematic__perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--clr-gold, #c4a574);
  transform: translateY(-50%) rotate(45deg);
}

.hero-cinematic .scroll-indicator {
  position: absolute;
  bottom: clamp(1.25rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 248, 245, 0.65);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero-cinematic .scroll-indicator__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(250, 248, 245, 0.55));
}

@keyframes heroKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 640px) {
  .hero-cinematic {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5.5rem;
  }

  .hero-cinematic__content {
    text-align: center;
    max-width: 100%;
  }

  .hero-cinematic__eyebrow {
    justify-content: center;
  }

  .hero-cinematic__cta {
    justify-content: center;
  }

  .hero-cinematic__perks {
    justify-content: center;
  }

  .hero-cinematic__image {
    object-position: center 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic__image {
    animation: none;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.05);
  }

  .hero-cinematic .scroll-indicator {
    animation: none;
  }
}

/* ── Glass cards ─────────────────────────────────────────────────────────── */
.glass-card {
  /* Solid-ish white instead of backdrop blur: these cards scroll, so the
     blur re-sampled the wallpaper behind them on every frame. */
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(92, 83, 76, 0.08);
}

/* ── Shop toolbar ────────────────────────────────────────────────────────── */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.shop-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}

.shop-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.shop-search input:focus {
  border-color: var(--clr-lilac);
  box-shadow: 0 0 0 3px rgba(196, 181, 212, 0.25);
}

.shop-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(92, 83, 76, 0.4);
}

.product-grid-luxury {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid-luxury { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .product-grid-luxury { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* ── Masonry inspiration ─────────────────────────────────────────────────── */
.masonry-gallery {
  columns: 2;
  column-gap: 1rem;
}

@media (min-width: 768px) {
  .masonry-gallery { columns: 3; column-gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .masonry-gallery { columns: 4; }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item:hover img {
  transform: scale(1.04);
}

.masonry-item__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(74, 69, 65, 0.65), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.masonry-item:hover .masonry-item__caption {
  opacity: 1;
}

.masonry-item__caption span {
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 1.15rem;
}

/* ── Occasion cards ──────────────────────────────────────────────────────── */
.occasions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .occasions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .occasions-grid { grid-template-columns: repeat(3, 1fr); }
}

.occasion-card-lux {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}

.occasion-card-lux:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(92, 83, 76, 0.15);
}

.occasion-card-lux img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.occasion-card-lux:hover img {
  transform: scale(1.06);
}

.occasion-card-lux__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(74, 69, 65, 0.75) 0%, transparent 55%);
}

.occasion-card-lux h3 {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
}

.occasion-card-lux p {
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.75);
  margin-top: 0.35rem;
}

/* ── Basket builder ──────────────────────────────────────────────────────── */
.basket-builder {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .basket-builder {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.builder-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.builder-step {
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  color: rgba(92, 83, 76, 0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.builder-step.is-active,
.builder-step:hover {
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  border-color: var(--clr-charcoal);
}

.builder-panel {
  display: none;
}

.builder-panel.is-active {
  display: block;
  animation: fadePanel 0.4s ease;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.builder-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .builder-option-grid { grid-template-columns: repeat(3, 1fr); }
}

.builder-option {
  padding: 1rem;
  text-align: center;
  border: 1.5px solid var(--clr-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 0.8rem;
}

.builder-option:hover,
.builder-option.is-selected {
  border-color: var(--clr-lilac);
  background: rgba(196, 181, 212, 0.12);
  box-shadow: 0 4px 16px rgba(196, 181, 212, 0.2);
}

.builder-preview {
  position: sticky;
  top: 6rem;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(245, 240, 232, 0.9), rgba(232, 224, 240, 0.5));
  border: 1px solid rgba(196, 181, 212, 0.3);
}

.builder-preview__visual {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #fff;
}

.builder-form textarea,
.builder-form input,
.builder-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  background: #fff;
  outline: none;
  transition: border-color 0.25s;
}

.builder-form textarea:focus,
.builder-form input:focus,
.builder-form select:focus {
  border-color: var(--clr-lilac);
}

.builder-progress {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.builder-progress__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(92, 83, 76, 0.12);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.builder-progress__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clr-lilac), var(--clr-sage));
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.builder-progress__steps {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.builder-progress__steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.45);
  transition: color 0.25s;
}

.builder-progress__steps li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  font-size: 0.7rem;
  background: #fff;
  transition: all 0.25s;
}

.builder-progress__steps li.is-active,
.builder-progress__steps li.is-done {
  color: var(--clr-charcoal);
}

.builder-progress__steps li.is-active span,
.builder-progress__steps li.is-done span {
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  border-color: var(--clr-charcoal);
}

.builder-main {
  padding: 1.75rem;
  border-radius: 24px;
}

@media (min-width: 640px) {
  .builder-main { padding: 2rem 2.25rem; }
}

.builder-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  font-size: 0.6rem;
  background: rgba(92, 83, 76, 0.1);
}

.builder-step.is-active .builder-step__num {
  background: rgba(250, 248, 245, 0.25);
}

.builder-panel__lead {
  font-size: 0.9rem;
  color: rgba(92, 83, 76, 0.75);
  margin-bottom: 1.25rem;
}

.builder-option-grid--visual {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .builder-option-grid--visual { grid-template-columns: repeat(3, 1fr); }
}

.builder-option-grid--compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .builder-option-grid--compact { grid-template-columns: repeat(4, 1fr); }
}

.builder-option-grid--palette {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .builder-option-grid--palette { grid-template-columns: repeat(2, 1fr); }
}

.builder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1.5px solid var(--clr-border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.builder-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 181, 212, 0.6);
  box-shadow: 0 8px 24px rgba(196, 181, 212, 0.2);
}

.builder-card.is-selected {
  border-color: var(--clr-lilac);
  box-shadow: 0 0 0 2px rgba(196, 181, 212, 0.35);
}

.builder-card__img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--clr-cream);
}

.builder-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.builder-card:hover .builder-card__img img {
  transform: scale(1.05);
}

.builder-card__body {
  padding: 0.85rem 1rem 1rem;
}

.builder-card__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-charcoal);
}

.builder-card__hint {
  display: block;
  font-size: 0.7rem;
  color: rgba(92, 83, 76, 0.55);
  margin-top: 0.15rem;
}

.builder-card__check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  font-size: 0.65rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}

.builder-card.is-selected .builder-card__check,
.builder-palette.is-selected .builder-card__check {
  opacity: 1;
  transform: scale(1);
}

.builder-card--compact {
  align-items: center;
  text-align: center;
}

.builder-card--compact .builder-card__img {
  aspect-ratio: 1;
  width: 100%;
}

.builder-card--compact .builder-card__label {
  padding: 0.5rem 0.35rem 0.65rem;
  font-size: 0.72rem;
}

.builder-palette {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s;
}

.builder-palette:hover,
.builder-palette.is-selected {
  border-color: var(--clr-lilac);
  background: rgba(196, 181, 212, 0.08);
  box-shadow: 0 4px 16px rgba(196, 181, 212, 0.15);
}

.builder-palette__swatches {
  display: flex;
  gap: 0.35rem;
}

.builder-palette__swatches i {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.builder-palette__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-charcoal);
}

.builder-note-wrap textarea {
  width: 100%;
  padding: 1rem 1.15rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  line-height: 1.6;
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  background: #fff;
  resize: vertical;
  min-height: 7rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.builder-note-wrap textarea:focus {
  border-color: var(--clr-lilac);
  box-shadow: 0 0 0 3px rgba(196, 181, 212, 0.2);
}

.builder-upload {
  margin-top: 1rem;
}

.builder-upload__zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 2px dashed rgba(196, 181, 212, 0.5);
  border-radius: 14px;
  background: rgba(250, 248, 245, 0.6);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  text-align: center;
}

.builder-upload__zone:hover {
  border-color: var(--clr-lilac);
  background: rgba(196, 181, 212, 0.08);
}

.builder-upload__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-charcoal);
}

.builder-upload__hint {
  font-size: 0.72rem;
  color: rgba(92, 83, 76, 0.5);
}

.builder-upload__preview {
  margin-top: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
}

.builder-upload__preview img {
  width: 100%;
  max-height: 10rem;
  object-fit: cover;
  border-radius: 12px;
}

.builder-upload__preview.hidden {
  display: none;
}

.builder-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.builder-nav__prev:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.builder-preview__eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.5);
  margin-bottom: 1rem;
}

.builder-preview__visual {
  position: relative;
}

.builder-preview__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.builder-preview__badge {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-ivory);
  background: rgba(92, 83, 76, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  white-space: nowrap;
}

.builder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  min-height: 1.5rem;
}

.builder-chip {
  padding: 0.25rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--clr-charcoal);
  background: rgba(196, 181, 212, 0.2);
  border-radius: 999px;
}

.builder-preview__perks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: rgba(92, 83, 76, 0.65);
}

.builder-preview__perks li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}

.builder-preview__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-sage);
  font-weight: 700;
}

/* Dream basket homepage teaser */
.dream-basket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .dream-basket-grid { grid-template-columns: repeat(3, 1fr); }
}

.dream-basket-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--clr-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.dream-basket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(196, 181, 212, 0.25);
}

.dream-basket-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.dream-basket-card:hover img {
  transform: scale(1.06);
}

.dream-basket-card span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-ivory);
  background: linear-gradient(transparent, rgba(92, 83, 76, 0.75));
}

/* ── Cart luxury ─────────────────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .cart-layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.cart-summary {
  position: sticky;
  top: 6rem;
  padding: 2rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-soft);
}

.cart-line-lux {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.25rem 1.5rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  margin-bottom: 1.25rem;
  align-items: start;
  box-shadow: var(--shadow-soft);
}

.cart-line-lux__media {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.cart-line-lux__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: var(--clr-cream, #f5f0e8);
  display: block;
}

.cart-line-lux__img-fallback {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(156, 175, 136, 0.2), rgba(196, 181, 212, 0.25));
  color: var(--clr-lilac-dark, #9b8aaf);
}

.cart-line-lux__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-line-lux__category {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-lilac-dark, #9b8aaf);
}

.cart-line-lux__title {
  margin: 0;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--clr-charcoal);
}

.cart-line-lux__unit {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(92, 83, 76, 0.65);
}

.cart-line-lux__custom {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(92, 83, 76, 0.55);
}

.cart-line-lux__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.cart-line-lux .cart-remove {
  align-self: start;
  margin-top: 0.15rem;
  padding: 0.25rem 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: rgba(92, 83, 76, 0.35);
  transition: color 0.2s;
}

.cart-line-lux .cart-remove:hover {
  color: #c45c5c;
}

.cart-page-section {
  padding-top: 2.5rem;
}

.cart-page-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-empty-msg {
  text-align: center;
  padding: 5rem 1rem;
  color: rgba(92, 83, 76, 0.5);
  margin: 0;
}

.cart-empty-msg a {
  text-decoration: underline;
  color: var(--clr-lilac-dark, #9b8aaf);
}

.cart-summary__title {
  margin: 0 0 1.5rem;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-charcoal);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.65rem;
  color: var(--clr-charcoal);
}

.cart-summary__row--total {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-border);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.cart-summary__row--total span:last-child {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-sage-dark, #7a9170);
}

.cart-checkout-banner {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.cart-checkout-banner p {
  margin: 0;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--clr-charcoal);
  background: linear-gradient(135deg, rgba(156, 175, 136, 0.15), rgba(196, 181, 212, 0.12));
  border: 1px solid rgba(155, 138, 175, 0.25);
}

.cart-build-stamp {
  width: fit-content;
  margin: -1.25rem auto 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.55);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(155, 138, 175, 0.18);
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .cart-line-lux {
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1rem;
  }

  .cart-line-lux__media {
    width: 80px;
    height: 80px;
  }
}

.cart-summary .checkout-callout--delivery {
  margin-bottom: 1.25rem;
  border-radius: 12px;
}

.cart-summary .btn-primary {
  width: 100%;
  margin-bottom: 0.75rem;
}

.cart-checkout-alt {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
}

.cart-checkout-alt a {
  color: var(--clr-lilac-dark, #9b8aaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-summary .btn-outline {
  width: 100%;
  margin-bottom: 0.65rem;
  text-align: center;
  justify-content: center;
}

.cart-line-lux__price {
  margin: 0;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--clr-sage-dark, #7a9170);
  white-space: nowrap;
}

.btn-checkout-luxury {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #20808c 0%, #1a6b75 100%);
  box-shadow: 0 8px 24px rgba(32, 128, 140, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-checkout-luxury:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(32, 128, 140, 0.4);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  padding: 0.25rem;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  color: var(--clr-charcoal);
}

.qty-val {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-charcoal);
}

/* ── Wedding cinematic band ──────────────────────────────────────────────── */
.wedding-band {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wedding-band__bg {
  position: absolute;
  inset: 0;
}

.wedding-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(74, 69, 65, 0.85) 0%, rgba(74, 69, 65, 0.4) 100%);
}

.wedding-band__content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  padding: 4rem 1.5rem;
  color: #fff;
}

/* ── Bento category cards (home) ─────────────────────────────────────────── */
.bento-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bento-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  min-height: 230px;
  background: var(--clr-cream);
  box-shadow: 0 4px 18px rgba(92, 83, 76, 0.07);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift, 0 24px 60px rgba(74, 69, 65, 0.16));
}

/* hairline inner frame on hover */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 3;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: saturate(0.92) contrast(1.02);
}

.bento-card:hover img {
  transform: scale(1.06);
}

.bento-card__label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.5rem 1.35rem;
  background: linear-gradient(to top, rgba(36, 31, 26, 0.82), rgba(36, 31, 26, 0.24) 42%, transparent 65%);
}

.bento-card__kicker {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(221, 196, 154, 0.95);
  margin-bottom: 0.35rem;
}

.bento-card__label h3 {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
}

.bento-card__label p {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: rgba(250, 248, 245, 0.78);
}

.bento-card__cta {
  margin-top: 0.75rem;
  font-family: var(--ff-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ddc49a;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.bento-card:hover .bento-card__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: tall feature spans the first full row */
.bento-card--tall,
.bento-card--wide {
  grid-column: span 2;
  min-height: 280px;
}

@media (min-width: 900px) {
  .bento-cats {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: 255px 255px;
    gap: 1.15rem;
  }

  .bento-card,
  .bento-card--tall,
  .bento-card--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .bento-card--tall {
    grid-row: span 2;
  }

  .bento-card--wide {
    grid-column: span 2;
  }
}

/* ── Category showcase (home) ────────────────────────────────────────────── */
.category-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .category-showcase { grid-template-columns: repeat(4, 1fr); }
}

.category-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift, 0 24px 60px rgba(74, 69, 65, 0.16));
}

.category-tile::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.category-tile:hover::after {
  opacity: 1;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(to top, rgba(42, 38, 34, 0.82), rgba(42, 38, 34, 0.18) 45%, transparent 65%);
}

.category-tile__label span {
  font-family: var(--ff-heading);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.category-tile__label span::after {
  content: 'Explore →';
  display: block;
  margin-top: 0.4rem;
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(221, 196, 154, 0.95);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.category-tile:hover .category-tile__label span::after {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reviews / testimonials — 3-card carousel ───────────────────────────── */
.section-reviews {
  overflow: hidden;
}

.section-reviews.is-ready .reviews-slider {
  opacity: 1;
}

.reviews-header {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .reviews-header {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 3rem;
  }
}

.reviews-header__lead {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(92, 83, 76, 0.82);
}

.reviews-summary {
  position: relative;
  padding: 1.5rem 1.85rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(92, 83, 76, 0.1);
  text-align: center;
  min-width: 11rem;
}

.reviews-summary::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  border: 1px solid rgba(196, 165, 116, 0.25);
  border-radius: 14px;
  pointer-events: none;
}

.reviews-summary__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.reviews-summary__num {
  font-family: var(--ff-heading);
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--clr-forest);
}

.reviews-summary__count {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: rgba(92, 83, 76, 0.75);
}

.review-stars {
  display: inline-flex;
  gap: 0.2rem;
}

.review-stars span {
  display: block;
  width: 1rem;
  height: 1rem;
  background: var(--clr-gold, #c4a574);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.review-stars--lg span {
  width: 1.2rem;
  height: 1.2rem;
}

.review-stars .is-partial {
  background: linear-gradient(90deg, #c4a574 70%, rgba(196, 165, 116, 0.25) 70%);
}

.reviews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.reviews-filter {
  padding: 0.5rem 1.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(92, 83, 76, 0.14);
  background: #fff;
  color: rgba(92, 83, 76, 0.78);
  cursor: pointer;
  transition: all 0.25s ease;
}

.reviews-filter:hover {
  border-color: rgba(122, 145, 112, 0.5);
  color: var(--clr-forest);
  background: rgba(156, 175, 136, 0.12);
}

.reviews-filter.is-active {
  background: var(--clr-sage-dark);
  border-color: var(--clr-sage-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(107, 130, 98, 0.3);
}

.reviews-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .reviews-slider {
    padding: 0 1rem;
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .reviews-slider {
    padding: 0 1.25rem;
  }
}

/* 3 cards per row (desktop) — custom carousel */
.reviews-swiper {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0 3.25rem !important;
  overflow: hidden !important;
}

.reviews-swiper .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.reviews-swiper .swiper-slide {
  box-sizing: border-box;
  display: none;
  align-items: stretch;
  padding: 0 0.5rem;
  height: auto;
}

@media (min-width: 640px) {
  .reviews-swiper .swiper-slide {
    padding: 0 0.6rem;
  }
}

.reviews-swiper .swiper-slide.is-filtered-out {
  display: none !important;
}

/* Review card fills each column */
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 17rem;
  margin: 0;
  padding: 1.6rem 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(92, 83, 76, 0.1);
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(92, 83, 76, 0.05);
  overflow: hidden;
  transition:
    box-shadow 0.4s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Oversized gold quotation mark in the corner — the maison detail */
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -0.4rem;
  right: 1rem;
  font-family: var(--ff-heading);
  font-size: 6.5rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(196, 165, 116, 0.22);
  pointer-events: none;
}

.review-card:hover {
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 20px 52px rgba(74, 69, 65, 0.14);
  transform: translateY(-4px);
}

.review-card--featured {
  background: linear-gradient(165deg, #fff 0%, #faf6ee 100%);
  border-color: rgba(196, 165, 116, 0.45);
}

.review-card--featured::after {
  content: 'Featured';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold-dark, #a98d5f);
  background: rgba(196, 165, 116, 0.14);
  border: 1px solid rgba(196, 165, 116, 0.4);
  border-radius: 999px;
}

.review-card--featured::before {
  content: none;
}

.review-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.7rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.review-card__avatar {
  grid-row: span 2;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--avatar-bg, linear-gradient(135deg, #e2a3b7, #c4b5d4));
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(92, 83, 76, 0.12);
}

.review-card__who {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.review-card__name {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--clr-charcoal);
  line-height: 1.3;
}

.review-card__meta-line {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(92, 83, 76, 0.72);
}

.review-card__badge {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.26rem 0.55rem;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-sage-dark);
  background: transparent;
  border: 1px solid rgba(122, 145, 112, 0.35);
  border-radius: 999px;
}

.review-card__badge svg {
  opacity: 0.85;
}

.review-card .review-stars {
  margin-bottom: 0.85rem;
}

.review-card__quote {
  flex: 1;
  margin: 0;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: var(--clr-forest);
}

.review-card__quote::before {
  content: '';
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, rgba(196, 165, 116, 0.85), transparent);
}

.review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  flex-shrink: 0;
  border-top: 1px solid rgba(92, 83, 76, 0.1);
  font-size: 0.68rem;
  color: rgba(92, 83, 76, 0.68);
}

.reviews-carousel--ready {
  cursor: grab;
}

.reviews-carousel--ready:active {
  cursor: grabbing;
}

.reviews-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.reviews-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(92, 83, 76, 0.22);
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-carousel-dot.is-active {
  width: 24px;
  background: var(--clr-gold, #c4a574);
}

.reviews-pagination.swiper-pagination-bullets {
  bottom: 0 !important;
}

.review-card__tag {
  padding: 0.28rem 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.6rem;
  color: var(--clr-gold-dark, #a98d5f);
  background: rgba(196, 165, 116, 0.1);
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: 999px;
}

.reviews-nav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: #fff;
  color: var(--clr-charcoal);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-soft);
}

.reviews-nav:hover {
  background: var(--clr-forest);
  border-color: var(--clr-forest);
  color: #fff;
  transform: scale(1.05);
}

.reviews-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 640px) {
  .reviews-nav {
    display: none;
  }
}

.reviews-pagination.swiper-pagination-bullets {
  bottom: 0 !important;
}

.reviews-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(92, 83, 76, 0.2);
  opacity: 1;
  transition: all 0.3s ease;
}

.reviews-pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 999px;
  background: var(--clr-gold, #c4a574);
}

.reviews-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(92, 83, 76, 0.72);
  text-align: center;
}

.reviews-trust svg {
  flex-shrink: 0;
  color: var(--clr-sage);
}

/* Legacy fallback */
.testimonial-lux {
  padding: 2.5rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--clr-border);
  height: 100%;
}

/* ── Instagram grid ──────────────────────────────────────────────────────── */
.insta-lux-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .insta-lux-grid { grid-template-columns: repeat(4, 1fr); }
}

.insta-lux-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
}

.insta-lux-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.insta-lux-item:hover img {
  transform: scale(1.06);
}

.insta-lux-item::after {
  content: '@fleura.pk';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(42, 38, 34, 0.45);
  opacity: 0;
  transition: opacity 0.35s;
}

.insta-lux-item:hover::after {
  opacity: 1;
}

/* ── Bouquets hub & customizer ─────────────────────────────────────────── */
.bouquet-hub-header__lead {
  margin-top: 0.75rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(92, 83, 76, 0.78);
}

/* Sticky jump nav */
.bouquet-collection-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.35rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.bouquet-collection-nav::-webkit-scrollbar {
  display: none;
}

.bouquet-collection-nav__link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(92, 83, 76, 0.78);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(92, 83, 76, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.bouquet-collection-nav__link:hover {
  color: var(--clr-charcoal);
  border-color: rgba(156, 175, 136, 0.45);
}

.bouquet-collection-nav__link.is-active {
  color: #fff;
  background: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  box-shadow: 0 6px 18px rgba(92, 83, 76, 0.18);
}

.bouquet-collection-nav__link--signature.is-active {
  background: linear-gradient(135deg, #c4a574 0%, #9caf88 100%);
  border-color: transparent;
}

.bouquet-collection-nav__link.is-unavailable {
  opacity: 0.42;
  pointer-events: none;
}

.bouquet-collection-nav.is-stuck {
  position: fixed;
  top: calc(var(--site-header-height, 4.5rem) - 2px);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 0.65rem max(1rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 83, 76, 0.08);
  box-shadow: 0 8px 24px rgba(92, 83, 76, 0.06);
  transform: translateZ(0);
  will-change: transform;
}

.bouquet-collection-nav-placeholder {
  display: none;
  height: 3.25rem;
}

.bouquet-collection-nav-placeholder.is-active {
  display: block;
}

/* Grouped category cards */
.bouquet-category-groups {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.bouquet-category-group__header {
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(92, 83, 76, 0.1);
}

.bouquet-category-group__label {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clr-charcoal);
  line-height: 1.2;
}

.bouquet-category-group__desc {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(92, 83, 76, 0.62);
}

.bouquet-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.bouquet-categories-grid--pair {
  grid-template-columns: 1fr;
}

.bouquet-categories-grid--trio {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bouquet-categories-grid--pair {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .bouquet-categories-grid--trio {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .bouquet-categories-grid--trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.bouquet-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(92, 83, 76, 0.1);
  box-shadow: 0 10px 32px rgba(92, 83, 76, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .bouquet-category-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .bouquet-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 163, 183, 0.45);
    box-shadow: 0 18px 48px rgba(196, 181, 212, 0.22);
  }
}

.bouquet-category-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--clr-cream);
}

.bouquet-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .bouquet-category-card__media img {
    transition: transform 0.35s ease;
  }

  .bouquet-category-card:hover .bouquet-category-card__media img {
    transform: scale(1.06);
  }
}

.bouquet-category-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}

.bouquet-category-card__body h3 {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--clr-charcoal);
  line-height: 1.2;
}

.bouquet-category-card__body p {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(92, 83, 76, 0.62);
}

.bouquet-category-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  color: var(--clr-charcoal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.bouquet-category-card:hover .bouquet-category-card__arrow {
  transform: translateX(3px);
  background: var(--clr-charcoal);
  color: #fff;
}

.bouquet-category-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  background: rgba(226, 163, 183, 0.9);
  border-radius: 999px;
}

.section-padding-sm {
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

.bouquet-shop-bridge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0 0;
}

.bouquet-shop-bridge__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 83, 76, 0.18), transparent);
}

.bouquet-shop-bridge__label {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.5);
}

.bouquet-shop-bridge--custom {
  margin-bottom: 1.75rem;
  padding-top: 0;
}

.bouquet-catalog-wrap {
  background: var(--clr-ivory, #faf8f5);
  padding-top: 0.5rem;
}

.bouquet-collection-section {
  scroll-margin-top: 7.5rem;
  border-top: 1px solid rgba(92, 83, 76, 0.08);
}

.bouquet-collection-section--alt {
  background: rgba(245, 240, 232, 0.55);
}

.bouquet-collection-section--signature {
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.08) 0%, rgba(250, 248, 245, 0) 100%);
  border-top-color: rgba(196, 165, 116, 0.22);
}

.bouquet-collection-section--hidden {
  display: none !important;
}

.bouquet-collection-section__header {
  margin-bottom: 1.75rem;
}

.bouquet-collection-section__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.bouquet-collection-section__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clr-charcoal);
  background: rgba(196, 181, 212, 0.35);
  border: 1px solid rgba(196, 181, 212, 0.5);
}

.bouquet-collection-section__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bouquet-collection-count {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-sage-dark, #7a9170);
  background: rgba(156, 175, 136, 0.14);
  border: 1px solid rgba(156, 175, 136, 0.28);
}

.bouquet-collection-section__lead {
  margin-top: 0.65rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(92, 83, 76, 0.78);
}

.bouquet-collection-grid {
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .bouquet-collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bouquet-collection-empty {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(92, 83, 76, 0.16);
  font-size: 0.9rem;
  color: rgba(92, 83, 76, 0.72);
  text-align: center;
}

.bouquet-collection-empty a {
  color: var(--clr-sage-dark, #7a9170);
  font-weight: 600;
  text-decoration: none;
}

.bouquet-collection-empty a:hover {
  text-decoration: underline;
}

.bouquet-collection-section--empty .bouquet-collection-grid {
  display: none;
}

.bouquet-category-card--combo {
  border-color: rgba(226, 163, 183, 0.35);
}

.bouquet-customize-banner {
  margin-top: 0;
}

.bouquet-customize-wrap {
  border-top: 1px solid rgba(92, 83, 76, 0.08);
}

/* ── Bouquets page performance ─────────────────────────────────────────── */
html.native-scroll {
  scroll-behavior: smooth;
}

.page-bouquets .bouquet-collection-nav {
  position: sticky;
  top: calc(var(--site-header-height, 4.5rem));
  z-index: 40;
  padding-bottom: 0.65rem;
  background: rgba(250, 248, 245, 0.97);
  border-bottom: 1px solid rgba(92, 83, 76, 0.06);
}

.page-bouquets .bouquet-collection-section {
  scroll-margin-top: calc(var(--site-header-height, 4.5rem) + 3.5rem);
}

.page-bouquets .bouquet-category-card,
.page-bouquets .bouquet-category-card__media img,
.page-bouquets .bouquet-category-card__arrow {
  transition: none !important;
}

.page-bouquets .bouquet-category-card {
  box-shadow: 0 8px 24px rgba(92, 83, 76, 0.07);
}

@media (hover: hover) and (pointer: fine) {
  .page-bouquets .bouquet-category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .page-bouquets .bouquet-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(92, 83, 76, 0.1);
  }

  .page-bouquets .bouquet-category-card__media img {
    transition: transform 0.25s ease !important;
  }

  .page-bouquets .bouquet-category-card:hover .bouquet-category-card__media img {
    transform: scale(1.03);
  }
}

.page-bouquets #bouquet-builder:not(.builder-ready) .bloom-stem-dot,
.page-bouquets #bouquet-builder:not(.builder-ready) .bloom-group__expand {
  animation: none;
}

.page-bouquets #bouquet-builder:not(.builder-ready) [data-bouquet-builder] {
  pointer-events: none;
}

.page-bouquets #bouquet-builder.builder-ready [data-bouquet-builder] {
  pointer-events: auto;
}

.bouquet-customize-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(196, 181, 212, 0.2) 0%, rgba(250, 248, 245, 0.95) 55%, rgba(156, 175, 136, 0.15) 100%);
  border: 1px solid rgba(196, 181, 212, 0.35);
}

@media (min-width: 768px) {
  .bouquet-customize-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.25rem 2.5rem;
  }
}

.bouquet-builder {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .bouquet-builder {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.bloom-block {
  padding: 1.25rem 1.15rem;
  margin-bottom: 1rem;
  background: rgba(250, 248, 245, 0.7);
  border: 1px solid rgba(92, 83, 76, 0.08);
  border-radius: 18px;
}

.bloom-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bloom-block__title {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--clr-charcoal);
}

.bloom-block__sub {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(92, 83, 76, 0.55);
}

.bloom-block__badge {
  flex-shrink: 0;
  padding: 0.28rem 0.6rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  background: rgba(226, 163, 183, 0.35);
  border-radius: 999px;
}

.bloom-block__badge--sage {
  background: rgba(156, 175, 136, 0.35);
}

.bloom-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bloom-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(92, 83, 76, 0.1);
  border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.bloom-row.has-qty {
  border-color: rgba(226, 163, 183, 0.5);
  box-shadow: 0 6px 20px rgba(196, 181, 212, 0.15);
}

.bloom-row__swatch {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.bloom-row__swatch--sun {
  border-radius: 40% 40% 50% 50%;
}

.bloom-row__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-charcoal);
  margin-bottom: 0.45rem;
}

.bloom-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.bloom-preset {
  min-width: 2.1rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(92, 83, 76, 0.14);
  background: var(--clr-cream);
  color: rgba(92, 83, 76, 0.75);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bloom-preset:hover {
  border-color: var(--clr-lilac);
  color: var(--clr-charcoal);
}

.bloom-preset.is-active {
  background: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: var(--clr-ivory);
}

.bloom-stems {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  min-height: 1.1rem;
}

.bloom-stem-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--stem-color, #e2a3b7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  animation: bloomPop 0.25s ease backwards;
}

.bloom-stem-dot--sun {
  border-radius: 35%;
  background: linear-gradient(135deg, #f5d76e, #d4a017);
}

.bloom-stem-more {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(92, 83, 76, 0.55);
  align-self: center;
  padding-left: 0.15rem;
}

@keyframes bloomPop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.bloom-stepper {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: var(--clr-cream);
  border-radius: 999px;
  border: 1px solid rgba(92, 83, 76, 0.1);
}

.bloom-stepper__btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--clr-charcoal);
  background: #fff;
  border: 1px solid rgba(92, 83, 76, 0.1);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.bloom-stepper__btn:hover {
  background: rgba(196, 181, 212, 0.25);
  transform: scale(1.05);
}

.bloom-stepper__val {
  min-width: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-charcoal);
}

.theme-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid rgba(92, 83, 76, 0.12);
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-chip:hover {
  border-color: var(--chip, var(--clr-lilac));
}

.theme-chip.is-selected {
  border-color: var(--chip, var(--clr-lilac));
  background: color-mix(in srgb, var(--chip, #e2a3b7) 18%, #fff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--chip, #e2a3b7) 35%, transparent);
}

.theme-chip__dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--chip, #e2a3b7);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.wrap-paper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .wrap-paper-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wrap-paper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem 0.65rem;
  border: 1.5px solid rgba(92, 83, 76, 0.12);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wrap-paper:hover,
.wrap-paper.is-selected {
  border-color: var(--clr-lilac);
  box-shadow: 0 6px 20px rgba(196, 181, 212, 0.2);
}

.wrap-paper__sheet {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.06);
}

.wrap-paper__sheet--foil {
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(196, 165, 116, 0.4);
}

.wrap-paper__sheet--mesh {
  opacity: 0.92;
  background-size: 6px 6px !important;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1px) !important;
}

.wrap-paper__label {
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  color: var(--clr-charcoal);
  line-height: 1.3;
}

.bouquet-preview__visual {
  position: relative;
}

.bouquet-preview__wrap {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.bouquet-preview__wrap.is-visible {
  opacity: 0.85;
}

.bloom-group {
  margin-bottom: 0.85rem;
  border: 1px solid rgba(92, 83, 76, 0.1);
  border-radius: 18px;
  background: rgba(250, 248, 245, 0.65);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bloom-group.is-open {
  border-color: rgba(226, 163, 183, 0.45);
  box-shadow: 0 8px 28px rgba(196, 181, 212, 0.12);
}

.bloom-group__bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1rem 1rem 1.15rem;
}

.bloom-group__title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bloom-group__title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--clr-charcoal);
  line-height: 1.2;
}

.bloom-group__sub {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(92, 83, 76, 0.55);
}

.bloom-group__rate {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-charcoal);
}

.bloom-group__summary {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(92, 83, 76, 0.7);
  text-align: right;
  max-width: 9rem;
  line-height: 1.35;
}

.bloom-group__expand {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 83, 76, 0.14);
  background: #fff;
  color: var(--clr-charcoal);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.bloom-group__expand:hover {
  border-color: rgba(226, 163, 183, 0.6);
  background: rgba(226, 163, 183, 0.12);
}

.bloom-group.is-open .bloom-group__expand {
  background: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: #fff;
}

.bloom-group__expand-icon {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.bloom-group.is-open .bloom-group__expand-icon {
  transform: rotate(45deg);
}

.bloom-group__panel {
  padding: 0 0.85rem 1rem;
  border-top: 1px solid rgba(92, 83, 76, 0.08);
}

.bloom-group__panel[hidden] {
  display: none !important;
}

.bloom-row__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.bloom-row__rate {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(92, 83, 76, 0.65);
  white-space: nowrap;
}

.bloom-preset {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.5rem;
  padding: 0.35rem 0.5rem;
}

.bloom-preset__n {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.bloom-preset__u {
  font-size: 0.52rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.bloom-stepper__qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.5rem;
  gap: 0.05rem;
}

.bloom-stepper__val {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.bloom-stepper__unit {
  font-size: 0.52rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(92, 83, 76, 0.55);
}

.bloom-row__line-total {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-charcoal);
}

.bloom-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(92, 83, 76, 0.12);
}

.bloom-estimate[hidden] {
  display: none !important;
}

.bloom-estimate__label {
  font-size: 0.78rem;
  color: rgba(92, 83, 76, 0.65);
}

.bloom-estimate__val {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--clr-charcoal);
}

@media (max-width: 640px) {
  .bloom-group__bar {
    grid-template-columns: 1fr auto;
  }

  .bloom-group__summary {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
  }
}
