/* Apex UI v2 — app-like luxury shop (mobile-first, not template-y) */

:root {
  --ink: #1a0f12;
  --surface: #ffffff;
  --surface-2: rgba(255, 251, 252, 0.72);
  --glow: rgba(232, 180, 196, 0.55);
  --accent: #9e1e3a;
  --accent-soft: rgba(158, 30, 58, 0.12);
  --radius-lg: 22px;
  --radius-sm: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 4px 24px rgba(26, 15, 18, 0.06);
  --shadow-lift: 0 20px 50px rgba(92, 15, 30, 0.14);
  --font-ui: "DM Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 100% -20%, var(--glow), transparent 55%),
    radial-gradient(ellipse 90% 60% at -10% 100%, rgba(122, 21, 40, 0.06), transparent 50%),
    var(--cream);
  min-height: 100dvh;
}

/* Sticky top — frosted dock */
.site-top-shell {
  background: rgba(255, 251, 252, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(122, 21, 40, 0.08);
  box-shadow: 0 8px 32px rgba(26, 15, 18, 0.04);
}

.site-header {
  padding: 0.5rem 1rem;
  background: transparent;
  border-bottom: none;
}

.logo-img {
  height: 2.1rem;
  filter: drop-shadow(0 2px 8px rgba(122, 21, 40, 0.08));
}

.header-nav {
  gap: 0.35rem;
}

.header-nav a:not(.cart-trigger) {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.header-nav a:not(.cart-trigger):hover,
.header-nav a.is-active {
  color: var(--maroon-dark);
  background: var(--accent-soft);
}

/* Visual fully owned by .apex-lux .cart-trigger / .cart-trigger__count in
   lux.css (every page using this header is .apex-lux) — this used to
   duplicate a different pink/maroon-badge design here with an !important
   colour, which fought the lux version and was the root cause of the
   count sometimes rendering wrong/overlapping the word "Cart". */

/* Promo bar — compact chips */
.promo-bar,
.hifloat-bar {
  min-height: auto;
  padding: 0.35rem 0.75rem 0.45rem;
  background: linear-gradient(90deg, rgba(122, 21, 40, 0.04), rgba(232, 180, 196, 0.2));
  border-top: none;
}

.promo-bar__text,
.hifloat-bar__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: none;
}

.promo-bar__text strong,
.hifloat-bar__text strong {
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-bar__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(122, 21, 40, 0.1);
  box-shadow: var(--shadow-soft);
}

.promo-bar__sep { display: none !important; }

/* Layout shell */
.shell {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  padding-inline: 1.1rem;
}

@media (min-width: 768px) {
  .shell { max-width: 40rem; padding-inline: 1.5rem; }
}

/* Buttons */
.btn {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s;
}

.btn-primary {
  background: linear-gradient(145deg, var(--maroon) 0%, var(--accent) 100%);
  box-shadow: 0 8px 28px rgba(122, 21, 40, 0.32);
}

.btn-glow:hover,
.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(122, 21, 40, 0.38);
  transform: translateY(-1px);
}

.btn-ghost {
  border-radius: var(--radius-sm);
  border-color: rgba(122, 21, 40, 0.2);
}

/* ——— Home hero ——— */
.hero {
  position: relative;
  padding: 0 0 1.5rem;
  overflow: hidden;
}

.hero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  max-height: min(52vh, 22rem);
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(255, 251, 252, 0.15) 55%,
    var(--cream) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  margin-top: -2.5rem;
  padding: 0 1.1rem;
  z-index: 2;
}

.hero__content .eyebrow {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.65rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--maroon-dark);
  margin: 0 0 0.65rem;
}

.hero__accent {
  display: block;
  background: linear-gradient(120deg, var(--maroon) 0%, var(--pink-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 22rem;
}

@media (max-width: 699px) {
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.85rem);
    font-weight: 700;
  }

  .hero__lead {
    max-width: none;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--ink);
    opacity: 0.82;
  }

  .hero__cta {
    font-size: 1.08rem;
    border-radius: var(--radius-sm);
  }

  .perk-strip {
    margin-top: 0.85rem;
  }
}

.perk-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.15rem;
}

.perk-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--maroon-dark);
  border: 1px solid rgba(122, 21, 40, 0.12);
  box-shadow: var(--shadow-soft);
}

.hero__cta {
  width: 100%;
  min-height: 3.25rem;
  font-size: 1.05rem;
}

/* ——— Home mobile-first layout ——— */
.page-home--mobile-first {
  padding-bottom: calc(4.75rem + var(--safe-bottom));
}

.hero__location {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.hero__audience {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  max-width: 18rem;
  margin-inline: auto;
}

.perk-chip--hot {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--accent) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(122, 21, 40, 0.28);
  font-weight: 700;
}

.spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 1.1rem 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 21, 40, 0.12);
  box-shadow: var(--shadow-lift);
}

.spotlight--hifloat {
  background: linear-gradient(125deg, rgba(122, 21, 40, 0.94) 0%, rgba(158, 30, 58, 0.88) 55%, rgba(232, 180, 196, 0.35) 100%);
  color: var(--white);
}

.spotlight__eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.spotlight__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.spotlight__free {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  vertical-align: middle;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.spotlight__text {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.92;
  max-width: 14rem;
}

.spotlight__days {
  flex-shrink: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 0.95;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.spotlight__days small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.home-shop {
  padding: 0 1.1rem 1.5rem;
}

.home-shop__section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--maroon-dark);
  margin: 1.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.perk-card--accent {
  background: linear-gradient(160deg, rgba(248, 232, 236, 0.95), var(--surface));
  border-color: rgba(122, 21, 40, 0.2);
}

.perk-card--accent .perk-card__title {
  color: var(--maroon);
}

.home-cta-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.55rem 1rem calc(0.55rem + var(--safe-bottom));
  background: rgba(255, 251, 252, 0.92);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-top: 1px solid rgba(122, 21, 40, 0.1);
  box-shadow: 0 -8px 32px rgba(26, 15, 18, 0.08);
}

.home-cta-dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.5rem 1rem;
  gap: 0.1rem;
  line-height: 1.2;
}

.home-cta-dock__label {
  font-size: 1.02rem;
  font-weight: 700;
}

.home-cta-dock__meta {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

.page-home .site-footer {
  padding-bottom: calc(1.5rem + var(--safe-bottom));
}

.home-shop__head p {
  display: block;
}

/* Product tile — editorial card */
.product-tile {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.product-tile:active {
  transform: scale(0.985);
}

.product-tile__visual {
  aspect-ratio: 16 / 11;
}

.product-tile__visual img {
  transition: transform 0.6s var(--ease-out);
}

.product-tile:hover .product-tile__visual img {
  transform: scale(1.04);
}

.product-tile__badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.62rem;
}

.product-tile__body {
  padding: 1.2rem 1.35rem 1.5rem;
}

.product-tile__title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.product-tile__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0.55rem 1rem;
  background: var(--accent-soft);
  border-radius: 999px;
  width: fit-content;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.product-tile:hover .product-tile__action {
  background: rgba(122, 21, 40, 0.18);
}

/* Perk grid (replaces bullet list) */
.perk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.perk-card {
  padding: 0.85rem 0.9rem;
  background: var(--surface-2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.perk-card__icon {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.perk-card__title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 0.15rem;
}

.perk-card__desc {
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
  margin: 0;
}

.compare-us {
  display: block;
}

/* Trust — horizontal snap on mobile (optional pages) */
.trust-scroll {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(122, 21, 40, 0.08);
  background: linear-gradient(180deg, transparent, rgba(248, 232, 236, 0.35));
}

.trust-scroll__head {
  padding: 0 1.1rem 0.85rem;
  max-width: 26rem;
  margin: 0 auto;
}

.trust-scroll__head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--maroon-dark);
  margin: 0;
}

.trust-scroll__track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 1.1rem 0.75rem;
  scrollbar-width: none;
}

.trust-scroll__track::-webkit-scrollbar { display: none; }

.trust-card {
  flex: 0 0 min(78vw, 16rem);
  scroll-snap-align: start;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 21, 40, 0.08);
  box-shadow: var(--shadow-soft);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--maroon);
  margin: 0 0 0.35rem;
}

.trust-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.page-home .trust-band {
  display: grid;
}

@media (min-width: 700px) {
  .page-home--mobile-first {
    padding-bottom: 0;
  }

  .home-cta-dock {
    display: none;
  }

  .spotlight {
    max-width: 56rem;
    margin-inline: auto;
  }

  .home-shop {
    max-width: 56rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
  }

  .home-shop__section-title {
    font-size: 1.45rem;
  }

  .perk-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 251, 252, 0.75);
  border-top: none;
  padding-top: 2.5rem;
}

.site-footer a { color: var(--pink-deep); }

.site-footer p { opacity: 0.85; }

.site-footer--slim {
  background: transparent;
  color: var(--muted);
  border-top: 1px solid rgba(122, 21, 40, 0.08);
  padding: 1.25rem;
}

.footer-logo {
  opacity: 0.95;
  filter: brightness(1.15);
}

.page-helium--simple .config-main {
  padding-inline: 1.1rem;
  max-width: 26rem;
  margin-inline: auto;
}

.page-cart .cart-page {
  padding-inline: 1.1rem;
  max-width: 26rem;
  margin-inline: auto;
}

.config-intro--simple h1 {
  font-size: clamp(1.65rem, 6vw, 2rem);
  letter-spacing: -0.02em;
}

.hifloat-included-note--intro {
  background: transparent;
  border: none;
  padding: 0.25rem 0 0;
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted);
}

.composer {
  background: var(--surface-2);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.config-form--simple .config-step {
  border: 1px solid rgba(122, 21, 40, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  margin-top: 0.65rem;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.config-step[open] .config-step__head {
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

.config-form--simple .config-step__num {
  width: auto;
  height: auto;
  min-width: 0;
  font-family: var(--font-step-heading);
  font-size: clamp(0.8rem, 2.4vw, 1rem);
  font-weight: 700;
  border-radius: 0;
  background: none;
  color: var(--brand-burgundy, #880000);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.bouquet-set__card {
  border-radius: var(--radius-sm);
  border-width: 2px;
  transition: transform 0.25s var(--ease-out), border-color 0.2s, box-shadow 0.25s;
}

.bouquet-set.is-selected .bouquet-set__card {
  box-shadow: 0 12px 32px rgba(122, 21, 40, 0.22);
  transform: translateY(-2px);
}

.bouquet-set__card {
  flex: 1;
}

.bouquet-sets-hint {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.checkout-bar {
  background: rgba(255, 251, 252, 0.88);
  backdrop-filter: blur(20px) saturate(1.15);
  border-top: 1px solid rgba(122, 21, 40, 0.1);
  box-shadow: 0 -12px 40px rgba(26, 15, 18, 0.08);
}

.checkout-bar__amount {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

/* Cart */
.cart-page__head h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.cart-page__flash {
  background: linear-gradient(90deg, var(--maroon), var(--accent));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

.hifloat-included-note--compact {
  background: var(--surface-2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
}

.cart-line {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(122, 21, 40, 0.08);
  box-shadow: var(--shadow-soft);
}

/* Shop hub */
.shop-hub {
  padding-top: 0.75rem;
}

.shop-hub__intro h1 {
  letter-spacing: -0.02em;
}

.shop-hub__intro .lead {
  font-size: 0.95rem;
  max-width: 22rem;
}

.shop-hub__note {
  background: var(--surface-2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(122, 21, 40, 0.08);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.8rem;
}

.breadcrumb {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-card {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-soft);
}

.category-card--live:hover {
  box-shadow: var(--shadow-lift);
}

/* Success */
.page-success .success-main {
  padding-top: 4rem;
}

.page-success h1 {
  font-size: 2rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .product-tile:hover .product-tile__visual img { transform: none; }
}

@media (min-width: 700px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 0;
    padding: 1.5rem 1.5rem 2rem;
    max-width: 56rem;
    margin: 0 auto;
  }

  .hero__media {
    grid-row: 1 / 3;
    grid-column: 1;
    border-radius: var(--radius-lg);
    max-height: 24rem;
    margin: 0;
    box-shadow: var(--shadow-lift);
  }

  .hero__img { border-radius: var(--radius-lg); }

  .hero__glow {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, transparent 50%, rgba(255, 251, 252, 0.4) 100%);
  }

  .hero__content {
    grid-column: 2;
    margin-top: 0;
    padding: 0 0 0 1.5rem;
  }

  .hero__cta { width: auto; min-width: 14rem; }

  .perk-grid { grid-template-columns: repeat(3, 1fr); }

  .trust-scroll__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    max-width: 56rem;
    margin: 0 auto;
    padding-inline: 1.5rem;
  }

  .trust-card { flex: none; }
}

/* ——— Tabular numbers (prices, qty, totals) ——— */
.tabular-nums,
[data-qty-val],
.qty-stepper__value,
.bouquet-set__price,
.bouquet-set__count,
.checkout-bar__amount,
.composer__math,
.cart-line__price,
.order-row span:last-child {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* ——— Quantity stepper (builder + cart) ——— */
.qty-stepper,
.qty-pill {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(122, 21, 40, 0.1);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 20px rgba(26, 15, 18, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Self-centre within whatever block contains it, so callers don't need to
   opt in with a --card modifier or a justify-content:center parent — the
   [- 0 +] control sat left-aligned wherever that opt-in was missing. */
.qty-stepper {
  width: fit-content;
  margin-inline: auto;
}

.cart-line__qty .qty-stepper {
  margin-inline: 0;
}

.qty-stepper__btn,
.qty-pill__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--maroon-dark);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    transform 0.12s var(--ease-out);
}

.qty-stepper__icon {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

.qty-stepper__btn:active,
.qty-pill__btn:active {
  background: linear-gradient(145deg, var(--maroon) 0%, var(--accent) 100%);
  color: var(--white);
  transform: scale(0.94);
}

.qty-stepper__btn:disabled,
.qty-pill__btn:disabled {
  opacity: 0.28;
  pointer-events: none;
  cursor: not-allowed;
}

.qty-stepper__value:empty::before,
output[data-qty-val]:empty::before {
  content: "0";
}

.qty-stepper__value,
.qty-pill__val,
output[data-qty-val] {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 2.5rem;
  padding: 0.5rem 0.35rem;
  text-align: center;
  /* Standardised deep-red brand colour, matching the small option-title
     typography (.colour-section__title) — the quantity number is the
     other half of "Quantity typography sitewide", not just the heading
     above it. */
  color: var(--lux-accent, var(--maroon, #7a1528));
  background: rgba(122, 21, 40, 0.06);
  border-radius: 10px;
  border: none;
}

.qty-stepper--card {
  width: 100%;
  max-width: 9.5rem;
  margin: 0 auto;
}

.bouquet-set__qty {
  justify-content: center;
  padding: 0.15rem 0 0.25rem;
}

.bouquet-set.is-selected .qty-stepper--card {
  border-color: rgba(122, 21, 40, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 24px rgba(122, 21, 40, 0.12);
}

.bouquet-set.is-selected .qty-stepper__value {
  background: rgba(122, 21, 40, 0.1);
  color: var(--maroon-dark);
}

.qty-stepper--sm {
  padding: 0.15rem;
  border-radius: 12px;
}

.qty-stepper--sm .qty-stepper__btn,
.qty-stepper--sm .qty-pill__btn {
  width: 2.35rem;
  height: 2.35rem;
}

.qty-stepper--sm .qty-stepper__icon {
  width: 1rem;
  height: 1rem;
}

.qty-stepper--sm .qty-stepper__value,
.qty-stepper--sm .qty-pill__val {
  font-size: 1.1rem;
  min-width: 2.15rem;
  padding: 0.4rem 0.25rem;
}

.cart-line__qty {
  margin-top: 0.65rem;
}

.cart-line__qty .qty-stepper {
  width: 100%;
  max-width: 10.5rem;
}

.bouquet-set__count {
  font-family: var(--font-ui) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
}

.bouquet-set__price {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.composer--summary {
  background: var(--surface-2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(122, 21, 40, 0.08);
  border-radius: var(--radius-sm);
  margin-inline: 1rem;
}

.composer--summary .composer__math {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--maroon-dark);
}

@keyframes qty-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.qty-stepper__value.is-bump {
  animation: qty-bump 0.22s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .qty-stepper__value.is-bump { animation: none; }
}

/* ─── Shared subcategory product-grid — wide desktop only ──────────────────
   Every subcategory listing page (.page-category-grid: table-centrepieces,
   number-combos, gender-reveal, baby-shower, graduation, plus corporate-
   columns itself) shares the same .category-product-list/.category-card
   markup (rendered by js/category-page.js). Business Balloon Columns
   (corporate-columns.html) already carries its own page-scoped copy of this
   ≥960px grid treatment in its inline <style> — excluded here so the two
   never fight over the same rule. Every OTHER subcategory page previously
   had no desktop grid at all (still a mobile-style vertical list at any
   width) — this brings them in line with corporate-columns' card sizing,
   thumbnail sizing, spacing, title/price position and hover behaviour.
   Mobile, tablet and narrow desktop (<960px) are untouched: each page keeps
   its own existing inline styles below that breakpoint. */
@media (min-width: 960px) {
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1160px;
    margin: 0 auto 1.5rem;
    border-top: none;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 0.5rem 0.5rem 0.65rem;
    border-bottom: none;
    border-radius: 0.85rem;
    box-shadow: 0 1px 4px rgba(26, 15, 18, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card:hover {
    background: var(--accent-faint, #fdf0f2);
    border-color: var(--accent, #7a1528);
    box-shadow: 0 10px 28px rgba(26, 15, 18, 0.1);
    transform: translateY(-3px);
  }
  /* Same reasoning as corporate-columns.html — the image is the hero, no
     nested box of its own; strip every "inner card" trait the shared
     .category-card__visual rule in lux.css otherwise carries. */
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__visual {
    width: 100%;
    max-width: none;
    height: 300px;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__visual img {
    border: none;
    box-shadow: none;
    border-radius: 0;
    /* Flat white studio-photo backgrounds read as a hard box once the card
       tints pink on hover above — same fix as corporate-columns.html and
       the .photo-preview__logo / .bouquet-scene__logo watermarks in
       styles.css: blend the white out instead of cropping the photo. */
    mix-blend-mode: multiply;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__body {
    align-items: center;
    gap: 0.1rem;
    margin-top: 0.3rem;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__name {
    font-size: 1.2rem;
    text-align: center;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__desc {
    text-align: center;
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__price {
    color: var(--brand-burgundy-dark, #620000);
    text-align: center;
  }
}

/* ─── Shared subcategory product-grid — desktop narrow only (720–959px) ────
   Every subcategory listing page's own per-page inline <style> already
   defines an unscoped (all-widths) hover-highlight rule for
   .category-product-list .category-card — identical values reproduced here
   (var(--accent-faint)/var(--accent)) so this never conflicts, only fills a
   gap. Two real gaps existed in this 720–959px band specifically (the
   ≥960px rule above and each page's own inline rule don't cover it):
   1. Helium Bouquet Basics (helium-bouquet-basics.html) and Number Balloon
      Towers (number-balloon-towers.html) ship NO per-page inline <style> at
      all, so their sub-category cards had zero hover/active highlight in
      this band — this shared rule restores it, reusing the exact same
      treatment instead of inventing a page-specific one.
   2. Every page's own inline .category-card__visual img rule sets
      object-fit only, never mix-blend-mode — so flat-white-studio-photo
      thumbnails (Helium Number Bouquets, Balloon Displays, Balloon
      Sculptures, Gender Reveal, Graduation, Helium Bouquet Basics) show a
      visible white box in this band, exactly like the ≥960px rule above
      already fixes at wide desktop. Same mechanism, just extended down to
      cover the gap. */
@media (min-width: 720px) and (max-width: 959px) {
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card:hover {
    background: var(--accent-faint, #fdf0f2);
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card:hover .category-card__name {
    color: var(--accent, #7a1528);
  }
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list .category-card__visual img {
    mix-blend-mode: multiply;
  }
  /* Number Balloon Towers (number-balloon-towers.html) — own markup is
     .category-grid/.category-card (not .category-product-list, and no
     page-category-grid body class), so it never matched any hover rule
     above. Same values as every other subcategory page's highlight
     (var(--accent-faint)/var(--accent)) — reusing the established
     treatment, not inventing a new one — just keyed to this page's actual
     existing selector instead of migrating its markup. */
  body.page-number-balloon-towers .category-grid .category-card:hover {
    background: var(--accent-faint, #fdf0f2);
  }
  body.page-number-balloon-towers .category-grid .category-card:hover .category-card__name {
    color: var(--accent, #7a1528);
  }
}

/* Wide desktop only — matches the shared .config-main wide-desktop tier and
   corporate-columns.html's own ≥1440px widening. Standard/narrow desktop
   above (720–1439px) is unchanged. */
@media (min-width: 1440px) {
  body.page-category-grid:not([data-category-id="corporate-columns"]) .category-product-list {
    max-width: 1760px;
  }
}

/* ─── Shared subcategory product-grid — mobile 2-column ─────────────────
   Every real product/design LISTING page (Business Balloon Columns, Table
   Centrepieces, Balloon Sculptures, Balloon Displays, Gender Reveal, Baby
   Shower, Graduation, Number Combos, Seasonal & Holidays, Fathers Day,
   Valentine's Day, and the Mega/Mini Number Stack Range pages) keeps the
   same desktop-style boxed card at mobile widths, scaled down to 2 per
   row, instead of collapsing into a full-width list row. Reference: the
   two-column compact mobile card grid on
   hugandkissxo.com/collections/suite-set-ups (layout idea only — no
   branding/typography/colour copied).
   Excluded: number-balloon-towers.html — its 3 cards are the Mini/Mega/
   Massive RANGE selector (a category hub, not a product listing), so it
   keeps its existing mobile treatment untouched. The Shop hub itself
   (shop/index.html) and every other .category-grid-based navigation card
   are a different container class entirely and are never matched here. */
@media (max-width: 719px) {
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list,
  body.page-number-balloon-towers .category-product-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    border-top: none;
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card,
  body.page-number-balloon-towers .category-product-list .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    min-width: 0;
    padding: 0.4rem 0.4rem 0.6rem;
    border-bottom: none;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(26, 15, 18, 0.05);
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card:active,
  body.page-number-balloon-towers .category-product-list .category-card:active {
    background: var(--accent-faint, #fdf0f2);
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__visual,
  body.page-number-balloon-towers .category-product-list .category-card__visual {
    width: 100%;
    max-width: none;
    align-self: stretch;
    height: auto;
    aspect-ratio: 4 / 5;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__visual img,
  body.page-number-balloon-towers .category-product-list .category-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border: none;
    box-shadow: none;
    border-radius: 0;
    /* Same flat-white-studio-photo fix as the desktop/tablet tiers above. */
    mix-blend-mode: multiply;
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__body,
  body.page-number-balloon-towers .category-product-list .category-card__body {
    align-items: center;
    text-align: center;
    gap: 0.15rem;
    margin-top: 0.35rem;
    padding: 0;
    width: 100%;
  }
  /* Title shrinks one notch further than the existing generic 719px rule
     (1.05rem/1rem depending on page) — a narrower 2-column card genuinely
     needs it to avoid wrapping onto 3+ lines or overflowing; wording,
     font-family and weight are untouched. */
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__name,
  body.page-number-balloon-towers .category-product-list .category-card__name {
    font-size: 0.875rem;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: break-word;
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__desc,
  body.page-number-balloon-towers .category-product-list .category-card__desc {
    text-align: center;
    font-size: 0.6875rem;
  }
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__price,
  body.page-number-balloon-towers .category-product-list .category-card__price {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.2rem;
  }
  /* "Coming soon" badge (js/category-page.js's renderComingSoonCard) —
     centred to match the rest of the mobile card body above. */
  body.page-category-grid:not([data-category-id="number-balloon-towers"]) .category-product-list .category-card__soon-badge,
  body.page-number-balloon-towers .category-product-list .category-card__soon-badge {
    align-self: center;
  }
}
