@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --bg: #121212;
  --brand-red: #ff2a23;
  --brand-red-dark: #e41d18;
  --cream: #fbfbfb;
  --muted: rgba(255, 255, 255, 0.78);
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #626262;
  --ease: cubic-bezier(.16, .84, .28, 1);
  --soft-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  --slot-open-time: 0.95s;
  --print-time: 3.55s;
  --print-delay: 1.18s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #111111;
  color: var(--cream);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  --hero-pad-x: clamp(18px, 5vw, 92px);
  --hero-pad-top: clamp(16px, 2.2vh, 26px);
  --hero-pad-bottom: clamp(28px, 4vh, 54px);
  --logo-height: clamp(58px, 5.4vw, 78px);
  --nav-top-offset: 7px;
  --hero-copy-gap: clamp(12px, 2vh, 22px);
  --hero-title-size: clamp(3.05rem, 4.4vw, 4.65rem);
  --hero-title-leading: 1.02;
  --subtitle-gap: 14px;
  --tags-gap: 15px;
  --print-gap: clamp(24px, 3.6vh, 38px);
  position: relative;
  min-height: 100svh;
  padding: var(--hero-pad-top) var(--hero-pad-x) var(--hero-pad-bottom);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.92), rgba(250, 250, 250, 0.98) 58%, #f5f5f5 100%);
}

.gold-pattern {
  position: absolute;
  inset: 58% 0 0;
  z-index: -3;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 42, 35, 0.095) 0 2.2px, transparent 2.8px),
    radial-gradient(circle at 30px 30px, rgba(255, 42, 35, 0.055) 0 1.7px, transparent 2.3px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 86%, transparent 100%);
  animation: backgroundFloat 18s linear infinite;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at -9% 56%, rgba(0, 0, 0, 0.024) 0 22%, transparent 22.2%),
    radial-gradient(circle at 109% 56%, rgba(0, 0, 0, 0.024) 0 22%, transparent 22.2%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.58), transparent 35%);
}

.floating-sparkles span {
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  background: transparent;
  opacity: 0.42;
  animation: sparkle 4.6s ease-in-out infinite;
}

.floating-sparkles span::before,
.floating-sparkles span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 42, 35, 0.55);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.floating-sparkles span::before {
  width: 10px;
  height: 1.5px;
}

.floating-sparkles span::after {
  width: 1.5px;
  height: 10px;
}

.floating-sparkles span:nth-child(1) { left: 9%; top: 34%; animation-delay: -0.1s; }
.floating-sparkles span:nth-child(2) { left: 22%; top: 43%; animation-delay: -1.2s; }
.floating-sparkles span:nth-child(3) { left: 77%; top: 37%; animation-delay: -2.1s; }
.floating-sparkles span:nth-child(4) { left: 88%; top: 47%; animation-delay: -3.3s; }
.floating-sparkles span:nth-child(5) { left: 14%; top: 58%; animation-delay: -4.1s; }
.floating-sparkles span:nth-child(6) { left: 31%; top: 61%; animation-delay: -0.8s; }
.floating-sparkles span:nth-child(7) { left: 58%; top: 56%; animation-delay: -1.7s; }
.floating-sparkles span:nth-child(8) { left: 79%; top: 61%; animation-delay: -2.5s; }
.floating-sparkles span:nth-child(9) { left: 24%; top: 72%; animation-delay: -3.1s; }
.floating-sparkles span:nth-child(10) { left: 67%; top: 71%; animation-delay: -4.5s; }
.floating-sparkles span:nth-child(11) { left: 8%; top: 80%; animation-delay: -0.6s; }
.floating-sparkles span:nth-child(12) { left: 40%; top: 82%; animation-delay: -1.9s; }
.floating-sparkles span:nth-child(13) { left: 55%; top: 88%; animation-delay: -2.8s; }
.floating-sparkles span:nth-child(14) { left: 73%; top: 84%; animation-delay: -3.7s; }
.floating-sparkles span:nth-child(15) { left: 90%; top: 76%; animation-delay: -4.2s; }
.floating-sparkles span:nth-child(16) { left: 18%; top: 90%; animation-delay: -4.8s; }

.nav {
  position: relative;
  z-index: 70;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 22px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--nav-top-offset);
}

.nav-right {
  justify-content: flex-end;
}

.brand {
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1;
}

.brand img {
  height: var(--logo-height);
  width: auto;
  max-width: 158px;
  object-fit: contain;
}

.nav-left a,
.btn {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.nav-left a {
  color: #222222;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.nav-left a:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--brand-red-dark);
  border-color: rgba(255, 42, 35, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.btn-ghost:hover,
.nav-left a:hover {
  background: rgba(255, 42, 35, 0.06);
}

.btn-light {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(255, 42, 35, 0.22);
}

.btn-light:hover {
  background: linear-gradient(180deg, #ff4a3f, var(--brand-red));
  box-shadow: 0 14px 30px rgba(255, 42, 35, 0.28);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: var(--hero-copy-gap) auto 0;
  text-align: center;
  animation: heroEnter 900ms var(--ease) both;
}

.hero-copy h1 {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-leading);
  letter-spacing: -0.048em;
  color: var(--ink);
}

.hero-copy h1 .line-primary,
.hero-copy h1 .line-accent {
  display: block;
}

.hero-copy h1 .line-accent {
  color: var(--brand-red);
}

.hero-copy p {
  width: min(760px, 100%);
  margin: var(--subtitle-gap) auto 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.5;
}

.event-tags {
  width: min(940px, 100%);
  margin: var(--tags-gap) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

.event-tags span {
  min-height: 22px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #232323;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 42, 35, 0.22);
  box-shadow:
    0 10px 26px rgba(17, 17, 17, 0.10),
    0 4px 10px rgba(255, 42, 35, 0.07);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.print-hook {
  --slot-height: 50px;
  --slot-overlap: calc(-1 * var(--slot-height) + 24px);
  --print-width: min(760px, calc(100vw - 120px));
  --slot-width: min(880px, calc(var(--print-width) + 94px));
  --slit-width: min(820px, calc(var(--print-width) + 44px));
  position: relative;
  z-index: 4;
  width: min(980px, 100%);
  margin: var(--print-gap) auto 0;
  display: grid;
  justify-items: center;
}

.print-hook::after {
  content: "";
  position: absolute;
  z-index: 55;
  left: 50%;
  top: calc(var(--slot-height) / 2 - 3px);
  width: var(--slit-width);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #050505, #232323 52%, #050505);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 5px rgba(0, 0, 0, 0.82),
    0 8px 20px rgba(17, 17, 17, 0.12);
  transform: translate3d(-50%, 0, 0);
  transform-origin: center center;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  will-change: clip-path, opacity;
  backface-visibility: hidden;
  animation: printHookLineOpen 0.64s linear 0.50s forwards;
}

.slot-shell {
  position: relative;
  z-index: 18;
  width: var(--slot-width);
  height: var(--slot-height);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #ececec 78%);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow:
    0 18px 42px rgba(17, 17, 17, 0.11),
    0 10px 22px rgba(255, 42, 35, 0.06),
    inset 0 2px 4px rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transform: scaleX(0.08);
  transform-origin: center center;
  opacity: 0;
  animation: slotShellOpen var(--slot-open-time) var(--ease) 0.2s forwards;
}

.slot-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-80%);
  opacity: 0;
  animation: slotWake 1.05s ease-out 0.45s forwards;
}

.slot-glow {
  position: absolute;
  inset: 8px 20px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 42, 35, 0.08), transparent 58%);
  filter: blur(2px);
  opacity: 0;
  animation: slotGlowWake 0.85s ease-out 0.65s forwards;
}

.print-viewport {
  position: relative;
  z-index: 32;
  width: var(--print-width);
  height: clamp(430px, 41vw, 525px);
  min-height: 0;
  margin-top: var(--slot-overlap);
  display: grid;
  justify-items: center;
  overflow: hidden;
  perspective: 1200px;
}

.tilt-layer {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 100%);
  transform: translateX(-50%);
  transform-style: preserve-3d;
  transition: transform 260ms ease-out;
  will-change: transform;
}

.polaroid-card {
  position: relative;
  width: 100%;
  min-height: clamp(390px, 38vw, 472px);
  padding: clamp(17px, 1.9vw, 25px) clamp(18px, 1.9vw, 26px) clamp(22px, 2.3vw, 32px);
  color: var(--ink);
  background: linear-gradient(180deg, #fbfbfb, #ece9e5);
  box-shadow:
    0 22px 50px rgba(17, 17, 17, 0.12),
    0 10px 22px rgba(17, 17, 17, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-104%) rotate(0deg);
  transform-origin: 50% 0%;
  animation: polaroidPrintOnce var(--print-time) var(--ease) var(--print-delay) forwards;
  will-change: transform, opacity, filter;
}

.polaroid-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.10) 43%, rgba(255, 255, 255, 0.74) 50%, rgba(255, 255, 255, 0.13) 56%, transparent 66%);
  transform: translateX(-74%) rotate(8deg);
  mix-blend-mode: screen;
  opacity: 0;
  animation: shineSweepOnce 0.95s ease-in-out calc(var(--print-delay) + var(--print-time) - 0.3s) forwards;
}

.print-strip {
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  display: flex;
  justify-content: space-between;
  opacity: 0.15;
}

.top-strip {
  top: 0;
}

.print-strip span {
  width: 28%;
  height: 2px;
  background: #111111;
}

.photo-window {
  position: relative;
  aspect-ratio: 16 / 8.9;
  background: #d9d9d9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.photo-window:active {
  cursor: grabbing;
}

.photo-track {
  display: flex;
  width: 400%;
  height: 100%;
  transform: translate3d(0%, 0, 0);
  transition: transform 760ms cubic-bezier(.16, .84, .28, 1);
  clip-path: inset(0 0 0 0);
  filter: contrast(1) brightness(1);
}

.photo-track img {
  width: 25%;
  max-width: 25%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 25%;
  transform: none;
  backface-visibility: hidden;
}

.develop-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%, rgba(0, 0, 0, 0.06) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  opacity: 0.18;
  animation: inkPassOnce var(--print-time) linear var(--print-delay) forwards;
}

.polaroid-meta {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.polaroid-card p {
  min-height: 1.35em;
  color: #191919;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms ease, transform 280ms ease;
}

.polaroid-card p.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.social-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 14px;
}

.social-left,
.social-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-left {
  justify-self: start;
}

.social-right {
  justify-self: end;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  color: #111111;
  background: transparent;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 180ms ease, opacity 180ms ease;
}

.icon-button:hover {
  transform: translateY(-2px) scale(1.05);
  opacity: 0.78;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slide-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms var(--ease);
}

.print-hook.is-printed .slide-indicators {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.slide-dot:hover {
  transform: translateY(-1px) scale(1.12);
  background: rgba(255, 42, 35, 0.42);
}

.slide-dot.is-active {
  background: var(--brand-red);
}

.caption-line {
  width: 100%;
  height: 2px;
  margin-top: 8px;
  background: #111111;
  opacity: 0.95;
}

.phone-pill,
.delivery-pill {
  position: fixed;
  z-index: 20;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #121212;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.phone-pill {
  left: 30px;
}

.delivery-pill {
  right: 30px;
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 92px);
  background: #151515;
}

.section:nth-of-type(odd) {
  background: #1d1d1d;
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ff625b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 900;
}

.section h2,
.contact-card h2 {
  color: var(--cream);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.heading-stat {
  display: block;
  color: #ff625b;
}

.section-heading p,
.contact-card p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.steps,
.why-grid,
.package-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step,
.why-card,
.package-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.step,
.why-card,
.package-card {
  padding: 28px;
}

.step span,
.why-card span {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand-red);
  font-weight: 900;
}

.step h3,
.why-card h3,
.package-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step p,
.why-card p,
.package-card li {
  color: var(--muted);
  line-height: 1.7;
}

.why-grid {
  grid-template-columns: repeat(6, 1fr);
}

.why-card {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.why-card:nth-child(4),
.why-card:nth-child(5) {
  grid-column: span 3;
}

.why-card::after {
  display: none;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 42, 35, 0.32);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.why-card span {
  box-shadow: 0 10px 22px rgba(255, 42, 35, 0.2);
}

.package-card {
  position: relative;
}

.package-card.featured {
  border-color: rgba(255, 42, 35, 0.42);
  transform: translateY(-10px);
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ff776f;
  background: rgba(255, 42, 35, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin-bottom: 18px;
  color: #ff776f;
  font-size: 1.15rem;
  font-weight: 900;
}

.package-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.package-card li::before {
  content: "✓";
  margin-right: 8px;
  color: #ff776f;
  font-weight: 900;
}

.package-link {
  display: inline-flex;
  margin-top: 24px;
  color: #ff776f;
  font-weight: 900;
}

.contact {
  background: radial-gradient(circle at 50% 0%, rgba(255, 42, 35, 0.14), transparent 34%), #141414;
}

.contact-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
}

.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition: opacity 700ms ease, transform 700ms var(--ease), filter 700ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes slotShellOpen {
  0% {
    opacity: 0;
    transform: scaleX(0.08);
    filter: brightness(0.7);
  }
  34% {
    opacity: 1;
  }
  78% {
    transform: scaleX(1.03);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
    filter: brightness(1);
  }
}

@keyframes printHookLineOpen {
  0% {
    opacity: 1;
    clip-path: inset(0 50% 0 50%);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes slotGlowWake {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slotWake {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }
  28% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(80%);
  }
}

@keyframes polaroidPrintOnce {
  0% {
    opacity: 1;
    transform: translateY(-104%) rotate(0deg);
    filter: brightness(0.98);
  }
  18% {
    transform: translateY(-82%) rotate(-0.08deg);
  }
  38% {
    transform: translateY(-55%) rotate(0.08deg);
  }
  58% {
    transform: translateY(-28%) rotate(-0.06deg);
  }
  78% {
    transform: translateY(-2%) rotate(0.08deg);
    filter: brightness(1);
  }
  90% {
    transform: translateY(9px) rotate(-0.16deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    filter: brightness(1);
  }
}

@keyframes inkPassOnce {
  0%, 10% {
    transform: translateY(-100%);
    opacity: 0.20;
  }
  36% {
    transform: translateY(-46%);
    opacity: 0.16;
  }
  76% {
    transform: translateY(2%);
    opacity: 0.08;
  }
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
}

@keyframes shineSweepOnce {
  0% {
    opacity: 0;
    transform: translateX(-74%) rotate(8deg);
  }
  35% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translateX(74%) rotate(8deg);
  }
}

@keyframes backgroundFloat {
  from { background-position: 0 0, 0 0; }
  to { background-position: 40px 40px, -40px 40px; }
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(0.4);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (min-width: 1400px) and (min-height: 900px) {
  .hero {
    --hero-pad-top: 22px;
    --logo-height: 82px;
    --hero-copy-gap: 20px;
    --hero-title-size: clamp(3.6rem, 4.45vw, 5rem);
    --subtitle-gap: 15px;
    --tags-gap: 16px;
    --print-gap: 40px;
  }

  .print-hook {
    --print-width: min(790px, calc(100vw - 140px));
    --slot-width: min(900px, calc(var(--print-width) + 96px));
    --slit-width: min(850px, calc(var(--print-width) + 46px));
  }

  .print-viewport {
    height: clamp(455px, 40vw, 545px);
  }
}

@media (min-width: 901px) and (max-height: 900px) {
  .hero {
    --hero-pad-top: 14px;
    --hero-pad-bottom: 18px;
    --logo-height: clamp(58px, 7vh, 72px);
    --hero-copy-gap: clamp(10px, 1.5vh, 16px);
    --hero-title-size: clamp(3.1rem, 4.45vw, 4.55rem);
    --hero-title-leading: 1.02;
    --subtitle-gap: 14px;
    --tags-gap: 13px;
    --print-gap: 20px;
  }

  .nav-left,
  .nav-right {
    padding-top: 10px;
  }

  .nav-left a,
  .btn {
    min-height: 38px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .brand img {
    max-width: 132px;
  }

  .hero-copy h1 {
    letter-spacing: -0.055em;
  }

  .hero-copy p {
    font-size: clamp(0.96rem, 1.08vw, 1.05rem);
  }

  .event-tags {
    gap: 7px 10px;
  }

  .event-tags span {
    min-height: 21px;
    padding: 0 14px;
  }

  .print-hook {
    --slot-height: 48px;
    --slot-overlap: calc(-1 * var(--slot-height) + 22px);
    --print-width: min(690px, calc(100vw - 140px));
    --slot-width: min(820px, calc(var(--print-width) + 76px));
    --slit-width: min(790px, calc(var(--print-width) + 34px));
  }

  .print-hook::after {
    height: 5px;
    top: calc(var(--slot-height) / 2 - 2.5px);
  }

  .print-viewport {
    height: 500px;
    min-height: 500px;
  }

  .tilt-layer {
    width: var(--print-width);
  }

  .polaroid-card {
    min-height: 452px;
    padding: 17px 22px 25px;
  }
}

@media (min-width: 901px) and (max-height: 800px) {
  .hero {
    --logo-height: 56px;
    --hero-copy-gap: 8px;
    --hero-title-size: clamp(2.85rem, 4.05vw, 4rem);
    --subtitle-gap: 12px;
    --tags-gap: 11px;
    --print-gap: 18px;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .print-hook {
    --print-width: min(640px, calc(100vw - 150px));
    --slot-width: min(770px, calc(var(--print-width) + 74px));
    --slit-width: min(740px, calc(var(--print-width) + 32px));
  }

  .print-viewport {
    height: 462px;
    min-height: 462px;
  }

  .polaroid-card {
    min-height: 416px;
    padding: 16px 20px 22px;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .hero {
    min-height: 720px;
  }
}

@media (max-width: 900px) {
  .hero {
    --logo-height: clamp(54px, 14vw, 66px);
    min-height: auto;
    padding: 10px 0 30px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .gold-pattern {
    inset: 54% 0 0;
  }

  .floating-sparkles span:nth-child(1) { left: 10%; top: 28%; }
  .floating-sparkles span:nth-child(2) { left: 27%; top: 36%; }
  .floating-sparkles span:nth-child(3) { left: 79%; top: 32%; }
  .floating-sparkles span:nth-child(4) { left: 88%; top: 40%; }
  .floating-sparkles span:nth-child(5) { left: 14%; top: 52%; }
  .floating-sparkles span:nth-child(6) { left: 29%; top: 58%; }
  .floating-sparkles span:nth-child(7) { left: 64%; top: 54%; }
  .floating-sparkles span:nth-child(8) { left: 84%; top: 58%; }
  .floating-sparkles span:nth-child(9) { left: 22%; top: 72%; }
  .floating-sparkles span:nth-child(10) { left: 73%; top: 70%; }
  .floating-sparkles span:nth-child(11) { left: 10%; top: 82%; }
  .floating-sparkles span:nth-child(12) { left: 42%; top: 84%; }
  .floating-sparkles span:nth-child(13) { left: 59%; top: 90%; }
  .floating-sparkles span:nth-child(14) { left: 76%; top: 86%; }
  .floating-sparkles span:nth-child(15) { left: 90%; top: 78%; }
  .floating-sparkles span:nth-child(16) { left: 18%; top: 92%; }

  .nav {
    width: min(420px, calc(100vw - 28px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0 0;
  }

  .brand img {
    height: var(--logo-height);
    max-width: 118px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 42, 35, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
    cursor: pointer;
    z-index: 70;
  }

  .mobile-menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: var(--brand-red);
    transition: transform 220ms ease, opacity 220ms ease;
  }

  body.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(270px, calc(100vw - 34px));
    padding: 10px;
    display: grid;
    gap: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 22px 50px rgba(17, 17, 17, 0.13);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms var(--ease);
    z-index: 65;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-menu a {
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    color: var(--ink);
    background: rgba(17, 17, 17, 0.035);
    font-size: 0.95rem;
    font-weight: 800;
  }

  .mobile-menu a:hover {
    background: rgba(255, 42, 35, 0.08);
  }

  .mobile-menu .mobile-book {
    color: #ffffff;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  }

  .hero-copy {
    width: 100%;
    margin: 24px auto 0;
    padding: 0 18px;
  }

  .hero-copy h1 {
    max-width: 420px;
    margin: 0 auto;
    font-size: clamp(2.55rem, 12.5vw, 3.35rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .hero-copy h1 .line-accent {
    font-size: 0.94em;
  }

  .hero-copy p {
    max-width: 390px;
    margin-top: 14px;
    font-size: clamp(0.98rem, 4.1vw, 1.12rem);
    line-height: 1.45;
  }

  .event-tags {
    width: 100vw;
    max-width: none;
    margin-top: 18px;
    padding: 0 18px 3px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .event-tags::-webkit-scrollbar {
    display: none;
  }

  .event-tags span {
    flex: 0 0 auto;
    min-height: 26px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .print-hook {
    --slot-height: 48px;
    --slot-overlap: calc(-1 * var(--slot-height) + 23px);
    --print-width: min(372px, calc(100vw - 42px));
    --slot-width: min(calc(100vw - 20px), calc(var(--print-width) + 50px));
    --slit-width: min(calc(100vw - 46px), calc(var(--print-width) + 22px));
    width: 100%;
    margin-top: 32px;
  }

  .print-viewport {
    width: var(--print-width);
    height: 392px;
    min-height: 392px;
  }

  .tilt-layer {
    width: 100%;
  }

  .polaroid-card {
    min-height: 356px;
    padding: 14px 14px 18px;
  }

  .polaroid-card p {
    font-size: 0.85rem;
    line-height: 1.28;
  }

  .social-row {
    column-gap: 10px;
  }

  .icon-button {
    width: 31px;
    height: 31px;
  }

  .icon-button svg {
    width: 23px;
    height: 23px;
  }

  .slide-indicators {
    min-width: 56px;
    gap: 6px;
  }

  .slide-dot {
    width: 7px;
    height: 7px;
  }

  .phone-pill,
  .delivery-pill {
    position: static;
    min-height: 38px;
    margin: 18px 7px 0;
  }

  .steps,
  .why-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .why-card,
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: auto;
  }

  .why-card:hover {
    transform: none;
  }

  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 8px;
  }

  .brand img {
    max-width: 118px;
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-copy h1 {
    max-width: 390px;
    font-size: clamp(2.45rem, 12.4vw, 3.05rem);
  }

  .hero-copy p {
    max-width: 350px;
  }

  .print-hook {
    --print-width: min(360px, calc(100vw - 36px));
    margin-top: 30px;
  }

  .print-viewport {
    height: 374px;
    min-height: 374px;
  }

  .polaroid-card {
    min-height: 342px;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 2.36rem;
  }

  .print-hook {
    --print-width: min(338px, calc(100vw - 32px));
  }

  .print-viewport {
    height: 358px;
    min-height: 358px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .slot-shell,
  .print-hook::after,
  .polaroid-card,
  .slide-indicators {
    opacity: 1;
    transform: none;
  }

  .print-hook::after {
    transform: translateX(-50%) scaleX(1);
  }

  .polaroid-card {
    opacity: 1;
    transform: translateY(0);
  }

  .photo-track {
    clip-path: inset(0 0 0 0);
    filter: none;
  }

  .slide-indicators {
    pointer-events: auto;
  }
}

/* v10: refined Why Choose Us cards with icons */
.why-choose {
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 42, 35, 0.11), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(255, 42, 35, 0.08), transparent 30%);
  opacity: 0.9;
}

.why-choose > * {
  position: relative;
  z-index: 1;
}

.why-grid.premium-feature-grid {
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}

.why-card {
  display: flex;
  flex-direction: column;
  min-height: 238px;
}

.why-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 14px 28px rgba(255, 42, 35, 0.24);
}

.why-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card.feature-highlight {
  border-color: rgba(255, 42, 35, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 42, 35, 0.16), rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 42, 35, 0.08), 0 18px 42px rgba(255, 42, 35, 0.08);
}


.why-card.feature-highlight .why-icon {
  margin-bottom: 18px;
  background: #ffffff;
  color: var(--brand-red);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}


@media (max-width: 900px) {
  .why-grid.premium-feature-grid {
    grid-template-columns: 1fr;
  }

  .why-card,
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
  }
}


/* v12: black hero-matched Why Choose Us styling */
.why-choose {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 42, 35, 0.13), transparent 34%),
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.055), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(255, 42, 35, 0.10), transparent 30%),
    #141414;
  overflow: hidden;
}

.why-choose::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 42, 35, 0.13) 0 2px, transparent 2.7px),
    radial-gradient(circle at 30px 30px, rgba(255, 42, 35, 0.065) 0 1.5px, transparent 2.2px);
  background-size: 42px 42px;
  opacity: 0.36;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 88%, transparent 100%);
  animation: backgroundFloat 22s linear infinite;
  z-index: -2;
}

.why-choose::after {
  content: "+";
  position: absolute;
  left: 7%;
  top: 18%;
  color: rgba(255, 42, 35, 0.32);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    74vw 6vh 0 rgba(255, 42, 35, 0.24),
    18vw 48vh 0 rgba(255, 42, 35, 0.18),
    58vw 36vh 0 rgba(255, 42, 35, 0.20),
    82vw 50vh 0 rgba(255, 42, 35, 0.16);
  pointer-events: none;
  z-index: -1;
}

.why-heading {
  width: min(940px, 100%);
  margin-bottom: 40px;
}

.why-heading .kicker {
  color: #ff625b;
  margin-bottom: 18px;
}

.why-trust-badge {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 24px);
  border: 1px solid rgba(255, 42, 35, 0.26);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04)),
    rgba(20, 20, 20, 0.82);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.28),
    0 10px 28px rgba(255, 42, 35, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
}

.trust-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: #ffffff;
  text-shadow: 0 14px 34px rgba(255, 42, 35, 0.18);
}

.trust-copy {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
}

.why-lead {
  width: min(780px, 100%);
  margin: 20px auto 0 !important;
  color: rgba(255, 255, 255, 0.76) !important;
}

.why-grid.premium-feature-grid {
  width: min(1140px, 100%);
  gap: 18px;
}

.why-card {
  border-color: rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(24, 24, 24, 0.86);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 42, 35, 0.38);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    0 12px 34px rgba(255, 42, 35, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.why-icon {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 15px 30px rgba(255, 42, 35, 0.23);
}

.why-card h3 {
  color: #ffffff;
}

.why-card p {
  color: rgba(255, 255, 255, 0.73);
}

.why-card.feature-highlight {
  border-color: rgba(255, 42, 35, 0.42);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 42, 35, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(24, 24, 24, 0.9);
  box-shadow:
    0 26px 76px rgba(0, 0, 0, 0.34),
    0 14px 38px rgba(255, 42, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.why-card.feature-highlight .why-icon {
  background: #ffffff;
  color: var(--brand-red);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

@media (max-width: 900px) {
  .why-choose {
    padding-top: 74px;
  }

  .why-trust-badge {
    border-radius: 28px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .trust-copy {
    text-align: center;
  }

  .why-lead {
    margin-top: 16px !important;
    font-size: 0.96rem !important;
  }
}

/* v13: trust badge alignment + cleaner 150+ type + better prop glasses icon */
.why-trust-badge {
  min-height: 126px;
  justify-content: flex-start;
}

.trust-number {
  min-width: 170px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(3.25rem, 6.2vw, 4.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  transform: translateY(-2px);
}

.trust-copy {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.why-icon--glasses {
  overflow: hidden;
}

.why-icon--glasses .glasses-svg {
  width: 31px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .why-trust-badge {
    min-height: unset;
    justify-content: center;
  }

  .trust-number {
    min-width: 0;
    transform: none;
  }

  .trust-copy {
    min-height: 0;
  }
}

/* v15: updated package cards for Classic Strip, Stand-Up Premium, and 360 Video Booth */
.packages .section-heading {
  width: min(880px, 100%);
}

.packages .section-heading p {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.package-subtitle {
  margin: -6px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.6;
}

.package-card ul {
  flex: 1;
}

.package-card.featured {
  transform: translateY(-8px);
}

@media (max-width: 900px) {
  .package-card.featured {
    transform: none;
  }

  .package-subtitle {
    font-size: 0.92rem;
  }
}

/* v16: package card visuals + cleaner badge + equal bullet spacing */
.package-card {
  position: relative;
}

.package-card.featured {
  padding-top: 0;
}

.badge {
  position: absolute;
  top: -12px;
  right: 22px;
  margin-bottom: 0;
  padding: 5px 10px;
  min-height: 24px;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.package-print-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  margin: 2px 0 16px;
  padding: 2px 0;
}

.package-print-icon {
  display: block;
  width: auto;
  max-width: 130px;
  height: 84px;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.18));
}

.package-print-icon--print {
  max-width: 136px;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.package-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.62;
}

.package-card li::before {
  content: "✓";
  flex: 0 0 auto;
  margin-right: 0;
  line-height: 1.5;
}

.package-subtitle {
  min-height: 3em;
}

.package-link {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .package-card.featured {
    padding-top: 0;
  }

  .badge {
    top: -10px;
    right: 18px;
  }

  .package-print-visual {
    height: 82px;
    margin-bottom: 14px;
  }

  .package-print-icon {
    height: 74px;
    max-width: 118px;
  }

  .package-print-icon--print {
    max-width: 124px;
  }

  .package-subtitle {
    min-height: 0;
  }
}

/* v17: make the stand-up package more visually prominent and remove premium tag */
@media (min-width: 901px) {
  .packages .package-grid {
    grid-template-columns: 0.95fr 1.12fr 0.95fr;
    align-items: stretch;
  }

  .packages .package-card.featured {
    transform: translateY(-10px) scale(1.015);
    padding: 34px 32px 32px;
    z-index: 2;
  }

  .packages .package-card.featured h3 {
    font-size: 1.38rem;
  }

  .packages .package-card.featured .price {
    font-size: 1.28rem;
  }

  .packages .package-card.featured .package-print-visual {
    height: 98px;
    margin-bottom: 18px;
  }

  .packages .package-card.featured .package-print-icon--print {
    max-width: 148px;
    height: 90px;
  }
}

@media (max-width: 900px) {
  .packages .package-card.featured {
    transform: none;
    padding: 28px;
  }
}

/* v18: package spacing and icon cleanup */
.packages .package-grid {
  gap: 18px;
}

.package-card {
  padding: 28px 28px 26px;
}

.package-print-visual {
  height: 82px;
  margin: 0 0 14px;
}

.package-print-icon {
  max-width: 112px;
  height: 72px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.16));
}

.package-print-icon--print {
  max-width: 124px;
  height: 76px;
}

.package-print-icon--360 {
  max-width: 106px;
  height: 72px;
}

.package-card h3 {
  margin-bottom: 10px;
  line-height: 1.15;
}

.price {
  margin-bottom: 12px;
}

.package-subtitle {
  margin: 0 0 14px;
  min-height: 2.8em;
  line-height: 1.5;
}

.package-card ul {
  gap: 8px;
  margin-top: 0;
}

.package-card li {
  gap: 9px;
  line-height: 1.5;
}

.package-link {
  margin-top: 18px;
}

@media (min-width: 901px) {
  .packages .package-card.featured {
    transform: translateY(-8px) scale(1.012);
    padding: 30px 30px 28px;
  }

  .packages .package-card.featured .package-print-visual {
    height: 88px;
    margin-bottom: 16px;
  }

  .packages .package-card.featured .package-print-icon--print {
    max-width: 134px;
    height: 82px;
  }
}

@media (max-width: 900px) {
  .package-card {
    padding: 26px 24px 24px;
  }

  .package-print-visual {
    height: 76px;
    margin-bottom: 12px;
  }

  .package-print-icon {
    max-width: 104px;
    height: 66px;
  }

  .package-print-icon--print {
    max-width: 114px;
    height: 70px;
  }

  .package-print-icon--360 {
    max-width: 98px;
    height: 66px;
  }

  .package-subtitle {
    min-height: 0;
  }

  .packages .package-card.featured {
    padding: 26px 24px 24px;
  }
}

/* v19: premium inline package icon system */
.package-print-visual {
  height: 86px;
  margin: 0 0 16px;
}

.package-icon-shell {
  width: 112px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 30px rgba(0,0,0,0.18);
}

.package-print-icon {
  width: 88px;
  height: 60px;
  max-width: none;
  color: #ffffff;
  filter: none;
  overflow: visible;
}

.package-print-icon--print {
  width: 94px;
  height: 60px;
}

.package-print-icon--360 {
  width: 78px;
  height: 70px;
}

.package-card h3 {
  margin-bottom: 10px;
}

.package-subtitle {
  min-height: 2.8em;
}

.package-card ul {
  gap: 9px;
}

.package-card li {
  gap: 10px;
  line-height: 1.48;
}

@media (min-width: 901px) {
  .packages .package-card.featured .package-print-visual {
    height: 92px;
  }

  .packages .package-card.featured .package-icon-shell {
    width: 122px;
    height: 80px;
  }

  .packages .package-card.featured .package-print-icon--print {
    width: 102px;
    height: 64px;
  }
}

@media (max-width: 900px) {
  .package-print-visual {
    height: 78px;
    margin-bottom: 14px;
  }

  .package-icon-shell {
    width: 104px;
    height: 70px;
    border-radius: 20px;
  }

  .package-print-icon {
    width: 82px;
    height: 56px;
  }

  .package-print-icon--print {
    width: 88px;
    height: 56px;
  }

  .package-print-icon--360 {
    width: 72px;
    height: 64px;
  }
}

/* v20: integrate final package icon artwork without stretching */
.package-print-visual {
  height: 176px;
  margin: -10px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-icon-shell--image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.package-art {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
}

.package-art--strip {
  max-width: 152px;
  max-height: 152px;
}

.package-art--standup {
  max-width: 188px;
  max-height: 138px;
}

.package-art--360 {
  max-width: 160px;
  max-height: 160px;
}

.package-card h3 {
  margin-top: 0;
}

.package-subtitle {
  min-height: 3em;
}

@media (min-width: 901px) {
  .packages .package-card.featured .package-print-visual {
    height: 186px;
    margin-top: -14px;
    margin-bottom: 10px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 202px;
    max-height: 148px;
  }
}

@media (max-width: 900px) {
  .package-print-visual {
    height: 148px;
    margin: -6px 0 8px;
  }

  .package-art--strip {
    max-width: 132px;
    max-height: 132px;
  }

  .package-art--standup {
    max-width: 160px;
    max-height: 118px;
  }

  .package-art--360 {
    max-width: 136px;
    max-height: 136px;
  }

  .packages .package-card.featured .package-print-visual {
    height: 154px;
    margin-top: -6px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 166px;
    max-height: 122px;
  }
}

/* v22: make packages section fit better within a single desktop screen */
.packages {
  padding-top: clamp(54px, 7vw, 78px);
  padding-bottom: clamp(58px, 7vw, 82px);
}

.packages .section-heading {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.packages h2 {
  font-size: clamp(2.2rem, 4.15vw, 3.45rem);
  line-height: 1.03;
}

.packages .section-heading p {
  width: min(680px, 100%);
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.packages .package-grid {
  width: min(1040px, 100%);
  gap: 16px;
}

.packages .package-card {
  padding: 24px 24px 22px;
}

.packages .package-card.featured {
  transform: translateY(-6px) scale(1.006);
}

.packages .package-print-visual {
  height: 152px;
  margin: -8px 0 4px;
}

.packages .package-art--strip {
  max-width: 136px;
  max-height: 136px;
}

.packages .package-art--standup {
  max-width: 170px;
  max-height: 126px;
}

.packages .package-art--360 {
  max-width: 144px;
  max-height: 144px;
}

.packages .package-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.15;
}

.packages .package-card .price {
  margin-bottom: 8px;
  font-size: 1rem;
}

.packages .package-subtitle {
  margin: 0 0 12px;
  min-height: 2.7em;
  font-size: 0.98rem;
  line-height: 1.45;
}

.packages .package-card ul {
  gap: 6px;
}

.packages .package-card li {
  gap: 8px;
  line-height: 1.42;
}

.packages .package-link {
  margin-top: 14px;
}

@media (min-width: 901px) {
  .packages .package-card.featured .package-print-visual {
    height: 158px;
    margin-top: -10px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 178px;
    max-height: 132px;
  }
}

@media (max-width: 900px) {
  .packages {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .packages .section-heading {
    margin-bottom: 24px;
  }

  .packages .package-grid {
    gap: 14px;
  }

  .packages .package-card {
    padding: 22px 22px 20px;
  }

  .packages .package-print-visual {
    height: 138px;
    margin: -4px 0 4px;
  }

  .packages .package-art--strip {
    max-width: 122px;
    max-height: 122px;
  }

  .packages .package-art--standup {
    max-width: 152px;
    max-height: 112px;
  }

  .packages .package-art--360 {
    max-width: 128px;
    max-height: 128px;
  }

  .packages .package-card.featured .package-print-visual {
    height: 142px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 158px;
    max-height: 116px;
  }

  .packages .package-subtitle {
    min-height: 0;
  }
}

/* v23: equal bullet spacing across package cards + slightly smaller icons */
.packages .package-card {
  justify-content: flex-start;
}

.packages .package-card ul {
  flex: 0 0 auto !important;
  display: grid;
  align-content: start;
  grid-auto-rows: auto;
  gap: 7px;
  margin-top: 0;
  margin-bottom: 0;
}

.packages .package-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: start;
  line-height: 1.42;
}

.packages .package-card li::before {
  margin-right: 0;
  line-height: 1.42;
}

.packages .package-link {
  margin-top: 16px;
}

.packages .package-print-visual {
  height: 142px;
  margin: -6px 0 2px;
}

.packages .package-art--strip {
  max-width: 124px;
  max-height: 124px;
}

.packages .package-art--standup {
  max-width: 158px;
  max-height: 116px;
}

.packages .package-art--360 {
  max-width: 132px;
  max-height: 132px;
}

@media (min-width: 901px) {
  .packages .package-card.featured .package-print-visual {
    height: 148px;
    margin-top: -8px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 166px;
    max-height: 122px;
  }
}

@media (max-width: 900px) {
  .packages .package-print-visual {
    height: 128px;
    margin: -4px 0 2px;
  }

  .packages .package-art--strip {
    max-width: 112px;
    max-height: 112px;
  }

  .packages .package-art--standup {
    max-width: 142px;
    max-height: 104px;
  }

  .packages .package-art--360 {
    max-width: 118px;
    max-height: 118px;
  }

  .packages .package-card.featured .package-print-visual {
    height: 132px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 148px;
    max-height: 108px;
  }
}

/* v24: wider cards, more spacing, single packages CTA */
.packages .package-grid {
  width: min(1180px, 100%);
  gap: 24px;
}

@media (min-width: 901px) {
  .packages .package-grid {
    grid-template-columns: 1fr 1.08fr 1fr;
  }
}

.packages .package-card {
  padding: 24px 26px 24px;
}

.packages .package-card h3 {
  font-size: 1.14rem;
  white-space: nowrap;
}

.packages .package-card li {
  font-size: 0.965rem;
  white-space: nowrap;
}

.packages .package-subtitle {
  font-size: 0.965rem;
}

.packages .package-print-visual {
  height: 136px;
  margin: -6px 0 0;
}

.packages .package-art--strip {
  max-width: 116px;
  max-height: 116px;
}

.packages .package-art--standup {
  max-width: 148px;
  max-height: 108px;
}

.packages .package-art--360 {
  max-width: 124px;
  max-height: 124px;
}

.packages .package-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.packages .package-main-cta {
  min-width: 270px;
}

.packages .package-link {
  display: none;
}

@media (min-width: 901px) {
  .packages .package-card.featured {
    transform: translateY(-6px) scale(1.004);
  }

  .packages .package-card.featured .package-print-visual {
    height: 142px;
  }

  .packages .package-card.featured .package-art--standup {
    max-width: 154px;
    max-height: 112px;
  }
}

@media (max-width: 1100px) {
  .packages .package-card h3,
  .packages .package-card li {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .packages .package-grid {
    width: min(680px, 100%);
    gap: 16px;
  }

  .packages .package-card {
    padding: 22px 22px 20px;
  }

  .packages .package-print-visual {
    height: 130px;
  }

  .packages .package-art--strip {
    max-width: 112px;
    max-height: 112px;
  }

  .packages .package-art--standup {
    max-width: 142px;
    max-height: 104px;
  }

  .packages .package-art--360 {
    max-width: 118px;
    max-height: 118px;
  }

  .packages .package-cta-wrap {
    margin-top: 22px;
  }
}

/* v25: packages section styled like homepage */
.packages {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(255,255,255,0.96), rgba(250,250,250,0.98) 58%, #f5f5f5 100%);
}

.packages-pattern {
  position: absolute;
  inset: 50% 0 0;
  z-index: -3;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 42, 35, 0.085) 0 2.1px, transparent 2.8px),
    radial-gradient(circle at 30px 30px, rgba(255, 42, 35, 0.05) 0 1.6px, transparent 2.2px);
  background-size: 40px 40px;
  opacity: 0.45;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 88%, transparent 100%);
  animation: backgroundFloat 18s linear infinite;
}

.packages-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at -9% 56%, rgba(0, 0, 0, 0.02) 0 22%, transparent 22.2%),
    radial-gradient(circle at 109% 56%, rgba(0, 0, 0, 0.02) 0 22%, transparent 22.2%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.54), transparent 35%);
}

.packages-sparkles span {
  position: absolute;
  z-index: -1;
  width: 10px;
  height: 10px;
  background: transparent;
  opacity: 0.36;
  animation: sparkle 4.8s ease-in-out infinite;
}

.packages-sparkles span::before,
.packages-sparkles span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 42, 35, 0.55);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.packages-sparkles span::before { width: 10px; height: 1.5px; }
.packages-sparkles span::after { width: 1.5px; height: 10px; }

.packages-sparkles span:nth-child(1) { left: 8%; top: 16%; animation-delay: -0.2s; }
.packages-sparkles span:nth-child(2) { left: 22%; top: 28%; animation-delay: -1.1s; }
.packages-sparkles span:nth-child(3) { left: 37%; top: 18%; animation-delay: -1.8s; }
.packages-sparkles span:nth-child(4) { left: 79%; top: 20%; animation-delay: -2.6s; }
.packages-sparkles span:nth-child(5) { left: 91%; top: 31%; animation-delay: -3.2s; }
.packages-sparkles span:nth-child(6) { left: 12%; top: 64%; animation-delay: -4.1s; }
.packages-sparkles span:nth-child(7) { left: 28%; top: 79%; animation-delay: -0.7s; }
.packages-sparkles span:nth-child(8) { left: 49%; top: 72%; animation-delay: -1.9s; }
.packages-sparkles span:nth-child(9) { left: 67%; top: 82%; animation-delay: -2.8s; }
.packages-sparkles span:nth-child(10) { left: 84%; top: 73%; animation-delay: -3.9s; }
.packages-sparkles span:nth-child(11) { left: 58%; top: 34%; animation-delay: -4.5s; }
.packages-sparkles span:nth-child(12) { left: 71%; top: 56%; animation-delay: -1.4s; }

.packages .kicker,
.packages .section-heading p,
.packages .section h2,
.packages h2 {
  position: relative;
  z-index: 1;
}

.packages .kicker {
  color: var(--brand-red);
}

.packages h2 {
  color: var(--ink);
}

.packages .section-heading p {
  color: #555555;
}

.packages .package-card {
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.88));
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(8px);
}

.packages .package-card.featured {
  border-color: rgba(255, 42, 35, 0.38);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.09), 0 0 0 1px rgba(255, 42, 35, 0.08);
}

.packages .package-card h3 {
  color: var(--ink);
}

.packages .package-card .price {
  color: var(--brand-red-dark);
}

.packages .package-subtitle,
.packages .package-card li {
  color: #525252;
}

.packages .package-card li::before {
  color: var(--brand-red);
}

.packages .package-main-cta {
  box-shadow: 0 14px 30px rgba(255, 42, 35, 0.18);
}

/* v26: keep packages background white, revert package cards to premium dark grey */
.packages .package-card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    #242424;
  box-shadow:
    0 18px 44px rgba(17, 17, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.packages .package-card.featured {
  border-color: rgba(255, 42, 35, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032)),
    #242424;
  box-shadow:
    0 20px 50px rgba(17, 17, 17, 0.18),
    0 0 0 1px rgba(255, 42, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.packages .package-card h3 {
  color: #ffffff;
}

.packages .package-subtitle,
.packages .package-card li {
  color: rgba(255, 255, 255, 0.74);
}

.packages .package-card .price,
.packages .package-card li::before {
  color: #ff776f;
}

.packages .package-art {
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.25));
}

/* v27: match Packages background exactly to the homepage white hero */
.packages {
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.92), rgba(250, 250, 250, 0.98) 58%, #f5f5f5 100%);
}

.packages-pattern {
  inset: 58% 0 0;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 42, 35, 0.095) 0 2.2px, transparent 2.8px),
    radial-gradient(circle at 30px 30px, rgba(255, 42, 35, 0.055) 0 1.7px, transparent 2.3px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 86%, transparent 100%);
  animation: backgroundFloat 18s linear infinite;
}

.packages-vignette {
  background:
    radial-gradient(circle at -9% 56%, rgba(0, 0, 0, 0.024) 0 22%, transparent 22.2%),
    radial-gradient(circle at 109% 56%, rgba(0, 0, 0, 0.024) 0 22%, transparent 22.2%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.58), transparent 35%);
}

/* v28: force Packages section to use the same white background as the homepage.
   This uses higher specificity than .section:nth-of-type(odd), which was keeping the dark grey background. */
section#packages.section.packages {
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.92), rgba(250, 250, 250, 0.98) 58%, #f5f5f5 100%);
  color: var(--ink);
}

section#packages.section.packages .packages-pattern {
  inset: 58% 0 0;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 42, 35, 0.095) 0 2.2px, transparent 2.8px),
    radial-gradient(circle at 30px 30px, rgba(255, 42, 35, 0.055) 0 1.7px, transparent 2.3px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 86%, transparent 100%);
  animation: backgroundFloat 18s linear infinite;
}

section#packages.section.packages .packages-vignette {
  background:
    radial-gradient(circle at -9% 56%, rgba(0, 0, 0, 0.024) 0 22%, transparent 22.2%),
    radial-gradient(circle at 109% 56%, rgba(0, 0, 0, 0.024) 0 22%, transparent 22.2%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.58), transparent 35%);
}


/* v29: restore faint animated red lighting accents in the white Packages section */
@keyframes packagesRedPulse {
  0%, 100% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(0, 6px, 0) scale(1.04);
  }
}

section#packages.section.packages::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: -4%;
  height: 52%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 42, 35, 0.12) 0, rgba(255, 42, 35, 0.07) 14%, rgba(255, 42, 35, 0.03) 26%, transparent 48%),
    radial-gradient(circle at 18% 58%, rgba(255, 42, 35, 0.045) 0, transparent 22%),
    radial-gradient(circle at 82% 58%, rgba(255, 42, 35, 0.045) 0, transparent 22%);
  filter: blur(10px);
  animation: packagesRedPulse 10s ease-in-out infinite;
}

section#packages.section.packages .packages-vignette {
  background:
    radial-gradient(circle at -9% 56%, rgba(255, 42, 35, 0.04) 0 20%, transparent 20.25%),
    radial-gradient(circle at 109% 56%, rgba(255, 42, 35, 0.04) 0 20%, transparent 20.25%),
    radial-gradient(circle at 50% 6%, rgba(255, 42, 35, 0.085) 0, rgba(255, 42, 35, 0.02) 22%, transparent 40%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.6), transparent 35%);
}

section#packages.section.packages .packages-pattern {
  opacity: 0.42;
}

section#packages.section.packages .packages-sparkles span {
  opacity: 0.42;
}

section#packages.section.packages .packages-sparkles span::before,
section#packages.section.packages .packages-sparkles span::after {
  background: rgba(255, 42, 35, 0.48);
}


/* v30: package spacing + clean heading area */
section#packages.section.packages .section-heading {
  position: relative;
  z-index: 4;
}

section#packages.section.packages h2 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  overflow: visible;
  padding-bottom: 0.08em;
}

/* Fix visual breathing room between package artwork and titles */
section#packages.section.packages .package-card:not(.featured) .package-print-visual {
  margin-bottom: 18px;
}

section#packages.section.packages .package-card:not(.featured) h3 {
  margin-top: 0;
}

/* Keep the animated pluses away from the heading/text area */
section#packages.section.packages .packages-sparkles {
  z-index: 0;
  pointer-events: none;
}

section#packages.section.packages .packages-sparkles span:nth-child(1) { left: 7%; top: 25%; }
section#packages.section.packages .packages-sparkles span:nth-child(2) { left: 20%; top: 38%; }
section#packages.section.packages .packages-sparkles span:nth-child(3) { left: 33%; top: 86%; }
section#packages.section.packages .packages-sparkles span:nth-child(4) { left: 78%; top: 31%; }
section#packages.section.packages .packages-sparkles span:nth-child(5) { left: 92%; top: 41%; }
section#packages.section.packages .packages-sparkles span:nth-child(6) { left: 10%; top: 69%; }
section#packages.section.packages .packages-sparkles span:nth-child(7) { left: 24%; top: 88%; }
section#packages.section.packages .packages-sparkles span:nth-child(8) { left: 48%; top: 82%; }
section#packages.section.packages .packages-sparkles span:nth-child(9) { left: 68%; top: 88%; }
section#packages.section.packages .packages-sparkles span:nth-child(10) { left: 85%; top: 75%; }
section#packages.section.packages .packages-sparkles span:nth-child(11) { left: 58%; top: 90%; }
section#packages.section.packages .packages-sparkles span:nth-child(12) { left: 72%; top: 62%; }

@media (max-width: 760px) {
  section#packages.section.packages h2 {
    line-height: 1.12;
    letter-spacing: -0.018em;
  }

  section#packages.section.packages .package-card:not(.featured) .package-print-visual {
    margin-bottom: 14px;
  }
}


/* v31: instant price configurator */
.quote-builder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.98) 58%, #f5f5f5 100%);
}

.quote-builder-pattern {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 42, 35, 0.075) 0 2px, transparent 2.7px),
    radial-gradient(circle at 34px 34px, rgba(255, 42, 35, 0.038) 0 1.5px, transparent 2.2px);
  background-size: 46px 46px;
  opacity: 0.38;
  mask-image: linear-gradient(to bottom, transparent 0, black 20%, black 88%, transparent 100%);
  animation: backgroundFloat 20s linear infinite;
}

.quote-builder-glow {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -6%;
  height: 50%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 42, 35, 0.09) 0, rgba(255, 42, 35, 0.045) 18%, transparent 46%),
    radial-gradient(circle at 16% 60%, rgba(255, 42, 35, 0.035) 0, transparent 22%),
    radial-gradient(circle at 84% 60%, rgba(255, 42, 35, 0.035) 0, transparent 22%);
  filter: blur(8px);
  animation: packagesRedPulse 11s ease-in-out infinite;
}

.quote-builder-heading {
  position: relative;
  z-index: 2;
}

.quote-builder-heading h2 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
}

.quote-builder-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.quote-form,
.quote-summary {
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(12px);
}

.quote-form {
  padding: 24px;
}

.quote-step + .quote-step {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.quote-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.quote-step-head--compact {
  margin-bottom: 14px;
}

.quote-step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 15px;
  background: rgba(255, 42, 35, 0.11);
  color: var(--brand-red-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.quote-step h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.quote-step p {
  margin: 0;
  color: #696969;
  font-size: 0.94rem;
  line-height: 1.45;
}

.quote-options {
  display: grid;
  gap: 12px;
}

.quote-options--packages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-package-option {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-package-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
}

.quote-package-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-package-option:has(input:checked) {
  border-color: rgba(255, 42, 35, 0.5);
  box-shadow: 0 16px 36px rgba(255, 42, 35, 0.12);
}

.quote-package-option:has(input:checked)::after {
  content: "Selected";
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 42, 35, 0.11);
  color: var(--brand-red-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.quote-package-option span {
  display: grid;
  gap: 5px;
  padding-top: 18px;
}

.quote-package-option strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.quote-package-option small {
  color: #666;
  font-size: 0.84rem;
}

.quote-package-option b {
  align-self: end;
  color: var(--brand-red-dark);
  font-size: 1rem;
}

.quote-step--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quote-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.11);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.quote-field select:focus {
  border-color: rgba(255, 42, 35, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 42, 35, 0.08);
}

.quote-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-addons label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.quote-addons input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-red);
}

.quote-addons span {
  font-weight: 750;
  font-size: 0.92rem;
}

.quote-addons b {
  color: var(--brand-red-dark);
  font-size: 0.86rem;
  white-space: nowrap;
}

.quote-summary {
  position: sticky;
  top: 96px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    #242424;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow:
    0 24px 58px rgba(17, 17, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quote-summary-kicker {
  display: block;
  color: #ff8b84;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-total {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.quote-note {
  margin: 14px 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.quote-breakdown {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-breakdown p {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  margin: 0;
  align-items: start;
}

.quote-breakdown span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-breakdown strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.35;
}

.quote-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(255, 42, 35, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quote-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 42, 35, 0.3);
}

@media (max-width: 980px) {
  .quote-builder-shell {
    grid-template-columns: 1fr;
  }

  .quote-summary {
    position: relative;
    top: auto;
  }

  .quote-step--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quote-builder-shell {
    width: min(100% - 24px, 540px);
    gap: 16px;
  }

  .quote-form,
  .quote-summary {
    border-radius: 24px;
  }

  .quote-form {
    padding: 18px;
  }

  .quote-options--packages,
  .quote-step--grid,
  .quote-addons {
    grid-template-columns: 1fr;
  }

  .quote-package-option {
    min-height: 128px;
  }

  .quote-builder-heading h2 {
    line-height: 1.12;
    letter-spacing: -0.018em;
  }
}


/* v32: two-step estimator + discounted combo packages */
.quote-progress {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.quote-progress span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.055);
  color: #666;
  font-size: 0.8rem;
  font-weight: 850;
}

.quote-progress span.is-active {
  background: rgba(255, 42, 35, 0.11);
  color: var(--brand-red-dark);
}

.quote-options--packages {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quote-package-option {
  min-height: 165px;
}

.quote-package-option--combo {
  background:
    linear-gradient(180deg, rgba(255, 42, 35, 0.085), rgba(255, 255, 255, 0.82)),
    #fff;
}

.quote-package-option--combo em {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 42, 35, 0.12);
  color: var(--brand-red-dark);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.quote-package-option b {
  display: grid;
  gap: 3px;
}

.quote-package-option b small {
  color: #38a169;
  font-size: 0.76rem;
  font-weight: 900;
}

.quote-combo-saving {
  display: inline-flex;
  margin: 12px 0 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(56, 161, 105, 0.13);
  color: #89e0ad;
  font-size: 0.86rem;
  font-weight: 900;
}

.quote-check-button {
  width: 100%;
  min-height: 54px;
  margin-bottom: 12px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quote-check-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.quote-availability {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.quote-availability.is-open {
  animation: revealAvailability 0.35s ease both;
}

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

.quote-availability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.11);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.quote-field input:focus {
  border-color: rgba(255, 42, 35, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 42, 35, 0.08);
}

.quote-field--wide {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .quote-options--packages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quote-options--packages,
  .quote-availability-grid {
    grid-template-columns: 1fr;
  }

  .quote-package-option {
    min-height: 132px;
  }

  .quote-field--wide {
    grid-column: auto;
  }
}


/* v33: package cards become selectors with subtle combo encouragement */
section#packages.section.packages {
  padding-bottom: clamp(46px, 6vw, 76px);
}

section#packages.section.packages .package-grid {
  position: relative;
  z-index: 3;
}

section#packages.section.packages .package-card[data-package-card] {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

section#packages.section.packages .package-card[data-package-card]:focus-visible {
  outline: 4px solid rgba(255, 42, 35, 0.24);
  outline-offset: 5px;
}

section#packages.section.packages .package-card[data-package-card]:hover {
  transform: translateY(-5px);
}

.package-select-badge,
.package-combo-hint {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.package-select-badge {
  top: 16px;
  right: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.package-combo-hint {
  left: 50%;
  bottom: 16px;
  width: calc(100% - 32px);
  transform: translateX(-50%);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 42, 35, 0.11);
  border: 1px solid rgba(255, 42, 35, 0.22);
  color: #ffaaa4;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

section#packages.section.packages .package-card.is-selected {
  opacity: 1;
  filter: none;
  border-color: rgba(255, 42, 35, 0.72);
  box-shadow:
    0 26px 62px rgba(255, 42, 35, 0.17),
    0 0 0 1px rgba(255, 42, 35, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

section#packages.section.packages .package-card.is-selected .package-select-badge {
  opacity: 1;
  transform: translateY(0);
}

section#packages.section.packages .package-card.is-muted {
  opacity: 0.52;
  filter: saturate(0.55);
  transform: scale(0.985);
}

section#packages.section.packages .package-card.is-muted:hover {
  opacity: 0.78;
  filter: saturate(0.85);
  transform: translateY(-3px) scale(0.995);
}

section#packages.section.packages .package-card.is-combo-suggested {
  opacity: 1;
  filter: none;
  border-color: rgba(255, 42, 35, 0.54);
  box-shadow:
    0 24px 58px rgba(255, 42, 35, 0.13),
    0 0 0 1px rgba(255, 42, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

section#packages.section.packages .package-card.is-combo-suggested::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 42, 35, 0.22);
  box-shadow: 0 0 34px rgba(255, 42, 35, 0.16);
  animation: comboGlowBreath 2.8s ease-in-out infinite;
}

@keyframes comboGlowBreath {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

section#packages.section.packages .package-card.is-combo-added {
  border-color: rgba(255, 42, 35, 0.82);
  box-shadow:
    0 26px 62px rgba(255, 42, 35, 0.2),
    0 0 0 1px rgba(255, 42, 35, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

section#packages.section.packages .package-card.is-combo-added .package-select-badge {
  opacity: 1;
  transform: translateY(0);
}

section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
  opacity: 1;
  color: #8df0b5;
  background: rgba(56, 161, 105, 0.12);
  border-color: rgba(56, 161, 105, 0.26);
}

.selected-package-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 42, 35, 0.16);
  background:
    radial-gradient(circle at 0 0, rgba(255, 42, 35, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.82);
}

.selected-package-panel span {
  display: block;
  color: var(--brand-red-dark);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.selected-package-panel strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.selected-package-panel small {
  display: block;
  margin-top: 4px;
  color: #666;
  line-height: 1.35;
}

.selected-package-panel a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  background: #242424;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
}

.quote-step--no-border {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.quote-options--packages {
  display: none;
}

@media (max-width: 760px) {
  .package-combo-hint {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    transform: none;
    margin: 10px 0 0;
    display: block;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    transform: none;
  }

  .selected-package-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v34: no package selected by default + 360 can stand alone */
.quote-check-button.is-disabled,
.quote-check-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.quote-check-button.is-disabled:hover,
.quote-check-button:disabled:hover {
  transform: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

section#packages.section.packages .package-card.is-combo-suggested[data-package-key="360"] .package-combo-hint::after {
  content: "";
}


/* v35: make the under-150-guest starting price condition clear */
.package-price-note {
  margin: -6px 0 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

section#packages.section.packages .package-card .package-price-note {
  color: rgba(255, 255, 255, 0.58);
}

section#packages.section.packages .package-card.is-selected .package-price-note,
section#packages.section.packages .package-card.is-combo-suggested .package-price-note,
section#packages.section.packages .package-card.is-combo-added .package-price-note {
  color: rgba(255, 255, 255, 0.68);
}

.quote-note strong {
  color: #ffffff;
}

@media (max-width: 760px) {
  .package-price-note {
    margin-top: -4px;
    font-size: 0.76rem;
  }
}


/* v37: estimate card sits beside the package cards */
.packages-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.34fr);
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 3;
}

section#packages.section.packages .packages-layout .package-grid {
  width: 100%;
  margin: 0;
}

.package-side-summary {
  position: sticky;
  top: 94px;
}

.quote-builder-shell {
  grid-template-columns: 1fr;
  width: min(860px, calc(100% - 36px));
}

.quote-form {
  width: 100%;
}

.quote-availability {
  display: block;
}

.quote-whatsapp.is-disabled,
.quote-whatsapp[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.25);
}

.quote-whatsapp:not(.is-disabled) {
  pointer-events: auto;
}

.quote-progress span:nth-child(2) {
  background: rgba(17, 17, 17, 0.055);
  color: #666;
}

@media (max-width: 1060px) {
  .packages-layout {
    grid-template-columns: 1fr;
  }

  .package-side-summary {
    position: relative;
    top: auto;
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .packages-layout,
  .quote-builder-shell {
    width: min(100% - 24px, 540px);
  }
}


/* v38: keep package cards clearly on the left and estimate card on the right */
.packages-layout {
  width: min(1380px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

section#packages.section.packages .packages-layout .package-grid {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-self: start;
}

.package-side-summary {
  width: 100%;
  min-width: 0;
  max-width: 330px;
  justify-self: end;
  position: sticky;
  top: 94px;
  z-index: 2;
}

.package-side-summary::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 12%,
    rgba(255, 42, 35, 0.20) 45%,
    rgba(255, 255, 255, 0.08) 88%,
    transparent 100%
  );
  pointer-events: none;
}

section#packages.section.packages .package-card {
  min-width: 0;
}

section#packages.section.packages .package-card h3 {
  line-height: 1.16;
}

section#packages.section.packages .package-card .package-subtitle {
  line-height: 1.45;
}

@media (max-width: 1240px) {
  .packages-layout {
    width: min(1280px, calc(100% - 36px));
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 26px;
  }

  section#packages.section.packages .packages-layout .package-grid {
    gap: 16px;
  }

  section#packages.section.packages .package-card {
    padding: 24px;
  }
}

@media (max-width: 1060px) {
  .packages-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .package-side-summary {
    max-width: 620px;
    justify-self: center;
    position: relative;
    top: auto;
  }

  .package-side-summary::before {
    display: none;
  }
}


/* v39: push package group left, make Classic slightly roomier, and contain card text */
.packages-layout {
  width: min(1440px, calc(100% - 56px));
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  transform: translateX(-18px);
}

section#packages.section.packages .packages-layout .package-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr);
}

section#packages.section.packages .package-card {
  overflow: hidden;
}

section#packages.section.packages .package-card h3,
section#packages.section.packages .package-card p,
section#packages.section.packages .package-card li {
  max-width: 100%;
}

section#packages.section.packages .package-card h3 {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-size: clamp(1.1rem, 1.25vw, 1.32rem);
}

section#packages.section.packages .package-card .price {
  white-space: normal;
}

section#packages.section.packages .package-card .package-subtitle,
section#packages.section.packages .package-card li,
section#packages.section.packages .package-price-note {
  overflow-wrap: break-word;
}

@media (max-width: 1240px) {
  .packages-layout {
    transform: none;
    width: min(1320px, calc(100% - 36px));
  }

  section#packages.section.packages .package-card h3 {
    font-size: clamp(1.02rem, 1.1vw, 1.18rem);
    letter-spacing: -0.03em;
  }
}

@media (max-width: 1060px) {
  .packages-layout {
    transform: none;
  }

  section#packages.section.packages .packages-layout .package-grid {
    grid-template-columns: 1fr;
  }
}


/* v40: make Stand-Up slightly larger and improve text containment */
.packages-layout {
  transform: translateX(-12px);
}

section#packages.section.packages .packages-layout .package-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.12fr) minmax(0, 0.98fr);
  gap: 20px;
}

section#packages.section.packages .package-card[data-package-key="standup"] {
  padding-inline: 30px;
}

section#packages.section.packages .package-card h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
  hyphens: auto;
}

section#packages.section.packages .package-card[data-package-key="standup"] h3 {
  font-size: clamp(1.12rem, 1.28vw, 1.34rem);
  line-height: 1.1;
}

section#packages.section.packages .package-card[data-package-key="360"] h3 {
  max-width: 96%;
}

section#packages.section.packages .package-card .package-subtitle,
section#packages.section.packages .package-card li,
section#packages.section.packages .package-card .price,
section#packages.section.packages .package-card .package-price-note {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 1240px) {
  section#packages.section.packages .packages-layout .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] {
    padding-inline: 26px;
  }
}


/* v50: reset package cards to a cleaner balanced look */
@media (min-width: 1061px) {
  .packages-layout {
    width: min(1360px, calc(100% - 52px));
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    transform: none;
    align-items: start;
  }

  section#packages.section.packages .packages-layout .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding-bottom: 0;
  }

  section#packages.section.packages .package-card {
    min-height: 560px;
    height: auto;
    padding: 28px;
    overflow: hidden;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] {
    padding-inline: 28px;
  }

  section#packages.section.packages .package-card h3 {
    font-size: clamp(1.08rem, 1.15vw, 1.28rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
    overflow-wrap: normal;
  }

  section#packages.section.packages .package-card .package-subtitle {
    line-height: 1.45;
  }

  .package-side-summary {
    max-width: 320px;
    position: sticky;
    top: 94px;
  }

  .package-side-summary.quote-summary {
    min-height: 560px;
    height: auto;
    padding: 24px;
    display: block;
    overflow: visible;
  }

  .quote-total {
    min-height: auto;
    height: auto;
    margin-top: 10px;
    display: block;
    font-size: clamp(2.2rem, 3.3vw, 3rem);
    line-height: 0.98;
  }

  .quote-combo-saving,
  #quoteComboSaving {
    min-height: auto;
    height: auto;
    margin: 12px 0 0;
  }

  .quote-combo-saving[hidden],
  #quoteComboSaving[hidden] {
    display: none !important;
  }

  .quote-note {
    min-height: auto;
    height: auto;
    margin: 16px 0 20px;
  }

  .quote-breakdown {
    min-height: auto;
    height: auto;
    margin: 0 0 20px;
  }

  .quote-whatsapp {
    margin-top: 0;
  }

  .package-combo-hint {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    width: auto;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 42, 35, 0.10);
    border: 1px solid rgba(255, 42, 35, 0.22);
    color: #ffaaa4;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    box-shadow: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .package-combo-hint::before,
  .package-combo-hint::after {
    display: none;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    opacity: 1;
    transform: translateY(0);
  }

  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    background: rgba(56, 161, 105, 0.12);
    border-color: rgba(56, 161, 105, 0.26);
    color: #8df0b5;
  }
}

@media (max-width: 1060px) {
  .packages-layout {
    transform: none;
  }

  section#packages.section.packages .package-card,
  .package-side-summary.quote-summary {
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .package-combo-hint {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
    transform: none;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    transform: none;
  }
}


/* v51: stable equal-card layout for package selector + estimate card */
@media (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: 620px;
    --estimate-card-width: 330px;
  }

  .packages-layout {
    width: min(1380px, calc(100% - 52px));
    grid-template-columns: minmax(0, 1fr) var(--estimate-card-width);
    gap: 34px;
    align-items: stretch;
    transform: none;
  }

  section#packages.section.packages .packages-layout .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding-bottom: 0;
  }

  section#packages.section.packages .package-card,
  .package-side-summary.quote-summary {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    box-sizing: border-box;
  }

  section#packages.section.packages .package-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px 28px 74px;
  }

  section#packages.section.packages .package-print-visual {
    flex: 0 0 auto;
  }

  section#packages.section.packages .package-card h3 {
    flex: 0 0 auto;
    font-size: clamp(1.08rem, 1.12vw, 1.26rem);
    line-height: 1.14;
    letter-spacing: -0.026em;
    max-width: 100%;
    overflow-wrap: normal;
  }

  section#packages.section.packages .package-card .price,
  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-subtitle {
    flex: 0 0 auto;
  }

  section#packages.section.packages .package-card ul {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
  }

  section#packages.section.packages .package-card li {
    line-height: 1.45;
  }

  .package-combo-hint {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    width: auto;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 42, 35, 0.10);
    border: 1px solid rgba(255, 42, 35, 0.22);
    color: #ffaaa4;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    box-shadow: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .package-combo-hint::before,
  .package-combo-hint::after {
    display: none !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    opacity: 1;
    transform: translateY(0);
  }

  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    background: rgba(56, 161, 105, 0.12);
    border-color: rgba(56, 161, 105, 0.26);
    color: #8df0b5;
  }

  .package-side-summary.quote-summary {
    width: var(--estimate-card-width);
    max-width: var(--estimate-card-width);
    justify-self: end;
    position: sticky;
    top: 94px;
    display: flex !important;
    flex-direction: column;
    padding: 24px;
    overflow: hidden;
  }

  .package-side-summary .quote-summary-kicker {
    flex: 0 0 18px;
    margin: 0 0 8px;
    line-height: 1.1;
  }

  .package-side-summary .quote-total {
    flex: 0 0 106px;
    min-height: 106px;
    height: 106px;
    margin: 0;
    display: flex;
    align-items: flex-start;
    font-size: clamp(2.35rem, 3.05vw, 2.95rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    overflow: hidden;
  }

  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving,
  .package-side-summary .quote-combo-saving[hidden],
  .package-side-summary #quoteComboSaving[hidden] {
    flex: 0 0 32px;
    min-height: 32px;
    height: 32px;
    margin: 0 0 12px;
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .package-side-summary .quote-combo-saving[hidden],
  .package-side-summary #quoteComboSaving[hidden] {
    visibility: hidden;
  }

  .package-side-summary .quote-note {
    flex: 0 0 104px;
    min-height: 104px;
    height: 104px;
    margin: 0 0 12px;
    font-size: 0.87rem;
    line-height: 1.38;
    overflow: hidden;
  }

  .package-side-summary .quote-breakdown {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 12px 0;
    display: grid;
    align-content: start;
    gap: 8px;
    overflow: hidden;
  }

  .package-side-summary .quote-breakdown p {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    align-items: start;
  }

  .package-side-summary .quote-breakdown span {
    font-size: 0.77rem;
    line-height: 1.22;
  }

  .package-side-summary .quote-breakdown strong {
    font-size: 0.82rem;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .package-side-summary .quote-whatsapp {
    flex: 0 0 58px;
    height: 58px;
    min-height: 58px;
    margin-top: 14px !important;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    text-align: center;
    line-height: 1.15;
    box-sizing: border-box;
  }

  .package-side-summary .quote-whatsapp.is-disabled,
  .package-side-summary .quote-whatsapp[aria-disabled="true"] {
    display: flex;
  }
}

@media (max-width: 1240px) and (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: 650px;
    --estimate-card-width: 320px;
  }

  .packages-layout {
    width: min(1280px, calc(100% - 36px));
    gap: 26px;
  }

  section#packages.section.packages .package-card {
    padding: 24px 24px 72px;
  }

  .package-side-summary.quote-summary {
    padding: 22px;
  }

  .package-side-summary .quote-total {
    font-size: clamp(2.16rem, 2.75vw, 2.65rem);
  }

  .package-side-summary .quote-note {
    flex-basis: 114px;
    min-height: 114px;
    height: 114px;
  }
}

@media (max-width: 1060px) {
  section#packages.section.packages .package-card,
  .package-side-summary.quote-summary {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .package-side-summary.quote-summary {
    width: 100%;
    max-width: 620px;
    display: flex !important;
    flex-direction: column;
    overflow: visible;
  }

  .package-side-summary .quote-total,
  .package-side-summary .quote-note,
  .package-side-summary .quote-breakdown,
  .package-side-summary .quote-whatsapp {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .package-side-summary .quote-combo-saving[hidden],
  .package-side-summary #quoteComboSaving[hidden] {
    display: none !important;
  }
}


/* v52: keep savings badge close to actual price while preserving stable card height */
@media (min-width: 1061px) {
  .package-side-summary.quote-summary.has-package .quote-total {
    flex-basis: 70px;
    min-height: 70px;
    height: 70px;
    margin-bottom: 0;
  }

  .package-side-summary.quote-summary.has-package .quote-combo-saving,
  .package-side-summary.quote-summary.has-package #quoteComboSaving,
  .package-side-summary.quote-summary.has-package .quote-combo-saving[hidden],
  .package-side-summary.quote-summary.has-package #quoteComboSaving[hidden] {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .package-side-summary.quote-summary:not(.has-package) .quote-total {
    flex-basis: 106px;
    min-height: 106px;
    height: 106px;
  }

  .package-side-summary.quote-summary:not(.has-package) .quote-combo-saving,
  .package-side-summary.quote-summary:not(.has-package) #quoteComboSaving {
    visibility: hidden;
  }

  .package-side-summary.quote-summary.has-package .quote-note {
    flex-basis: 104px;
    min-height: 104px;
    height: 104px;
  }

  .package-side-summary.quote-summary.has-package .quote-breakdown {
    padding-top: 12px;
  }
}

@media (max-width: 1240px) and (min-width: 1061px) {
  .package-side-summary.quote-summary.has-package .quote-total {
    flex-basis: 66px;
    min-height: 66px;
    height: 66px;
  }
}


/* v53: visual refinement for estimate card + selected state */
@media (min-width: 1061px) {
  /* Make the estimate card look more distinct from the package cards */
  .package-side-summary.quote-summary {
    background:
      radial-gradient(circle at top left, rgba(255, 42, 35, 0.12), transparent 34%),
      radial-gradient(circle at bottom right, rgba(255, 42, 35, 0.08), transparent 28%),
      linear-gradient(180deg, rgba(40, 41, 45, 0.98), rgba(24, 25, 29, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 28px 54px rgba(17, 17, 17, 0.24),
      0 0 0 1px rgba(255, 42, 35, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: sticky;
    overflow: hidden;
  }

  .package-side-summary.quote-summary::before {
    content: "";
    position: absolute;
    inset: 14px 14px auto 14px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 42, 35, 0.4), rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
  }

  .package-side-summary .quote-summary-kicker {
    color: #ff8b84;
  }

  /* Give package cards a little more top breathing room */
  section#packages.section.packages .package-card {
    padding-top: 34px;
    overflow: visible;
  }

  /* Move badge away from the artwork by floating it above the card edge */
  .package-select-badge {
    top: -14px;
    right: 18px;
    padding: 8px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    box-shadow:
      0 12px 24px rgba(255, 42, 35, 0.22),
      0 0 0 4px rgba(255, 246, 245, 0.82);
  }

  /* Make selected vs added more obvious */
  section#packages.section.packages .package-card.is-selected {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 35, 0.84);
    box-shadow:
      0 30px 70px rgba(255, 42, 35, 0.2),
      0 0 0 2px rgba(255, 42, 35, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  section#packages.section.packages .package-card.is-selected::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    border: 1px solid rgba(255, 42, 35, 0.22);
    box-shadow: 0 0 34px rgba(255, 42, 35, 0.14);
    pointer-events: none;
  }

  section#packages.section.packages .package-card.is-combo-added {
    transform: translateY(-2px);
    border-color: rgba(56, 161, 105, 0.78);
    box-shadow:
      0 28px 66px rgba(56, 161, 105, 0.16),
      0 0 0 1px rgba(56, 161, 105, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    background: linear-gradient(180deg, #3fcb79, #228b54);
    box-shadow:
      0 12px 24px rgba(56, 161, 105, 0.22),
      0 0 0 4px rgba(244, 255, 248, 0.84);
  }

  /* Slightly calmer muted cards so selected state reads more clearly */
  section#packages.section.packages .package-card.is-muted {
    opacity: 0.44;
    filter: saturate(0.45);
    transform: scale(0.988);
  }

  .package-combo-hint {
    bottom: 14px;
  }
}

@media (max-width: 1060px) {
  .package-select-badge {
    top: 14px;
    right: 14px;
    box-shadow: 0 10px 18px rgba(255, 42, 35, 0.18);
  }

  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    box-shadow: 0 10px 18px rgba(56, 161, 105, 0.18);
  }
}


/* v55: keep price card sticky while event details/add-ons sit directly under package cards */
@media (min-width: 1061px) {
  .packages-layout {
    align-items: start;
  }

  .packages-left-column {
    min-width: 0;
    display: grid;
    gap: 28px;
  }

  section#packages.section.packages .packages-left-column .package-grid {
    width: 100%;
    margin: 0;
  }

  .inline-configurator {
    width: 100%;
  }

  .inline-quote-form {
    border-radius: 32px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 42, 35, 0.07), transparent 34%),
      rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(12px);
  }

  .package-side-summary.quote-summary {
    position: sticky;
    top: 92px;
  }

  section#packages.section.packages {
    padding-bottom: clamp(72px, 8vw, 116px);
  }

  .selected-package-panel {
    margin-bottom: 22px;
  }

  .inline-quote-form .quote-step--no-border {
    margin-top: 0;
  }

  .inline-quote-form .quote-availability {
    margin-top: 22px;
  }
}

@media (max-width: 1060px) {
  .packages-left-column {
    display: grid;
    gap: 20px;
  }

  .inline-configurator {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .inline-quote-form {
    border-radius: 24px;
  }

  .package-side-summary.quote-summary {
    position: relative;
    top: auto;
  }
}


/* v56: fix sticky price card inside Packages section */
@media (min-width: 1061px) {
  /* position: sticky does not work correctly when a parent has overflow hidden.
     The Packages section previously used overflow hidden for background decoration,
     so we allow visible overflow and keep the decorative layers non-interactive. */
  section#packages.section.packages,
  .packages {
    overflow: visible !important;
  }

  .packages-layout,
  .packages-left-column,
  .inline-configurator {
    overflow: visible !important;
  }

  .packages-pattern,
  .packages-vignette,
  .packages-sparkles {
    pointer-events: none;
  }

  .package-side-summary.quote-summary {
    position: sticky !important;
    top: 92px !important;
    align-self: start;
    z-index: 6;
  }
}


/* v69: remove broken combo trays/pills and return to clean stable cards */
@media (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: 620px;
  }

  section#packages.section.packages .packages-layout .package-grid {
    align-items: stretch;
    padding-bottom: 0 !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 28px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box;
  }

  .package-combo-hint {
    display: none !important;
  }

  section#packages.section.packages .package-card::before,
  section#packages.section.packages .package-card::after {
    display: none !important;
    content: none !important;
  }

  section#packages.section.packages .package-card {
    background: linear-gradient(180deg, #303030 0%, #292929 58%, #242424 100%) !important;
  }

  section#packages.section.packages .package-card .package-print-visual {
    flex: 0 0 auto;
    margin-bottom: 16px !important;
  }

  section#packages.section.packages .package-card h3 {
    flex: 0 0 auto;
    margin: 0 0 8px !important;
    font-size: clamp(1.08rem, 1.12vw, 1.25rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.025em;
  }

  section#packages.section.packages .package-card .price {
    margin: 0 0 2px !important;
    line-height: 1.1 !important;
  }

  section#packages.section.packages .package-price-note {
    margin: 0 0 10px !important;
    line-height: 1.1 !important;
  }

  section#packages.section.packages .package-card .package-subtitle {
    margin: 0 0 14px !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .package-card ul {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  section#packages.section.packages .package-card li {
    margin: 0 0 8px !important;
    line-height: 1.34 !important;
  }

  section#packages.section.packages .package-card li:last-child {
    margin-bottom: 0 !important;
  }

  /* Selected/added state without tray complications */
  section#packages.section.packages .package-card.is-selected {
    transform: translateY(-3px);
    border-color: rgba(255, 42, 35, 0.9) !important;
    box-shadow:
      0 30px 70px rgba(255, 42, 35, 0.18),
      0 0 0 2px rgba(255, 42, 35, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  }

  section#packages.section.packages .package-card.is-combo-added {
    transform: translateY(-3px);
    border-color: rgba(56, 161, 105, 0.78) !important;
    box-shadow:
      0 28px 66px rgba(56, 161, 105, 0.14),
      0 0 0 2px rgba(56, 161, 105, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  }

  section#packages.section.packages .package-card.is-muted {
    opacity: 0.46;
    filter: saturate(0.45);
    transform: none !important;
  }

  .package-select-badge {
    top: 16px !important;
    right: 16px !important;
    z-index: 5 !important;
  }

  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    background: linear-gradient(180deg, #3fcb79, #228b54) !important;
    box-shadow: 0 10px 20px rgba(56, 161, 105, 0.24) !important;
  }
}

@media (max-width: 1240px) and (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: 650px;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.86rem !important;
    line-height: 1.28 !important;
    margin-bottom: 6px !important;
  }
}

@media (max-width: 1060px) {
  .package-combo-hint {
    display: none !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }
}


/* v70: a little more bottom padding on the cards for a cleaner finish */
@media (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: 636px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 28px 28px 38px !important;
  }

  section#packages.section.packages .package-card ul {
    padding-bottom: 4px !important;
  }
}

@media (max-width: 1240px) and (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: 666px;
  }
}


/* v71: stop Selected/Added badge and selected-card glow from clipping */
@media (min-width: 1061px) {
  section#packages.section.packages .packages-layout .package-grid {
    padding-top: 16px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-added {
    overflow: hidden !important;
  }

  /* Keep the badge safely inside the card instead of sitting on the top edge */
  .package-select-badge {
    top: 22px !important;
    right: 18px !important;
    transform: none !important;
    z-index: 6 !important;
    padding: 7px 12px !important;
    box-shadow: 0 10px 18px rgba(255, 42, 35, 0.24) !important;
  }

  /* Remove the upward lift that was pushing the selected card into the clipping area */
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-added {
    transform: none !important;
  }

  /* Keep selected state obvious using border/glow instead of moving the card */
  section#packages.section.packages .package-card.is-selected {
    border-color: rgba(255, 42, 35, 0.9) !important;
    box-shadow:
      0 24px 58px rgba(255, 42, 35, 0.16),
      0 0 0 2px rgba(255, 42, 35, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  }

  section#packages.section.packages .package-card.is-combo-added {
    border-color: rgba(56, 161, 105, 0.78) !important;
    box-shadow:
      0 24px 58px rgba(56, 161, 105, 0.13),
      0 0 0 2px rgba(56, 161, 105, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  }

  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    background: linear-gradient(180deg, #3fcb79, #228b54) !important;
    box-shadow: 0 10px 18px rgba(56, 161, 105, 0.24) !important;
  }
}

@media (max-width: 1060px) {
  .package-select-badge {
    top: 18px !important;
    right: 16px !important;
    transform: none !important;
  }

  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-added {
    transform: none !important;
  }
}


/* v72: stop package-card bullet text from clipping */
section#packages.section.packages .package-card,
section#packages.section.packages .package-card * {
  box-sizing: border-box;
}

section#packages.section.packages .package-card li {
  max-width: 100%;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
}

section#packages.section.packages .package-card li span,
section#packages.section.packages .package-card li strong {
  white-space: normal !important;
}

@media (min-width: 1061px) {
  section#packages.section.packages .package-card[data-package-key="360"] li {
    font-size: 0.86rem !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] .package-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.34 !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    padding-right: 30px !important;
  }
}


/* v73: move Selected/Added badge up a little so it doesn't sit on the stand-up icon */
@media (min-width: 1061px) {
  .package-select-badge {
    top: 14px !important;
    right: 18px !important;
  }
}

@media (max-width: 1060px) {
  .package-select-badge {
    top: 14px !important;
    right: 16px !important;
  }
}


/* v74: float Selected/Added badge above the card corner so it clears the icon */
@media (min-width: 1061px) {
  section#packages.section.packages,
  section#packages.section.packages .packages-layout,
  section#packages.section.packages .packages-layout .package-grid {
    overflow: visible !important;
  }

  section#packages.section.packages .packages-layout .package-grid {
    padding-top: 28px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-added {
    overflow: visible !important;
  }

  .package-select-badge {
    top: -14px !important;
    right: 18px !important;
    transform: none !important;
    z-index: 12 !important;
    padding: 8px 13px !important;
    border: 2px solid rgba(255, 255, 255, 0.92) !important;
    box-shadow:
      0 12px 22px rgba(255, 42, 35, 0.26),
      0 0 0 4px rgba(255, 230, 228, 0.78) !important;
  }

  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    border-color: rgba(255, 255, 255, 0.92) !important;
    box-shadow:
      0 12px 22px rgba(56, 161, 105, 0.24),
      0 0 0 4px rgba(230, 255, 240, 0.78) !important;
  }
}

@media (max-width: 1060px) {
  .package-select-badge {
    top: 12px !important;
    right: 14px !important;
  }
}


/* v75: remove the white border/ring around the floating Selected/Added badge */
@media (min-width: 1061px) {
  .package-select-badge {
    border: 0 !important;
    box-shadow: 0 12px 22px rgba(255, 42, 35, 0.26) !important;
  }

  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    border: 0 !important;
    box-shadow: 0 12px 22px rgba(56, 161, 105, 0.24) !important;
  }
}


/* v76: align price card with package cards and keep pricing display stable */
@media (min-width: 1061px) {
  /*
    The package grid has top padding to allow the floating Selected/Added badge.
    Match that offset on the price card so its top aligns visually with the card row.
  */
  .package-side-summary.quote-summary {
    margin-top: 28px !important;
  }

  .package-side-summary.quote-summary .quote-total {
    letter-spacing: -0.045em;
  }

  .package-side-summary .quote-breakdown strong {
    overflow-wrap: break-word;
  }
}

@media (max-width: 1060px) {
  .package-side-summary.quote-summary {
    margin-top: 0 !important;
  }
}


/* v77: make the Packages section fit better in one viewport */
@media (min-width: 1061px) {
  section#packages.section.packages {
    min-height: 100svh;
    padding-top: clamp(34px, 4.6vh, 54px) !important;
    padding-bottom: clamp(28px, 4vh, 46px) !important;
    scroll-margin-top: 0;
  }

  section#packages.section.packages .section-heading {
    margin-bottom: clamp(18px, 2.5vh, 28px) !important;
  }

  section#packages.section.packages .kicker {
    margin-bottom: 7px !important;
    font-size: 0.66rem !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2.45rem, 4vw, 3.85rem) !important;
    line-height: 0.98 !important;
  }

  section#packages.section.packages .section-heading p {
    width: min(720px, 100%);
    margin: 12px auto 0 !important;
    font-size: 0.94rem !important;
    line-height: 1.45 !important;
  }

  .packages-layout {
    width: min(1260px, calc(100% - 46px)) !important;
    grid-template-columns: minmax(0, 1fr) 318px !important;
    gap: 26px !important;
    align-items: stretch !important;
  }

  section#packages.section.packages {
    --package-card-height: clamp(540px, calc(100svh - 320px), 590px);
  }

  section#packages.section.packages .packages-layout .package-grid {
    gap: 18px !important;
    padding-top: 24px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted,
  .package-side-summary.quote-summary {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 24px 24px 30px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 78px !important;
    margin: 0 0 12px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.92);
  }

  section#packages.section.packages .package-card h3 {
    font-size: clamp(1rem, 1vw, 1.14rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 7px !important;
  }

  section#packages.section.packages .package-card .price {
    font-size: clamp(1rem, 1.08vw, 1.17rem) !important;
    margin-bottom: 1px !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.66rem !important;
    line-height: 1.05 !important;
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-subtitle {
    font-size: 0.86rem !important;
    line-height: 1.32 !important;
    margin-bottom: 12px !important;
    min-height: 0 !important;
  }

  section#packages.section.packages .package-card ul {
    gap: 0 !important;
    overflow: hidden !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.84rem !important;
    line-height: 1.24 !important;
    margin-bottom: 6px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  section#packages.section.packages .package-card li:last-child {
    margin-bottom: 0 !important;
  }

  .package-side-summary.quote-summary {
    margin-top: 24px !important;
    width: 318px !important;
    max-width: 318px !important;
    padding: 22px 22px 20px !important;
  }

  .package-side-summary .quote-total {
    font-size: clamp(2.2rem, 3vw, 2.8rem) !important;
  }

  .package-side-summary .quote-note {
    font-size: 0.82rem !important;
    line-height: 1.34 !important;
  }

  .package-side-summary .quote-breakdown p {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  .package-side-summary .quote-breakdown strong {
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
  }

  .package-side-summary .quote-breakdown span {
    font-size: 0.73rem !important;
  }

  .package-side-summary .quote-whatsapp {
    min-height: 54px !important;
    height: 54px !important;
    font-size: 0.9rem !important;
  }
}

/* Extra compact mode for shorter laptop screens */
@media (min-width: 1061px) and (max-height: 860px) {
  section#packages.section.packages {
    padding-top: 28px !important;
    padding-bottom: 26px !important;
    --package-card-height: 520px;
  }

  section#packages.section.packages .section-heading {
    margin-bottom: 16px !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2.25rem, 3.5vw, 3.25rem) !important;
  }

  section#packages.section.packages .section-heading p {
    font-size: 0.88rem !important;
    line-height: 1.38 !important;
    margin-top: 9px !important;
  }

  section#packages.section.packages .packages-layout .package-grid {
    padding-top: 20px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 22px 22px 26px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 68px !important;
    margin-bottom: 10px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.84);
  }

  section#packages.section.packages .package-card li {
    font-size: 0.8rem !important;
    line-height: 1.18 !important;
    margin-bottom: 5px !important;
  }

  section#packages.section.packages .package-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .package-side-summary.quote-summary {
    margin-top: 20px !important;
    padding: 20px !important;
  }
}

@media (max-width: 1060px) {
  section#packages.section.packages {
    scroll-margin-top: 0;
  }
}


/* v78: rebalance package card content spacing after compact scaling */
@media (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: clamp(555px, calc(100svh - 305px), 600px);
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 24px 24px 32px !important;
  }

  /* Consistent icon area across all 3 cards */
  section#packages.section.packages .package-print-visual {
    height: 88px !important;
    margin: 0 0 16px !important;
    flex: 0 0 88px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.88) !important;
  }

  /* Consistent title area, so one-line and two-line titles line up better */
  section#packages.section.packages .package-card h3 {
    min-height: 42px !important;
    display: flex !important;
    align-items: flex-end !important;
    margin: 0 0 7px !important;
    font-size: clamp(1.02rem, 1.02vw, 1.16rem) !important;
    line-height: 1.1 !important;
  }

  section#packages.section.packages .package-card .price {
    margin: 0 0 2px !important;
    line-height: 1.05 !important;
  }

  section#packages.section.packages .package-price-note {
    margin: 0 0 10px !important;
    font-size: 0.68rem !important;
    line-height: 1.05 !important;
  }

  /* Consistent description area before the bullet list */
  section#packages.section.packages .package-subtitle {
    min-height: 50px !important;
    margin: 0 0 12px !important;
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
  }

  section#packages.section.packages .package-card ul {
    flex: 1 1 auto !important;
    min-height: 0;
    display: grid !important;
    align-content: start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  section#packages.section.packages .package-card li {
    margin: 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
    gap: 8px !important;
  }

  /* Cards with fewer bullets get slightly more breathing room so they do not look top-heavy */
  section#packages.section.packages .package-card[data-package-key="classic"] ul {
    gap: 10px !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] ul {
    gap: 11px !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] .package-subtitle {
    min-height: 50px !important;
  }

  /* Stand-Up has the most content, so keep it compact but not cramped */
  section#packages.section.packages .package-card[data-package-key="standup"] ul {
    gap: 7px !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] li {
    font-size: 0.82rem !important;
    line-height: 1.22 !important;
  }

  .package-side-summary.quote-summary {
    margin-top: 24px !important;
  }
}

/* Short laptop screens: keep the section fitting, but fix the too-cramped card text */
@media (min-width: 1061px) and (max-height: 860px) {
  section#packages.section.packages {
    --package-card-height: 545px;
  }

  section#packages.section.packages .package-print-visual {
    height: 76px !important;
    flex-basis: 76px !important;
    margin-bottom: 13px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.82) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 38px !important;
    font-size: 1rem !important;
    line-height: 1.08 !important;
    margin-bottom: 6px !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 44px !important;
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
  }

  section#packages.section.packages .package-card[data-package-key="classic"] ul {
    gap: 8px !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] ul {
    gap: 6px !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] ul {
    gap: 9px !important;
  }
}


/* v79: move package icons slightly lower and loosen card content spacing */
@media (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: clamp(565px, calc(100svh - 300px), 612px);
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 26px 24px 34px !important;
  }

  /* Push icon block a bit lower */
  section#packages.section.packages .package-print-visual {
    height: 90px !important;
    flex: 0 0 90px !important;
    margin: 8px 0 18px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.9) !important;
  }

  /* Give headings and pricing more breathing room */
  section#packages.section.packages .package-card h3 {
    min-height: 44px !important;
    margin: 0 0 10px !important;
    line-height: 1.08 !important;
  }

  section#packages.section.packages .package-card .price {
    margin: 0 0 4px !important;
    line-height: 1.06 !important;
  }

  section#packages.section.packages .package-price-note {
    margin: 0 0 12px !important;
    font-size: 0.69rem !important;
    line-height: 1.08 !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 54px !important;
    margin: 0 0 15px !important;
    line-height: 1.34 !important;
  }

  section#packages.section.packages .package-card ul {
    gap: 9px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.845rem !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-card[data-package-key="classic"] ul {
    gap: 10px !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] ul {
    gap: 8px !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] ul {
    gap: 10px !important;
  }

  /* Side price card: a touch more breathing room too */
  .package-side-summary.quote-summary {
    padding: 24px 24px 22px !important;
  }

  .package-side-summary .quote-total {
    margin-bottom: 14px !important;
  }

  .package-side-summary .quote-note {
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }
}

/* Keep shorter laptop screens fitting while still feeling less cramped */
@media (min-width: 1061px) and (max-height: 860px) {
  section#packages.section.packages {
    --package-card-height: 555px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 24px 22px 30px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 80px !important;
    flex-basis: 80px !important;
    margin: 6px 0 14px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.84) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 40px !important;
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 3px !important;
  }

  section#packages.section.packages .package-price-note {
    margin-bottom: 10px !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 46px !important;
    margin-bottom: 12px !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.79rem !important;
    line-height: 1.22 !important;
  }
}


/* v80: bring back clean bottom pill suggestions as reserved card footers */
@media (min-width: 1061px) {
  section#packages.section.packages {
    --package-card-height: clamp(580px, calc(100svh - 292px), 625px);
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    display: flex !important;
    flex-direction: column !important;
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 24px 24px 28px !important;
    overflow: hidden !important;
  }

  section#packages.section.packages .package-card ul {
    flex: 1 1 auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: grid !important;
    align-content: start !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    margin: 12px 0 0 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: rgba(255, 42, 35, 0.12) !important;
    border: 1px solid rgba(255, 42, 35, 0.28) !important;
    color: #ffb2ad !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(4px) !important;
    transition:
      opacity 0.22s ease,
      transform 0.24s cubic-bezier(.22,.61,.36,1),
      visibility 0.22s ease !important;
    pointer-events: none;
  }

  .package-combo-hint::before,
  .package-combo-hint::after {
    display: none !important;
    content: none !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  section#packages.section.packages .package-card.is-combo-added .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint.is-added-hint {
    background: rgba(56, 161, 105, 0.13) !important;
    border-color: rgba(56, 161, 105, 0.32) !important;
    color: #9af0bc !important;
  }

  /* Tighten just enough to make the reserved pill footer fit naturally */
  section#packages.section.packages .package-print-visual {
    height: 84px !important;
    flex: 0 0 84px !important;
    margin: 6px 0 14px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.86) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 40px !important;
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 48px !important;
    margin-bottom: 12px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.82rem !important;
    line-height: 1.22 !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] li {
    font-size: 0.79rem !important;
    line-height: 1.18 !important;
  }
}

@media (min-width: 1061px) and (max-height: 860px) {
  section#packages.section.packages {
    --package-card-height: 555px;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex-basis: 30px !important;
    margin-top: 9px !important;
    font-size: 0.66rem !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 72px !important;
    flex-basis: 72px !important;
    margin: 4px 0 10px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.76rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 1060px) {
  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 36px !important;
    max-height: none !important;
    margin-top: 12px !important;
    border-radius: 999px !important;
    white-space: normal !important;
  }
}


/* v82: keep badge position, just layer it in front properly */
@media (min-width: 1061px) {
  section#packages.section.packages,
  section#packages.section.packages .packages-layout,
  section#packages.section.packages .packages-layout .package-grid {
    overflow: visible !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-combo-suggested {
    overflow: visible !important;
    isolation: isolate;
  }

  /* Keep the badge where it was, but make sure it sits above the icon/card */
  .package-select-badge {
    z-index: 999 !important;
    pointer-events: none;
  }

  section#packages.section.packages .package-card > *:not(.package-select-badge) {
    position: relative;
    z-index: 1;
  }

  section#packages.section.packages .package-card .package-select-badge {
    position: absolute;
    z-index: 999 !important;
  }

  /* Keep the bottom suggestion pill visible without affecting the badge */
  .package-combo-hint {
    z-index: 2;
  }
}

@media (max-width: 1060px) {
  section#packages.section.packages .package-card {
    overflow: visible !important;
  }

  .package-select-badge {
    z-index: 999 !important;
  }
}


/* v83: reduce packages section height so cards sit higher and more of the next section is visible */
@media (min-width: 1061px) {
  section#packages.section.packages {
    min-height: auto !important;
    padding-top: 18px !important;
    padding-bottom: 8px !important;
  }

  section#packages.section.packages .section-heading {
    margin-bottom: 12px !important;
  }

  section#packages.section.packages .kicker {
    margin-bottom: 5px !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2.15rem, 3.15vw, 3rem) !important;
    line-height: 0.96 !important;
    margin-bottom: 0 !important;
  }

  section#packages.section.packages .section-heading p {
    margin-top: 8px !important;
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  .packages-layout {
    gap: 20px !important;
    align-items: start !important;
  }

  section#packages.section.packages .packages-layout .package-grid {
    padding-top: 10px !important;
    gap: 16px !important;
  }

  section#packages.section.packages {
    --package-card-height: 548px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted,
  .package-side-summary.quote-summary {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 20px 22px 24px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 72px !important;
    flex: 0 0 72px !important;
    margin: 4px 0 10px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.82) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 36px !important;
    margin-bottom: 6px !important;
    font-size: 0.98rem !important;
    line-height: 1.04 !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 2px !important;
    font-size: 1.03rem !important;
  }

  section#packages.section.packages .package-price-note {
    margin-bottom: 8px !important;
    font-size: 0.64rem !important;
    line-height: 1.02 !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 42px !important;
    margin-bottom: 10px !important;
    font-size: 0.79rem !important;
    line-height: 1.24 !important;
  }

  section#packages.section.packages .package-card ul {
    gap: 6px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.775rem !important;
    line-height: 1.16 !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] li {
    font-size: 0.75rem !important;
    line-height: 1.14 !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    flex-basis: 28px !important;
    margin-top: 8px !important;
    font-size: 0.64rem !important;
  }

  .package-side-summary.quote-summary {
    margin-top: 10px !important;
    padding: 20px 20px 18px !important;
  }

  .package-side-summary .quote-total {
    font-size: clamp(2.05rem, 2.8vw, 2.55rem) !important;
    margin-bottom: 10px !important;
  }

  .package-side-summary .quote-note {
    font-size: 0.79rem !important;
    line-height: 1.32 !important;
    margin-bottom: 12px !important;
  }

  .package-side-summary .quote-breakdown p {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    margin-bottom: 7px !important;
  }

  .package-side-summary .quote-breakdown span {
    font-size: 0.72rem !important;
  }

  .package-side-summary .quote-breakdown strong {
    font-size: 0.76rem !important;
    line-height: 1.18 !important;
  }

  .package-side-summary .quote-whatsapp {
    min-height: 50px !important;
    height: 50px !important;
    font-size: 0.86rem !important;
  }
}

/* extra compact mode for shorter laptop screens */
@media (min-width: 1061px) and (max-height: 860px) {
  section#packages.section.packages {
    padding-top: 12px !important;
    padding-bottom: 4px !important;
    --package-card-height: 525px;
  }

  section#packages.section.packages .section-heading {
    margin-bottom: 8px !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2rem, 2.85vw, 2.7rem) !important;
  }

  section#packages.section.packages .section-heading p {
    font-size: 0.83rem !important;
    margin-top: 6px !important;
  }

  section#packages.section.packages .packages-layout .package-grid {
    padding-top: 6px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 18px 20px 22px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 66px !important;
    flex-basis: 66px !important;
    margin: 2px 0 8px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.78) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 34px !important;
    font-size: 0.95rem !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 38px !important;
    font-size: 0.76rem !important;
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.74rem !important;
    line-height: 1.12 !important;
  }

  .package-side-summary.quote-summary {
    padding: 18px 18px 16px !important;
  }
}


/* v84: proper responsive integration for Packages section */

/* ---------- Desktop / large laptop ---------- */
@media (min-width: 1281px) {
  section#packages.section.packages {
    padding-top: 24px !important;
    padding-bottom: 18px !important;
    --package-card-height: clamp(550px, calc(100svh - 305px), 590px);
  }

  .packages-layout {
    width: min(1280px, calc(100% - 48px)) !important;
    grid-template-columns: minmax(0, 1fr) 318px !important;
    gap: 26px !important;
    align-items: start !important;
  }

  section#packages.section.packages .packages-layout .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding-top: 12px !important;
  }

  .package-side-summary.quote-summary {
    width: 318px !important;
    max-width: 318px !important;
    margin-top: 12px !important;
  }
}

/* ---------- Normal laptop: keep same layout but compact it safely ---------- */
@media (min-width: 1061px) and (max-width: 1280px) {
  section#packages.section.packages {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
    --package-card-height: clamp(530px, calc(100svh - 292px), 570px);
  }

  .packages-layout {
    width: min(1180px, calc(100% - 34px)) !important;
    grid-template-columns: minmax(0, 1fr) 292px !important;
    gap: 20px !important;
    align-items: start !important;
  }

  section#packages.section.packages .packages-layout .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding-top: 10px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 18px 18px 22px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 64px !important;
    flex: 0 0 64px !important;
    margin: 2px 0 8px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.76) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 34px !important;
    font-size: 0.92rem !important;
    line-height: 1.05 !important;
    margin-bottom: 6px !important;
  }

  section#packages.section.packages .package-card .price {
    font-size: 0.98rem !important;
    line-height: 1.05 !important;
    margin-bottom: 2px !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.62rem !important;
    line-height: 1.05 !important;
    margin-bottom: 7px !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 38px !important;
    font-size: 0.74rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-card ul {
    gap: 5px !important;
    overflow: hidden !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.72rem !important;
    line-height: 1.12 !important;
    gap: 6px !important;
    margin: 0 !important;
    white-space: normal !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    flex-basis: 28px !important;
    margin-top: 8px !important;
    font-size: 0.62rem !important;
    padding: 0 8px !important;
  }

  .package-select-badge {
    top: 10px !important;
    right: 12px !important;
    padding: 6px 10px !important;
    font-size: 0.64rem !important;
    z-index: 999 !important;
  }

  .package-side-summary.quote-summary {
    width: 292px !important;
    max-width: 292px !important;
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    margin-top: 10px !important;
    padding: 18px !important;
  }

  .package-side-summary .quote-summary-kicker {
    font-size: 0.68rem !important;
  }

  .package-side-summary .quote-total {
    font-size: clamp(1.9rem, 2.6vw, 2.35rem) !important;
    line-height: 0.95 !important;
    margin-bottom: 8px !important;
  }

  .package-side-summary .quote-combo-saving {
    font-size: 0.72rem !important;
  }

  .package-side-summary .quote-note {
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
    margin-bottom: 10px !important;
  }

  .package-side-summary .quote-breakdown {
    padding: 10px 0 !important;
    gap: 6px !important;
  }

  .package-side-summary .quote-breakdown p {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .package-side-summary .quote-breakdown span {
    font-size: 0.68rem !important;
  }

  .package-side-summary .quote-breakdown strong {
    font-size: 0.72rem !important;
    line-height: 1.16 !important;
  }

  .package-side-summary .quote-whatsapp {
    min-height: 46px !important;
    height: 46px !important;
    font-size: 0.82rem !important;
    padding-inline: 12px !important;
  }
}

/* ---------- Tablet: stack the section in a useful order ---------- */
@media (min-width: 769px) and (max-width: 1060px) {
  section#packages.section.packages {
    min-height: auto !important;
    padding: 54px 0 64px !important;
  }

  section#packages.section.packages .section-heading {
    width: min(720px, calc(100% - 34px)) !important;
    margin-bottom: 24px !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2.2rem, 6vw, 3.3rem) !important;
    line-height: 1 !important;
  }

  section#packages.section.packages .section-heading p {
    font-size: 0.95rem !important;
    line-height: 1.48 !important;
  }

  .packages-layout {
    width: min(760px, calc(100% - 34px)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }

  .packages-left-column {
    display: contents !important;
  }

  section#packages.section.packages .package-grid {
    order: 1;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding-top: 0 !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: 1 / -1;
    max-width: 380px;
    justify-self: center;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 24px !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 90px !important;
    flex-basis: 90px !important;
    margin: 6px 0 14px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.9) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 0 !important;
    font-size: 1.12rem !important;
    line-height: 1.12 !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.36 !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    min-height: 36px !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 14px !important;
    font-size: 0.78rem !important;
    white-space: normal !important;
  }

  .package-side-summary.quote-summary {
    order: 2;
    width: 100% !important;
    max-width: 620px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    position: relative !important;
    top: auto !important;
  }

  .inline-configurator {
    order: 3;
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto !important;
  }

  .inline-quote-form {
    width: 100% !important;
  }
}

/* ---------- Mobile: single column, price directly after packages, form below ---------- */
@media (max-width: 768px) {
  section#packages.section.packages {
    padding: 44px 0 58px !important;
    min-height: auto !important;
  }

  section#packages.section.packages .section-heading {
    width: min(100% - 26px, 540px) !important;
    margin-bottom: 22px !important;
  }

  section#packages.section.packages .kicker {
    font-size: 0.66rem !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2rem, 11vw, 2.75rem) !important;
    line-height: 1 !important;
  }

  section#packages.section.packages .section-heading p {
    font-size: 0.9rem !important;
    line-height: 1.48 !important;
    margin-top: 10px !important;
  }

  .packages-layout {
    width: min(100% - 24px, 480px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .packages-left-column {
    display: contents !important;
  }

  section#packages.section.packages .package-grid {
    order: 1;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    padding-top: 0 !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 24px 22px 24px !important;
    overflow: visible !important;
    transform: none !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 86px !important;
    flex-basis: 86px !important;
    margin: 6px 0 14px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.86) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 0 !important;
    font-size: 1.12rem !important;
    line-height: 1.14 !important;
  }

  section#packages.section.packages .package-card .price {
    font-size: 1.08rem !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.7rem !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .package-card ul {
    overflow: visible !important;
    gap: 8px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  .package-select-badge {
    top: 12px !important;
    right: 14px !important;
    z-index: 999 !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    min-height: 36px !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 14px !important;
    padding: 9px 12px !important;
    font-size: 0.76rem !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  .package-side-summary.quote-summary {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative !important;
    top: auto !important;
    margin: 0 !important;
    padding: 22px !important;
  }

  .package-side-summary .quote-total {
    font-size: clamp(2.05rem, 12vw, 2.8rem) !important;
  }

  .package-side-summary .quote-breakdown p {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .inline-configurator {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .inline-quote-form {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .selected-package-panel {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .selected-package-panel a {
    width: 100%;
    justify-content: center;
  }

  .quote-step--grid {
    grid-template-columns: 1fr !important;
  }

  .quote-addons {
    grid-template-columns: 1fr !important;
  }

  .quote-availability .quote-step--grid {
    grid-template-columns: 1fr !important;
  }
}


/* v89: sane laptop price-card fix
   Replaces the broken grid-style price card with natural top-to-bottom flow.
   Targets short laptop screens only; mobile/tablet/large desktop stay untouched. */
@media (min-width: 1061px) and (max-height: 920px) {
  .package-side-summary.quote-summary {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    padding: 20px 22px 20px !important;
    box-sizing: border-box !important;
  }

  .package-side-summary .quote-summary-kicker {
    flex: 0 0 auto !important;
    margin: 0 0 8px !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
  }

  .package-side-summary .quote-total {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 14px !important;
    display: block !important;
    font-size: clamp(2.05rem, 3vw, 2.65rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.045em !important;
    overflow: visible !important;
  }

  .package-side-summary.quote-summary.is-empty-estimate .quote-total {
    font-size: clamp(2.08rem, 3vw, 2.55rem) !important;
    margin-bottom: 18px !important;
  }

  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 24px !important;
    max-height: 28px !important;
    margin: 0 0 12px !important;
    padding: 6px 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .package-side-summary .quote-combo-saving[hidden],
  .package-side-summary #quoteComboSaving[hidden],
  .package-side-summary.quote-summary.is-empty-estimate .quote-combo-saving,
  .package-side-summary.quote-summary.is-empty-estimate #quoteComboSaving {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .package-side-summary .quote-note {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 14px !important;
    font-size: 0.76rem !important;
    line-height: 1.32 !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-breakdown {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 0 16px !important;
    padding: 12px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    display: grid !important;
    align-content: start !important;
    gap: 6px !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-breakdown p {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 8px !important;
    margin: 0 !important;
    align-items: start !important;
  }

  .package-side-summary .quote-breakdown span {
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
  }

  .package-side-summary .quote-breakdown strong {
    font-size: 0.72rem !important;
    line-height: 1.18 !important;
    overflow-wrap: break-word !important;
  }

  .package-side-summary .quote-whatsapp {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }
}

/* Extra-tight short laptop fallback */
@media (min-width: 1061px) and (max-height: 800px) {
  .package-side-summary.quote-summary {
    padding: 18px 20px 18px !important;
  }

  .package-side-summary .quote-summary-kicker {
    margin-bottom: 6px !important;
  }

  .package-side-summary .quote-total,
  .package-side-summary.quote-summary.is-empty-estimate .quote-total {
    font-size: clamp(1.9rem, 2.75vw, 2.35rem) !important;
    margin-bottom: 12px !important;
  }

  .package-side-summary .quote-note {
    font-size: 0.7rem !important;
    line-height: 1.24 !important;
    margin-bottom: 11px !important;
  }

  .package-side-summary .quote-breakdown {
    padding: 10px 0 !important;
    margin-bottom: 12px !important;
    gap: 5px !important;
  }

  .package-side-summary .quote-breakdown span {
    font-size: 0.64rem !important;
  }

  .package-side-summary .quote-breakdown strong {
    font-size: 0.68rem !important;
    line-height: 1.12 !important;
  }

  .package-side-summary .quote-whatsapp {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 0.75rem !important;
  }
}


/* v90: laptop refinement — lower package card content and pin Price button */
@media (min-width: 1061px) and (max-height: 920px) {
  /*
    Lower the content inside the package cards without changing the overall row layout.
    This makes the cards feel less top-heavy on laptop screens.
  */
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding-top: 30px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-top: 10px !important;
    margin-bottom: 18px !important;
  }

  section#packages.section.packages .package-card h3 {
    margin-bottom: 9px !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 4px !important;
  }

  section#packages.section.packages .package-price-note {
    margin-bottom: 12px !important;
  }

  section#packages.section.packages .package-subtitle {
    margin-bottom: 16px !important;
  }

  /*
    Price card: natural content at the top, WhatsApp button pinned to bottom.
    This avoids the previous overlap while keeping the button visually anchored.
  */
  .package-side-summary.quote-summary {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    padding: 22px 22px 20px !important;
    box-sizing: border-box !important;
  }

  .package-side-summary .quote-summary-kicker,
  .package-side-summary .quote-total,
  .package-side-summary .quote-combo-saving,
  .package-side-summary .quote-note,
  .package-side-summary .quote-breakdown {
    flex: 0 0 auto !important;
  }

  .package-side-summary .quote-total {
    margin-bottom: 12px !important;
  }

  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving {
    margin-bottom: 12px !important;
  }

  .package-side-summary .quote-combo-saving[hidden],
  .package-side-summary #quoteComboSaving[hidden],
  .package-side-summary.quote-summary.is-empty-estimate .quote-combo-saving,
  .package-side-summary.quote-summary.is-empty-estimate #quoteComboSaving {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  .package-side-summary .quote-note {
    margin-bottom: 14px !important;
  }

  .package-side-summary .quote-breakdown {
    margin-bottom: 16px !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-whatsapp {
    position: static !important;
    margin-top: auto !important;
    flex: 0 0 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Extra short laptop fallback */
@media (min-width: 1061px) and (max-height: 800px) {
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding-top: 26px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-top: 6px !important;
    margin-bottom: 13px !important;
  }

  section#packages.section.packages .package-subtitle {
    margin-bottom: 11px !important;
  }

  .package-side-summary.quote-summary {
    padding: 18px 20px 18px !important;
  }

  .package-side-summary .quote-total {
    margin-bottom: 10px !important;
  }

  .package-side-summary .quote-note {
    margin-bottom: 10px !important;
  }

  .package-side-summary .quote-breakdown {
    margin-bottom: 10px !important;
  }

  .package-side-summary .quote-whatsapp {
    flex-basis: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }
}


/* v91: mobile safety override
   Forces Packages to stack on real phones, even if the browser/server behaves like desktop mode. */
@media (max-width: 768px), (max-device-width: 768px), (pointer: coarse) and (max-device-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  section#packages.section.packages {
    min-height: auto !important;
    padding: 44px 0 58px !important;
  }

  section#packages.section.packages .section-heading {
    width: min(calc(100% - 26px), 540px) !important;
    margin: 0 auto 22px !important;
  }

  section#packages.section.packages .kicker {
    font-size: 0.66rem !important;
    letter-spacing: 0.16em !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2rem, 10.5vw, 2.75rem) !important;
    line-height: 1 !important;
    max-width: 100% !important;
  }

  section#packages.section.packages .section-heading p {
    font-size: 0.9rem !important;
    line-height: 1.48 !important;
    margin-top: 10px !important;
  }

  .packages-layout {
    width: min(calc(100% - 24px), 480px) !important;
    max-width: min(calc(100% - 24px), 480px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-inline: auto !important;
  }

  .packages-left-column {
    display: contents !important;
  }

  section#packages.section.packages .package-grid,
  .package-grid {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 24px 22px 24px !important;
    overflow: visible !important;
    transform: none !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 86px !important;
    flex-basis: 86px !important;
    margin: 6px 0 14px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.86) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 0 !important;
    font-size: 1.12rem !important;
    line-height: 1.14 !important;
  }

  section#packages.section.packages .package-card .price {
    font-size: 1.08rem !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.7rem !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .package-card ul {
    overflow: visible !important;
    gap: 8px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  .package-select-badge {
    top: 12px !important;
    right: 14px !important;
    z-index: 999 !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    min-height: 36px !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 14px !important;
    padding: 9px 12px !important;
    font-size: 0.76rem !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  .package-side-summary.quote-summary {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative !important;
    top: auto !important;
    margin: 0 !important;
    padding: 22px !important;
  }

  .package-side-summary .quote-total {
    font-size: clamp(2.05rem, 12vw, 2.8rem) !important;
  }

  .package-side-summary .quote-breakdown p {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .inline-configurator {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .inline-quote-form {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .selected-package-panel {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .selected-package-panel a {
    width: 100% !important;
    justify-content: center !important;
  }

  .quote-step--grid,
  .quote-availability .quote-step--grid,
  .quote-addons {
    grid-template-columns: 1fr !important;
  }
}

/* JS fallback class: same safety rules when JS detects a phone but CSS viewport is weird */
html.force-mobile-packages section#packages.section.packages {
  min-height: auto !important;
  padding: 44px 0 58px !important;
}

html.force-mobile-packages .packages-layout {
  width: min(calc(100% - 24px), 480px) !important;
  max-width: min(calc(100% - 24px), 480px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  margin-inline: auto !important;
}

html.force-mobile-packages .packages-left-column {
  display: contents !important;
}

html.force-mobile-packages section#packages.section.packages .package-grid,
html.force-mobile-packages .package-grid {
  order: 1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
}

html.force-mobile-packages section#packages.section.packages .package-card {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 24px 22px 24px !important;
  overflow: visible !important;
  transform: none !important;
}

html.force-mobile-packages .package-side-summary.quote-summary {
  order: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  position: relative !important;
  top: auto !important;
  margin: 0 !important;
  padding: 22px !important;
}

html.force-mobile-packages .inline-configurator {
  order: 3 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}


/* v93: package card typography and vertical rhythm refinement */
@media (min-width: 1061px) {
  /*
    Keep the section fit, but improve the internal card rhythm.
    The cards were too top-heavy and the text groups felt crowded.
  */
  section#packages.section.packages {
    --package-card-height: clamp(585px, calc(100svh - 285px), 630px);
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 28px 24px 26px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  /* Icon area: centered and calmer */
  section#packages.section.packages .package-print-visual {
    height: 88px !important;
    flex: 0 0 88px !important;
    margin: 4px 0 18px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.88) !important;
  }

  /* Clearer title block */
  section#packages.section.packages .package-card h3 {
    min-height: 42px !important;
    margin: 0 0 10px !important;
    display: flex !important;
    align-items: flex-end !important;
    font-size: clamp(1.05rem, 1.05vw, 1.18rem) !important;
    line-height: 1.11 !important;
    letter-spacing: -0.03em !important;
  }

  /* Price block: bold, but not jammed against the note */
  section#packages.section.packages .package-card .price {
    margin: 0 0 5px !important;
    font-size: clamp(1.08rem, 1.15vw, 1.24rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
  }

  section#packages.section.packages .package-price-note {
    margin: 0 0 13px !important;
    font-size: 0.68rem !important;
    line-height: 1.1 !important;
    opacity: 0.78;
  }

  /* Description gets its own breathing room */
  section#packages.section.packages .package-subtitle {
    min-height: 54px !important;
    margin: 0 0 16px !important;
    font-size: 0.86rem !important;
    line-height: 1.38 !important;
    color: rgba(255, 255, 255, 0.76) !important;
  }

  /*
    Let the bullet list occupy the remaining middle space and spread itself.
    This removes the heavy blank area at the bottom while making the list easier to read.
  */
  section#packages.section.packages .package-card ul {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-evenly !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card li {
    margin: 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
    gap: 9px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /*
    The combo suggestion pill should not reserve space when hidden.
    It only appears and takes space when the suggestion/added state exists.
  */
  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    transform: translateY(4px) !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    margin: 14px 0 0 !important;
    padding: 0 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Stand-Up has the most bullet points, so it gets slightly tighter text but remains readable */
  section#packages.section.packages .package-card[data-package-key="standup"] li {
    font-size: 0.81rem !important;
    line-height: 1.26 !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] .package-subtitle {
    min-height: 50px !important;
  }

  /* 360 has fewer bullets, so give each bullet more presence */
  section#packages.section.packages .package-card[data-package-key="360"] li {
    font-size: 0.86rem !important;
    line-height: 1.34 !important;
  }

  .package-select-badge {
    z-index: 999 !important;
  }
}

/* Laptop-height version: still fit on screen, but keep the same clearer rhythm */
@media (min-width: 1061px) and (max-height: 920px) {
  section#packages.section.packages {
    --package-card-height: 560px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 24px 22px 24px !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 74px !important;
    flex-basis: 74px !important;
    margin: 2px 0 13px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.8) !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 36px !important;
    margin-bottom: 8px !important;
    font-size: 0.98rem !important;
    line-height: 1.08 !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 4px !important;
    font-size: 1.03rem !important;
  }

  section#packages.section.packages .package-price-note {
    margin-bottom: 9px !important;
    font-size: 0.62rem !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 42px !important;
    margin-bottom: 11px !important;
    font-size: 0.78rem !important;
    line-height: 1.24 !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.75rem !important;
    line-height: 1.17 !important;
  }

  section#packages.section.packages .package-card[data-package-key="standup"] li {
    font-size: 0.72rem !important;
    line-height: 1.13 !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] li {
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex-basis: 30px !important;
    margin-top: 10px !important;
    font-size: 0.64rem !important;
  }
}

/* Mobile/tablet: keep natural height and readable spacing */
@media (max-width: 1060px) {
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  section#packages.section.packages .package-card ul {
    display: grid !important;
    gap: 8px !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: auto !important;
    min-height: 36px !important;
    max-height: none !important;
    margin-top: 14px !important;
    padding: 9px 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}


/* v94: align package card text rows and make bullet spacing consistent */
@media (min-width: 1061px) {
  /*
    Fixed row system for package cards:
    icon, title, price, price note, and description now occupy the same visual bands.
    This keeps price and description levels aligned across all three cards.
  */
  section#packages.section.packages {
    --package-card-height: clamp(590px, calc(100svh - 282px), 635px);
    --pkg-icon-row: 92px;
    --pkg-title-row: 46px;
    --pkg-price-row: 24px;
    --pkg-note-row: 18px;
    --pkg-desc-row: 58px;
    --pkg-bullet-gap: 10px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 28px 24px 26px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-print-visual {
    height: var(--pkg-icon-row) !important;
    min-height: var(--pkg-icon-row) !important;
    max-height: var(--pkg-icon-row) !important;
    flex: 0 0 var(--pkg-icon-row) !important;
    margin: 0 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.88) !important;
  }

  section#packages.section.packages .package-card h3 {
    height: var(--pkg-title-row) !important;
    min-height: var(--pkg-title-row) !important;
    max-height: var(--pkg-title-row) !important;
    flex: 0 0 var(--pkg-title-row) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    font-size: clamp(1.04rem, 1.05vw, 1.18rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
  }

  section#packages.section.packages .package-card .price {
    height: var(--pkg-price-row) !important;
    min-height: var(--pkg-price-row) !important;
    max-height: var(--pkg-price-row) !important;
    flex: 0 0 var(--pkg-price-row) !important;
    margin: 7px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    font-size: clamp(1.08rem, 1.15vw, 1.24rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
  }

  section#packages.section.packages .package-price-note {
    height: var(--pkg-note-row) !important;
    min-height: var(--pkg-note-row) !important;
    max-height: var(--pkg-note-row) !important;
    flex: 0 0 var(--pkg-note-row) !important;
    margin: 2px 0 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 0.68rem !important;
    line-height: 1.08 !important;
    opacity: 0.78 !important;
  }

  section#packages.section.packages .package-subtitle {
    height: var(--pkg-desc-row) !important;
    min-height: var(--pkg-desc-row) !important;
    max-height: var(--pkg-desc-row) !important;
    flex: 0 0 var(--pkg-desc-row) !important;
    margin: 12px 0 14px !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 0.86rem !important;
    line-height: 1.34 !important;
    color: rgba(255, 255, 255, 0.76) !important;
    overflow: hidden !important;
  }

  /*
    Bullet spacing is now consistent across all three cards.
    No per-card stretching, no space-evenly variation.
  */
  section#packages.section.packages .package-card ul {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: var(--pkg-bullet-gap) !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    margin: 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.26 !important;
    gap: 9px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /* Bottom pill still only takes space when visible */
  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    transform: translateY(4px) !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    margin: 14px 0 0 !important;
    padding: 0 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Laptop-height version with the same row alignment, just more compact */
@media (min-width: 1061px) and (max-height: 920px) {
  section#packages.section.packages {
    --package-card-height: 560px;
    --pkg-icon-row: 76px;
    --pkg-title-row: 40px;
    --pkg-price-row: 22px;
    --pkg-note-row: 16px;
    --pkg-desc-row: 48px;
    --pkg-bullet-gap: 8px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 24px 22px 24px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-bottom: 13px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.8) !important;
  }

  section#packages.section.packages .package-card h3 {
    font-size: 0.98rem !important;
    line-height: 1.08 !important;
  }

  section#packages.section.packages .package-card .price {
    margin-top: 6px !important;
    font-size: 1.03rem !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.62rem !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 10px 0 12px !important;
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    font-size: 0.75rem !important;
    line-height: 1.15 !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex-basis: 30px !important;
    margin-top: 10px !important;
    font-size: 0.64rem !important;
  }
}

/* Tablet/mobile: keep natural height but still use consistent bullet spacing */
@media (max-width: 1060px) {
  section#packages.section.packages .package-card ul {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }
}


/* v95: consistent bullet rhythm using Stand-Up card as the spacing baseline */
@media (min-width: 1061px) {
  /*
    Card structure:
    - Top rows stay aligned across all cards.
    - Bullet lists use one consistent gap.
    - Visible bottom pill sits at the bottom and is never covered by bullets.
  */
  section#packages.section.packages {
    --package-card-height: clamp(600px, calc(100svh - 270px), 650px);
    --pkg-icon-row: 94px;
    --pkg-title-row: 46px;
    --pkg-price-row: 24px;
    --pkg-note-row: 18px;
    --pkg-desc-row: 58px;
    --pkg-bullet-gap: 14px;
    --pkg-pill-height: 34px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 28px 24px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  section#packages.section.packages .package-print-visual {
    height: var(--pkg-icon-row) !important;
    min-height: var(--pkg-icon-row) !important;
    max-height: var(--pkg-icon-row) !important;
    flex: 0 0 var(--pkg-icon-row) !important;
    margin: 0 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.88) !important;
  }

  section#packages.section.packages .package-card h3 {
    height: var(--pkg-title-row) !important;
    min-height: var(--pkg-title-row) !important;
    max-height: var(--pkg-title-row) !important;
    flex: 0 0 var(--pkg-title-row) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    font-size: clamp(1.04rem, 1.05vw, 1.18rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
  }

  section#packages.section.packages .package-card .price {
    height: var(--pkg-price-row) !important;
    min-height: var(--pkg-price-row) !important;
    max-height: var(--pkg-price-row) !important;
    flex: 0 0 var(--pkg-price-row) !important;
    margin: 7px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    font-size: clamp(1.08rem, 1.15vw, 1.24rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
  }

  section#packages.section.packages .package-price-note {
    height: var(--pkg-note-row) !important;
    min-height: var(--pkg-note-row) !important;
    max-height: var(--pkg-note-row) !important;
    flex: 0 0 var(--pkg-note-row) !important;
    margin: 2px 0 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 0.68rem !important;
    line-height: 1.08 !important;
    opacity: 0.78 !important;
  }

  section#packages.section.packages .package-subtitle {
    height: var(--pkg-desc-row) !important;
    min-height: var(--pkg-desc-row) !important;
    max-height: var(--pkg-desc-row) !important;
    flex: 0 0 var(--pkg-desc-row) !important;
    margin: 12px 0 16px !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 0.86rem !important;
    line-height: 1.34 !important;
    color: rgba(255, 255, 255, 0.76) !important;
    overflow: hidden !important;
  }

  /*
    Bullet area:
    - Same gap on every card.
    - Starts at the same height.
    - Uses the Stand-Up card rhythm as the baseline.
    - Pills are pushed to bottom using margin-top:auto when visible.
  */
  section#packages.section.packages .package-card ul {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: var(--pkg-bullet-gap) !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    margin: 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
    gap: 9px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /*
    Hidden pills do not take space.
    Visible pills are anchored at the bottom of the card.
  */
  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    transform: translateY(4px) !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: var(--pkg-pill-height) !important;
    min-height: var(--pkg-pill-height) !important;
    max-height: var(--pkg-pill-height) !important;
    flex: 0 0 var(--pkg-pill-height) !important;
    margin: auto 0 0 !important;
    padding: 0 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Laptop-height version: consistent spacing but compact enough to fit */
@media (min-width: 1061px) and (max-height: 920px) {
  section#packages.section.packages {
    --package-card-height: 565px;
    --pkg-icon-row: 76px;
    --pkg-title-row: 40px;
    --pkg-price-row: 22px;
    --pkg-note-row: 16px;
    --pkg-desc-row: 48px;
    --pkg-bullet-gap: 9px;
    --pkg-pill-height: 30px;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 24px 22px 22px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-bottom: 13px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.8) !important;
  }

  section#packages.section.packages .package-card h3 {
    font-size: 0.98rem !important;
    line-height: 1.08 !important;
  }

  section#packages.section.packages .package-card .price {
    margin-top: 6px !important;
    font-size: 1.03rem !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.62rem !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 10px 0 13px !important;
    font-size: 0.78rem !important;
    line-height: 1.22 !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    font-size: 0.75rem !important;
    line-height: 1.14 !important;
  }
}

/* Tablet/mobile: consistent readable bullet spacing with natural height */
@media (max-width: 1060px) {
  section#packages.section.packages .package-card ul {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 9px !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    margin-top: 18px !important;
  }
}


/* v96: shorter package cards with clean consistent rhythm */
@media (min-width: 1061px) {
  /*
    This overrides v95's taller cards.
    Cards are intentionally shorter again so the content does not look lost in empty space.
  */
  section#packages.section.packages {
    --package-card-height: clamp(540px, calc(100svh - 310px), 575px) !important;
    --pkg-icon-row: 78px !important;
    --pkg-title-row: 42px !important;
    --pkg-price-row: 23px !important;
    --pkg-note-row: 16px !important;
    --pkg-desc-row: 48px !important;
    --pkg-bullet-gap: 9px !important;
    --pkg-pill-height: 32px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 22px 22px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* Fixed top rows so price/description levels stay aligned */
  section#packages.section.packages .package-print-visual {
    height: var(--pkg-icon-row) !important;
    min-height: var(--pkg-icon-row) !important;
    max-height: var(--pkg-icon-row) !important;
    flex: 0 0 var(--pkg-icon-row) !important;
    margin: 0 0 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.8) !important;
  }

  section#packages.section.packages .package-card h3 {
    height: var(--pkg-title-row) !important;
    min-height: var(--pkg-title-row) !important;
    max-height: var(--pkg-title-row) !important;
    flex: 0 0 var(--pkg-title-row) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    font-size: clamp(0.98rem, 1vw, 1.1rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  section#packages.section.packages .package-card .price {
    height: var(--pkg-price-row) !important;
    min-height: var(--pkg-price-row) !important;
    max-height: var(--pkg-price-row) !important;
    flex: 0 0 var(--pkg-price-row) !important;
    margin: 5px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    font-size: clamp(1rem, 1.08vw, 1.16rem) !important;
    line-height: 1 !important;
  }

  section#packages.section.packages .package-price-note {
    height: var(--pkg-note-row) !important;
    min-height: var(--pkg-note-row) !important;
    max-height: var(--pkg-note-row) !important;
    flex: 0 0 var(--pkg-note-row) !important;
    margin: 1px 0 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 0.61rem !important;
    line-height: 1.05 !important;
    opacity: 0.78 !important;
  }

  section#packages.section.packages .package-subtitle {
    height: var(--pkg-desc-row) !important;
    min-height: var(--pkg-desc-row) !important;
    max-height: var(--pkg-desc-row) !important;
    flex: 0 0 var(--pkg-desc-row) !important;
    margin: 8px 0 12px !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    color: rgba(255, 255, 255, 0.76) !important;
    overflow: hidden !important;
  }

  /*
    Same bullet spacing on every package card.
    No stretching, no per-card weird spacing.
  */
  section#packages.section.packages .package-card ul {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: var(--pkg-bullet-gap) !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    margin: 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.16 !important;
    gap: 8px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /*
    Bottom pill appears only when needed.
    It sits at the bottom, but does not force the cards to become taller.
  */
  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    transform: translateY(4px) !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    height: var(--pkg-pill-height) !important;
    min-height: var(--pkg-pill-height) !important;
    max-height: var(--pkg-pill-height) !important;
    flex: 0 0 var(--pkg-pill-height) !important;
    margin: auto 0 0 !important;
    padding: 0 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.64rem !important;
  }

  /*
    Keep the price card aligned with the shorter package cards.
  */
  .package-side-summary.quote-summary {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
  }
}

/* Short laptop screens: compact, but not longer */
@media (min-width: 1061px) and (max-height: 920px) {
  section#packages.section.packages {
    --package-card-height: 530px !important;
    --pkg-icon-row: 68px !important;
    --pkg-title-row: 38px !important;
    --pkg-price-row: 21px !important;
    --pkg-note-row: 15px !important;
    --pkg-desc-row: 42px !important;
    --pkg-bullet-gap: 8px !important;
    --pkg-pill-height: 30px !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding: 20px 20px 20px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-bottom: 10px !important;
  }

  section#packages.section.packages .package-icon-shell {
    transform: scale(0.74) !important;
  }

  section#packages.section.packages .package-card h3 {
    font-size: 0.92rem !important;
    line-height: 1.06 !important;
  }

  section#packages.section.packages .package-card .price {
    font-size: 0.96rem !important;
  }

  section#packages.section.packages .package-price-note {
    font-size: 0.57rem !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 7px 0 10px !important;
    font-size: 0.72rem !important;
    line-height: 1.18 !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    font-size: 0.69rem !important;
    line-height: 1.1 !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    font-size: 0.58rem !important;
  }
}

/* Mobile/tablet keep natural height and readable spacing */
@media (max-width: 1060px) {
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  section#packages.section.packages .package-card ul {
    gap: 8px !important;
  }
}


/* v97: lower package card content without making cards taller */
@media (min-width: 1061px) {
  /*
    Keep v96 card height, but move the internal content group lower.
    This fixes the top-heavy look without making the whole section taller.
  */
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding-top: 34px !important;
    padding-bottom: 22px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }

  /*
    Keep rows aligned after moving content down.
    Slightly tighten the description/bullet rhythm so the bottom pill remains safe.
  */
  section#packages.section.packages {
    --pkg-desc-row: 44px !important;
    --pkg-bullet-gap: 8px !important;
  }

  section#packages.section.packages .package-subtitle {
    margin-bottom: 10px !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    line-height: 1.13 !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested .package-combo-hint,
  section#packages.section.packages .package-card.is-combo-added .package-combo-hint {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }
}

/* Laptop-height: stronger lower shift, still no card height increase */
@media (min-width: 1061px) and (max-height: 920px) {
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding-top: 36px !important;
    padding-bottom: 20px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }

  section#packages.section.packages {
    --pkg-desc-row: 39px !important;
    --pkg-bullet-gap: 7px !important;
  }

  section#packages.section.packages .package-card h3 {
    margin-top: 0 !important;
  }

  section#packages.section.packages .package-subtitle {
    margin-bottom: 9px !important;
  }

  section#packages.section.packages .package-card li,
  section#packages.section.packages .package-card[data-package-key="standup"] li,
  section#packages.section.packages .package-card[data-package-key="360"] li {
    line-height: 1.08 !important;
  }
}

/* Very short laptop safety */
@media (min-width: 1061px) and (max-height: 800px) {
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.is-selected,
  section#packages.section.packages .package-card.is-combo-suggested,
  section#packages.section.packages .package-card.is-combo-added,
  section#packages.section.packages .package-card.is-muted {
    padding-top: 30px !important;
    padding-bottom: 18px !important;
  }

  section#packages.section.packages .package-print-visual {
    margin-top: 4px !important;
    margin-bottom: 9px !important;
  }
}


/* v98: package form copy/logic updates */
.outside-location-helper {
  display: block;
  margin-top: 6px;
  color: rgba(255, 42, 35, 0.82);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .outside-location-helper {
    font-size: 0.76rem;
  }
}


/* v100: fixed form/add-on updates without breaking package layout */
.outside-location-helper {
  display: none;
  margin-top: 6px;
  color: rgba(255, 42, 35, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.outside-location-helper.is-visible {
  display: block;
}

.quote-addon-select {
  display: grid;
  gap: 8px;
  align-content: start;
}

.quote-addon-select span {
  font-weight: 800;
}

.quote-addon-select select {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  padding: 0 12px;
  font: inherit;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
  color: #171717;
}

@media (max-width: 768px) {
  .outside-location-helper {
    font-size: 0.76rem;
  }
}


/* v102: polished add-ons layout */
.quote-addons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.quote-addons > label,
.quote-addon-card,
.quote-addon-select {
  min-width: 0 !important;
  min-height: 108px !important;
  border-radius: 22px !important;
  padding: 18px 18px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) minmax(118px, auto) !important;
  grid-template-rows: auto auto !important;
  column-gap: 10px !important;
  row-gap: 6px !important;
  align-items: start !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(20, 20, 20, 0.10) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.quote-addons > label input[type="checkbox"],
.quote-addon-card input[type="checkbox"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  flex: 0 0 auto !important;
}

.quote-addons .addon-title,
.quote-addons > label span,
.quote-addon-card span,
.quote-addon-select span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  color: #171717 !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  overflow-wrap: anywhere !important;
}

.quote-addons .addon-price,
.quote-addons > label b,
.quote-addon-card b,
.quote-addon-select b {
  grid-column: 3 !important;
  grid-row: 1 !important;
  max-width: 170px !important;
  color: #ff241f !important;
  font-size: 0.76rem !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  text-align: right !important;
  white-space: normal !important;
}

.quote-addons .addon-helper,
.quote-addon-card small,
.quote-addon-select small {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  color: rgba(23, 23, 23, 0.58) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.quote-scrapbook-field {
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
}

.quote-scrapbook-field .addon-title,
.quote-scrapbook-field span {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.quote-scrapbook-field .addon-price,
.quote-scrapbook-field b {
  grid-column: 2 !important;
  grid-row: 1 !important;
  max-width: 150px !important;
}

.quote-scrapbook-field select {
  grid-column: 1 / 3 !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin-top: 4px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(20, 20, 20, 0.12) !important;
  padding: 0 12px !important;
  font: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #171717 !important;
}

.quote-wooden-frame-checkbox[hidden] {
  display: none !important;
}

.quote-wooden-frame-checkbox.is-visible {
  display: grid !important;
}

.quote-wooden-frame-checkbox .addon-helper {
  color: rgba(255, 42, 35, 0.72) !important;
}

@media (max-width: 768px) {
  .quote-addons {
    grid-template-columns: 1fr !important;
  }

  .quote-addons > label,
  .quote-addon-card,
  .quote-addon-select {
    min-height: auto !important;
    padding: 16px !important;
    grid-template-columns: auto minmax(0, 1fr) minmax(102px, auto) !important;
  }

  .quote-addons .addon-price,
  .quote-addons > label b,
  .quote-addon-card b,
  .quote-addon-select b {
    max-width: 130px !important;
    font-size: 0.72rem !important;
  }
}


/* v103: compact polished add-ons and Stand-Up-only print sizes */
.quote-addons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.quote-addons > label,
.quote-addon-card,
.quote-addon-select {
  min-width: 0 !important;
  min-height: 82px !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) minmax(96px, auto) !important;
  grid-template-rows: auto auto !important;
  column-gap: 10px !important;
  row-gap: 4px !important;
  align-items: start !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(20, 20, 20, 0.10) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.quote-addons > label input[type="checkbox"],
.quote-addon-card input[type="checkbox"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 17px !important;
  height: 17px !important;
  margin: 2px 0 0 !important;
}

.quote-addons .addon-title,
.quote-addons > label span,
.quote-addon-card span,
.quote-addon-select span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  color: #171717 !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  overflow-wrap: anywhere !important;
}

.quote-addons .addon-price,
.quote-addons > label b,
.quote-addon-card b,
.quote-addon-select b {
  grid-column: 3 !important;
  grid-row: 1 !important;
  max-width: 150px !important;
  color: #ff241f !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: right !important;
  white-space: normal !important;
}

.quote-addons .addon-helper,
.quote-addon-card small,
.quote-addon-select small {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  color: rgba(23, 23, 23, 0.58) !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

.quote-addons .addon-price-helper {
  color: rgba(255, 42, 35, 0.86) !important;
}

/* Select-based add-ons: cleaner title/helper/select stack */
.quote-scrapbook-field,
.quote-print-size-field {
  min-height: 104px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto !important;
}

.quote-scrapbook-field .addon-title,
.quote-print-size-field .addon-title {
  grid-column: 1 / 3 !important;
  grid-row: 1 !important;
}

.quote-scrapbook-field .addon-helper,
.quote-print-size-field .addon-helper {
  grid-column: 1 / 3 !important;
  grid-row: 2 !important;
}

.quote-scrapbook-field .addon-price,
.quote-print-size-field .addon-price {
  display: none !important;
}

.quote-scrapbook-field select,
.quote-print-size-field select {
  grid-column: 1 / 3 !important;
  grid-row: 3 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin-top: 4px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(20, 20, 20, 0.14) !important;
  padding: 0 12px !important;
  font: inherit !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #171717 !important;
}

/* Hidden Stand-Up-only options */
.quote-print-size-field[hidden],
.quote-wooden-frame-checkbox[hidden] {
  display: none !important;
}

.quote-print-size-field.is-visible,
.quote-wooden-frame-checkbox.is-visible {
  display: grid !important;
}

.quote-wooden-frame-checkbox .addon-price {
  color: #ff241f !important;
}

.quote-wooden-frame-checkbox .addon-helper {
  color: rgba(255, 42, 35, 0.72) !important;
}

@media (max-width: 768px) {
  .quote-addons {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .quote-addons > label,
  .quote-addon-card,
  .quote-addon-select {
    min-height: auto !important;
    padding: 14px !important;
    grid-template-columns: auto minmax(0, 1fr) minmax(94px, auto) !important;
  }

  .quote-addons .addon-price,
  .quote-addons > label b,
  .quote-addon-card b,
  .quote-addon-select b {
    max-width: 120px !important;
    font-size: 0.7rem !important;
  }
}


/* v104: add-on text polish */
.quote-scrapbook-field {
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) !important;
  grid-template-rows: auto auto !important;
}

.quote-scrapbook-field .addon-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.quote-scrapbook-field .addon-price {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  max-width: 150px !important;
  color: #ff241f !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: right !important;
  white-space: normal !important;
}

.quote-scrapbook-field select {
  grid-column: 1 / 3 !important;
  grid-row: 2 !important;
}

.quote-addons .addon-helper {
  margin-top: 2px !important;
  color: rgba(23, 23, 23, 0.58) !important;
}

.quote-wooden-frame-checkbox .addon-helper {
  color: rgba(255, 42, 35, 0.72) !important;
}


/* v105: wooden frame helper grey + standalone 360 guest logic */
.quote-wooden-frame-checkbox .addon-helper {
  color: rgba(23, 23, 23, 0.58) !important;
}

.is-disabled-for-360 {
  opacity: 0.78;
}

.is-disabled-for-360::after {
  content: none !important;
  display: block;
  margin-top: 6px;
  color: rgba(23, 23, 23, 0.56);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.3;
}


/* v106: clearer standalone-360 disabled guest state + scrapbook price top-right */
.quote-scrapbook-field,
.quote-addons .quote-scrapbook-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(118px, auto) !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
}

.quote-scrapbook-field > .addon-title,
.quote-addons .quote-scrapbook-field > .addon-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: block !important;
}

.quote-scrapbook-field > .addon-price,
.quote-addons .quote-scrapbook-field > .addon-price {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: start !important;
  max-width: 145px !important;
  margin: 0 !important;
  color: #ff241f !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  text-align: right !important;
  white-space: normal !important;
}

.quote-scrapbook-field > select,
.quote-addons .quote-scrapbook-field > select {
  grid-column: 1 / 3 !important;
  grid-row: 2 !important;
  width: 100% !important;
}

/* Make the guest field obviously inactive when standalone 360 is selected */
.is-disabled-for-360 {
  opacity: 1 !important;
  background: rgba(20, 20, 20, 0.06) !important;
  border: 1.5px dashed rgba(255, 42, 35, 0.5) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 42, 35, 0.08) !important;
}

.is-disabled-for-360 select,
.is-disabled-for-360 input {
  background: rgba(220, 220, 220, 0.92) !important;
  color: rgba(23, 23, 23, 0.45) !important;
  cursor: not-allowed !important;
  filter: grayscale(1) !important;
}

.is-disabled-for-360 > span,
.is-disabled-for-360 label,
.is-disabled-for-360 .field-label {
  color: rgba(23, 23, 23, 0.5) !important;
}

.is-disabled-for-360::after {
  content: none !important;
  display: inline-flex !important;
  margin-top: 8px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 42, 35, 0.08) !important;
  color: rgba(255, 42, 35, 0.9) !important;
  font-size: 0.74rem !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}


/* v107: hide guest field for standalone 360 instead of greying it out */
.is-hidden-for-360,
.is-hidden-for-360[hidden] {
  display: none !important;
}

.is-disabled-for-360,
.is-disabled-for-360 select,
.is-disabled-for-360 input {
  opacity: 1 !important;
  background: inherit !important;
  border-style: solid !important;
  box-shadow: none !important;
  filter: none !important;
}

.is-disabled-for-360::after {
  content: none !important;
  display: none !important;
}


/* v108: infinity guest selection for standalone 360 */
.is-hidden-for-360,
.is-hidden-for-360[hidden] {
  display: grid !important;
}

.is-infinity-for-360 {
  opacity: 1 !important;
  background: rgba(255, 42, 35, 0.045) !important;
  border: 1.5px solid rgba(255, 42, 35, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 42, 35, 0.05) !important;
}

.is-infinity-for-360::after,
.is-disabled-for-360::after {
  content: none !important;
  display: none !important;
}

.is-infinity-for-360 select {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #ff241f !important;
  font-size: 1.2rem !important;
  font-weight: 950 !important;
  text-align: center !important;
  cursor: default !important;
  opacity: 1 !important;
  filter: none !important;
}

.is-infinity-for-360 select:disabled {
  -webkit-text-fill-color: #ff241f !important;
  opacity: 1 !important;
}

.is-infinity-for-360 > span,
.is-infinity-for-360 label,
.is-infinity-for-360 .field-label {
  color: #171717 !important;
  opacity: 1 !important;
}


/* v109: animated actual-hide guest dropdown for standalone 360 */
.is-infinity-for-360 {
  background: inherit !important;
  border: inherit !important;
  box-shadow: none !important;
}

.is-infinity-for-360 select {
  font-size: inherit !important;
  color: inherit !important;
  text-align: inherit !important;
}

.is-guest-hiding-for-360 {
  pointer-events: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translateX(-16px) scale(0.98) !important;
  max-width: 0 !important;
  min-width: 0 !important;
  width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-width: 0 !important;
  transition:
    opacity 0.18s ease,
    transform 0.22s ease,
    max-width 0.24s ease,
    width 0.24s ease,
    padding 0.24s ease,
    margin 0.24s ease,
    border-width 0.24s ease !important;
}

.is-guest-hiding-for-360 * {
  opacity: 0 !important;
}

.is-hidden-for-360,
.is-hidden-for-360[hidden] {
  display: none !important;
}

.is-guest-visible-after-360 {
  transition:
    opacity 0.18s ease,
    transform 0.22s ease !important;
}


/* v110: fixed animated actual-hide guest dropdown for standalone 360 */
.quote-step--grid {
  transition: grid-template-columns 0.26s ease !important;
}

.quote-step--grid.is-guest-row-hiding-for-360 {
  grid-template-columns: 0fr repeat(3, minmax(0, 1fr)) !important;
}

.quote-step--grid.is-guest-row-hidden-for-360 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.is-infinity-for-360 {
  background: inherit !important;
  border: inherit !important;
  box-shadow: none !important;
}

.is-infinity-for-360 select {
  font-size: inherit !important;
  color: inherit !important;
  text-align: inherit !important;
}

.is-guest-hiding-for-360 {
  pointer-events: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translateX(-14px) scale(0.98) !important;
  min-width: 0 !important;
  width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-width: 0 !important;
  transition:
    opacity 0.18s ease,
    transform 0.24s ease,
    width 0.26s ease,
    padding 0.26s ease,
    margin 0.26s ease,
    border-width 0.26s ease !important;
}

.is-guest-hiding-for-360 * {
  opacity: 0 !important;
}

.is-hidden-for-360,
.is-hidden-for-360[hidden] {
  display: none !important;
}

.is-guest-visible-after-360 {
  opacity: 1 !important;
  transform: none !important;
  transition:
    opacity 0.18s ease,
    transform 0.22s ease !important;
}

@media (max-width: 1060px) {
  .quote-step--grid.is-guest-row-hiding-for-360,
  .quote-step--grid.is-guest-row-hidden-for-360 {
    grid-template-columns: 1fr !important;
  }
}


/* v112: smooth guest hide without card-selection breakage */
.quote-step--grid {
  transition: none !important;
}

.quote-step--grid.is-guest-row-hiding-for-360 {
  grid-template-columns: inherit !important;
}

.quote-step--grid.is-guest-row-hidden-for-360 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.is-guest-hiding-for-360 {
  opacity: 1 !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: inherit !important;
  padding-right: inherit !important;
  margin-left: inherit !important;
  margin-right: inherit !important;
  border-width: inherit !important;
  transition: none !important;
}

.is-guest-hiding-for-360 * {
  opacity: 1 !important;
}

.is-hidden-for-360,
.is-hidden-for-360[hidden] {
  display: none !important;
}

.guest-field-ghost {
  will-change: transform, opacity;
  box-shadow: 0 18px 34px rgba(10, 10, 10, 0.08);
}

.guest-field-ghost select,
.guest-field-ghost input,
.guest-field-ghost button {
  pointer-events: none !important;
}

@media (max-width: 1060px) {
  .quote-step--grid.is-guest-row-hidden-for-360 {
    grid-template-columns: 1fr !important;
  }
}


/* v113: dropdown arrow alignment */
.inline-quote-form select,
.quote-field select,
.quote-addon-select select,
.quote-scrapbook-field select,
.quote-print-size-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 46px !important;
  background-image:
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7.5L10 12L14.5 7.5' stroke='%23171717' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  background-position: right 18px center !important;
}

.inline-quote-form select::-ms-expand,
.quote-field select::-ms-expand,
.quote-addon-select select::-ms-expand {
  display: none !important;
}

.quote-scrapbook-field select,
.quote-print-size-field select {
  background-position: right 18px center !important;
  padding-right: 46px !important;
}

/* Slightly tighter on mobile, but still not touching the edge */
@media (max-width: 768px) {
  .inline-quote-form select,
  .quote-field select,
  .quote-addon-select select,
  .quote-scrapbook-field select,
  .quote-print-size-field select {
    background-position: right 16px center !important;
    padding-right: 44px !important;
  }
}


/* v114: wooden frame prices by print size */
.quote-wooden-frame-checkbox .addon-price {
  color: #ff241f !important;
}

.quote-wooden-frame-checkbox .wooden-frame-pricing-helper {
  color: rgba(23, 23, 23, 0.58) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}


/* v115: force wooden frame price display */
.quote-wooden-frame-checkbox .addon-price {
  color: #ff241f !important;
}

.quote-wooden-frame-checkbox .wooden-frame-pricing-helper {
  color: rgba(23, 23, 23, 0.58) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}


/* v116: Stand-Up-only add-on menu visibility */
.standup-only-addon[hidden],
.quote-print-size-field[hidden],
.quote-wooden-frame-checkbox[hidden] {
  display: none !important;
}

.standup-only-addon.is-visible,
.quote-print-size-field.is-visible,
.quote-wooden-frame-checkbox.is-visible {
  display: grid !important;
  animation: standupAddonReveal 0.22s cubic-bezier(.2,.8,.2,1) both;
}

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


/* v117: Stand-Up-only add-ons at top with smoother animation */
.quote-print-size-field,
.quote-wooden-frame-checkbox {
  order: -20 !important;
}

.quote-wooden-frame-checkbox {
  order: -19 !important;
}

.standup-only-addon[hidden],
.quote-print-size-field[hidden],
.quote-wooden-frame-checkbox[hidden] {
  display: none !important;
}

.standup-only-addon.is-visible,
.quote-print-size-field.is-visible,
.quote-wooden-frame-checkbox.is-visible {
  display: grid !important;
}

.standup-only-addon.is-revealing,
.quote-print-size-field.is-revealing,
.quote-wooden-frame-checkbox.is-revealing {
  animation: standupAddonSoftReveal 0.42s cubic-bezier(.18,.9,.22,1) both !important;
  animation-delay: var(--standup-addon-delay, 0ms) !important;
  transform-origin: top center;
  will-change: transform, opacity, filter;
}

.standup-only-addon.is-hiding,
.quote-print-size-field.is-hiding,
.quote-wooden-frame-checkbox.is-hiding {
  display: grid !important;
  animation: standupAddonSoftHide 0.2s cubic-bezier(.4,0,.2,1) both !important;
  transform-origin: top center;
  will-change: transform, opacity, filter;
}

@keyframes standupAddonSoftReveal {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.965);
    filter: blur(2px);
  }
  60% {
    opacity: 1;
    transform: translateY(2px) scale(1.008);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes standupAddonSoftHide {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.975);
    filter: blur(1.5px);
  }
}


/* v118: smoother Stand-Up-only add-on animation, no bounce/end jitter */
.quote-print-size-field,
.quote-wooden-frame-checkbox {
  order: -20 !important;
}

.quote-wooden-frame-checkbox {
  order: -19 !important;
}

.standup-only-addon[hidden],
.quote-print-size-field[hidden],
.quote-wooden-frame-checkbox[hidden] {
  display: none !important;
}

.standup-only-addon.is-visible,
.quote-print-size-field.is-visible,
.quote-wooden-frame-checkbox.is-visible {
  display: grid !important;
}

.standup-only-addon.is-preparing-reveal,
.quote-print-size-field.is-preparing-reveal,
.quote-wooden-frame-checkbox.is-preparing-reveal {
  opacity: 0 !important;
  transform: translateY(-7px) !important;
}

.standup-only-addon.is-revealed,
.quote-print-size-field.is-revealed,
.quote-wooden-frame-checkbox.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition:
    opacity 0.22s ease var(--standup-addon-delay, 0ms),
    transform 0.26s cubic-bezier(.2,.8,.2,1) var(--standup-addon-delay, 0ms) !important;
  animation: none !important;
  filter: none !important;
}

.standup-only-addon.is-hiding,
.quote-print-size-field.is-hiding,
.quote-wooden-frame-checkbox.is-hiding {
  display: grid !important;
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  transition:
    opacity 0.15s ease,
    transform 0.18s ease !important;
  animation: none !important;
  filter: none !important;
}

/* Override v117 keyframe animation classes if they remain in cache/order */
.standup-only-addon.is-revealing,
.quote-print-size-field.is-revealing,
.quote-wooden-frame-checkbox.is-revealing {
  animation: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .standup-only-addon,
  .quote-print-size-field,
  .quote-wooden-frame-checkbox {
    transition: none !important;
    animation: none !important;
  }
}


/* v119: dynamic wooden frame pricing + cleaner print description */
.quote-print-size-field .addon-helper {
  color: rgba(23, 23, 23, 0.58) !important;
}

.quote-wooden-frame-checkbox .addon-price {
  color: #ff241f !important;
}

.quote-wooden-frame-checkbox .wooden-frame-pricing-helper {
  color: rgba(23, 23, 23, 0.58) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}


/* v120: wooden frame quantity dropdown inside the same card */
.quote-wooden-frame-checkbox {
  min-height: 154px !important;
}

.wooden-frame-quantity-wrap {
  grid-column: 2 / 4 !important;
  grid-row: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.85fr) minmax(130px, 1.15fr) !important;
  gap: 8px !important;
  align-items: center !important;
  margin-top: 6px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(23, 23, 23, 0.08) !important;
}

.wooden-frame-quantity-label {
  color: rgba(23, 23, 23, 0.7) !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.wooden-frame-quantity-wrap select {
  width: 100% !important;
  min-height: 38px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(20, 20, 20, 0.14) !important;
  padding: 0 42px 0 12px !important;
  font: inherit !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  color: #171717 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image:
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7.5L10 12L14.5 7.5' stroke='%23171717' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  background-position: right 16px center !important;
}

@media (max-width: 768px) {
  .quote-wooden-frame-checkbox {
    min-height: auto !important;
  }

  .wooden-frame-quantity-wrap {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}


/* v121: cleaner wooden-frame helper + quantity visibility */
.wooden-frame-pricing-helper {
  color: rgba(23, 23, 23, 0.58) !important;
}

.wooden-frame-quantity-wrap[hidden],
.wooden-frame-quantity-wrap.is-hidden {
  display: none !important;
}

.wooden-frame-quantity-wrap.is-visible {
  display: grid !important;
  grid-template-columns: max-content minmax(130px, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  animation: frameQuantityReveal 0.2s ease both;
}

/* Override the general add-on span rules so this label sits in front of the dropdown */
.quote-wooden-frame-checkbox .wooden-frame-quantity-wrap .wooden-frame-quantity-label {
  grid-column: 1 !important;
  grid-row: 1 !important;
  color: rgba(23, 23, 23, 0.72) !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.quote-wooden-frame-checkbox .wooden-frame-quantity-wrap select {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

@keyframes frameQuantityReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .wooden-frame-quantity-wrap.is-visible {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .quote-wooden-frame-checkbox .wooden-frame-quantity-wrap .wooden-frame-quantity-label,
  .quote-wooden-frame-checkbox .wooden-frame-quantity-wrap select {
    grid-column: 1 !important;
  }
}


/* v122: custom frame amount input and calculated frame pricing */
.wooden-frame-pricing-helper {
  color: rgba(23, 23, 23, 0.58) !important;
}

.wooden-frame-custom-input[hidden],
.wooden-frame-custom-input.is-hidden {
  display: none !important;
}

.wooden-frame-custom-input.is-visible {
  grid-column: 1 / 3 !important;
  display: block !important;
  width: 100% !important;
  min-height: 38px !important;
  margin-top: 6px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(20, 20, 20, 0.14) !important;
  padding: 0 12px !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #171717 !important;
  animation: frameQuantityReveal 0.2s ease both;
}

.wooden-frame-custom-input::placeholder {
  color: rgba(23, 23, 23, 0.45);
}


/* v123: custom frame limit + Outside Colombo location required styling */
#woodenFrameCustomQuantity {
  max-width: 100% !important;
}

.outside-location-helper {
  display: none;
}

.outside-location-helper.is-visible {
  display: block !important;
  color: rgba(255, 42, 35, 0.9) !important;
  font-size: 0.76rem !important;
  font-weight: 850 !important;
  line-height: 1.32 !important;
  margin-top: 6px !important;
}

.is-required-location input,
input.field-error {
  border-color: rgba(255, 42, 35, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 42, 35, 0.08) !important;
}


/* v124: 360 service note + cleaner custom frame input */
.package-360-service-note {
  margin: 4px 0 9px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em !important;
}

#woodenFrameCustomQuantity::placeholder {
  color: rgba(23, 23, 23, 0.38) !important;
}
