@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;
}

/* v125: final add-on polish, dropdown stacking, and stronger required-location state */
.inline-quote-form,
.inline-quote-form .quote-step,
.inline-quote-form .quote-addons,
.inline-quote-form .quote-addon-card,
.inline-quote-form .quote-addon-select {
  overflow: visible !important;
}

.quote-addon-card,
.quote-addon-select,
.quote-field {
  position: relative;
  z-index: 1;
}

.quote-addon-card:focus-within,
.quote-addon-select:focus-within,
.quote-field:focus-within {
  z-index: 30;
}

.quote-addon-card select:focus,
.quote-addon-select select:focus,
.quote-field select:focus,
.quote-field input:focus,
.wooden-frame-custom-input:focus {
  border-color: rgba(255, 42, 35, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(255, 42, 35, 0.09) !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: translate3d(0, -8px, 0) scale(0.99) !important;
}

.standup-only-addon.is-revealed,
.quote-print-size-field.is-revealed,
.quote-wooden-frame-checkbox.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  transition:
    opacity 240ms ease var(--standup-addon-delay, 0ms),
    transform 260ms cubic-bezier(.2,.8,.2,1) var(--standup-addon-delay, 0ms) !important;
  will-change: opacity, transform;
}

.standup-only-addon.is-hiding,
.quote-print-size-field.is-hiding,
.quote-wooden-frame-checkbox.is-hiding {
  opacity: 0 !important;
  transform: translate3d(0, -6px, 0) scale(0.992) !important;
  transition:
    opacity 160ms ease,
    transform 180ms ease !important;
  will-change: opacity, transform;
}

.quote-scrapbook-field .addon-price {
  max-width: 120px !important;
}

.package-360-service-note {
  display: inline-flex !important;
  width: fit-content !important;
  margin: 0 0 10px !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.70rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

#woodenFrameCustomQuantity {
  appearance: textfield;
  -moz-appearance: textfield;
}

#woodenFrameCustomQuantity::-webkit-outer-spin-button,
#woodenFrameCustomQuantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.outside-location-helper.is-visible {
  display: block !important;
}

.is-required-location label::after {
  content: " *";
  color: var(--brand-red-dark);
}

input.field-error {
  background: #fffafa !important;
}


/* v126: match 360 note with other cards + more relaxed card text spacing */
section#packages.section.packages .package-360-service-note {
  display: none !important;
}

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

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

section#packages.section.packages .package-card h3 {
  margin-bottom: 12px !important;
  line-height: 1.2 !important;
}

section#packages.section.packages .package-card .price {
  margin-bottom: 10px !important;
  line-height: 1.2 !important;
}

section#packages.section.packages .package-price-note {
  display: block !important;
  margin: 0 0 14px !important;
  line-height: 1.35 !important;
}

section#packages.section.packages .package-subtitle {
  margin: 0 0 18px !important;
  line-height: 1.58 !important;
}

section#packages.section.packages .package-card ul {
  gap: 10px !important;
}

section#packages.section.packages .package-card li {
  line-height: 1.54 !important;
}

@media (max-width: 1060px) {
  section#packages.section.packages .package-card h3 {
    margin-bottom: 10px !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-price-note {
    margin-bottom: 12px !important;
  }

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

  section#packages.section.packages .package-card ul {
    gap: 9px !important;
  }
}


/* v127: 360 card keeps its 4-hour starting price note while using the same spacing style as the other package notes. */

/* v128: make scrapbook dropdown text normal weight */
.quote-scrapbook-field select,
.quote-addons .quote-scrapbook-field select,
.quote-scrapbook-field select option {
  font-weight: 500 !important;
}


/* v129: Laptop scaled-down desktop layout trial
   Goal: keep the same 24-inch desktop structure on laptop screens: 3 package cards on the left, sticky price card on the right, just proportionally tighter. */
@media (min-width: 1061px) and (max-width: 1440px) {
  section#packages.section.packages {
    --package-card-height: clamp(590px, 45vw, 635px) !important;
    --estimate-card-width: clamp(294px, 22.5vw, 318px) !important;
    padding-top: clamp(46px, 5.2vw, 64px) !important;
    padding-bottom: clamp(64px, 7vw, 92px) !important;
  }

  section#packages.section.packages .section-heading {
    width: min(740px, 100%) !important;
    margin-bottom: clamp(22px, 2.5vw, 30px) !important;
  }

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

  section#packages.section.packages h2 {
    font-size: clamp(2rem, 3.25vw, 3rem) !important;
    line-height: 1.06 !important;
  }

  section#packages.section.packages .section-heading p {
    width: min(680px, 100%) !important;
    margin-top: 10px !important;
    font-size: clamp(0.86rem, 0.9vw, 0.96rem) !important;
    line-height: 1.5 !important;
  }

  section#packages.section.packages .packages-layout {
    width: min(1320px, calc(100% - 36px)) !important;
    grid-template-columns: minmax(0, 1fr) var(--estimate-card-width) !important;
    gap: clamp(20px, 2.1vw, 30px) !important;
    align-items: start !important;
    transform: none !important;
  }

  section#packages.section.packages .packages-left-column {
    gap: clamp(22px, 2.2vw, 28px) !important;
  }

  section#packages.section.packages .packages-left-column .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.45vw, 20px) !important;
    align-items: stretch !important;
  }

  section#packages.section.packages .package-card {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: clamp(22px, 1.85vw, 28px) clamp(20px, 1.8vw, 26px) clamp(58px, 5vw, 72px) !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual {
    height: clamp(108px, 10.2vw, 132px) !important;
    margin: -4px 0 clamp(10px, 1.1vw, 14px) !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: clamp(98px, 9vw, 116px) !important;
    max-height: clamp(98px, 9vw, 116px) !important;
  }

  section#packages.section.packages .package-art--standup,
  section#packages.section.packages .package-card.featured .package-art--standup {
    max-width: clamp(124px, 11.4vw, 148px) !important;
    max-height: clamp(92px, 8.4vw, 108px) !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: clamp(104px, 9.5vw, 124px) !important;
    max-height: clamp(104px, 9.5vw, 124px) !important;
  }

  section#packages.section.packages .package-card h3 {
    margin-bottom: 9px !important;
    font-size: clamp(1rem, 1.04vw, 1.16rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.022em !important;
    overflow-wrap: normal !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 7px !important;
    font-size: clamp(0.92rem, 0.95vw, 1.03rem) !important;
    line-height: 1.2 !important;
  }

  section#packages.section.packages .package-price-note {
    margin: 0 0 11px !important;
    font-size: clamp(0.68rem, 0.72vw, 0.78rem) !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 0 0 13px !important;
    font-size: clamp(0.82rem, 0.86vw, 0.94rem) !important;
    line-height: 1.48 !important;
    min-height: 0 !important;
  }

  section#packages.section.packages .package-card ul {
    gap: clamp(6px, 0.58vw, 9px) !important;
    align-content: start !important;
  }

  section#packages.section.packages .package-card li {
    font-size: clamp(0.78rem, 0.82vw, 0.9rem) !important;
    line-height: 1.42 !important;
    column-gap: 8px !important;
  }

  section#packages.section.packages .package-card li::before {
    line-height: 1.42 !important;
  }

  section#packages.section.packages .package-combo-hint {
    left: clamp(16px, 1.5vw, 20px) !important;
    right: clamp(16px, 1.5vw, 20px) !important;
    bottom: clamp(14px, 1.35vw, 18px) !important;
    min-height: 32px !important;
    padding: 8px 10px !important;
    font-size: clamp(0.68rem, 0.72vw, 0.75rem) !important;
  }

  section#packages.section.packages .package-side-summary.quote-summary {
    width: var(--estimate-card-width) !important;
    max-width: var(--estimate-card-width) !important;
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: clamp(20px, 1.7vw, 24px) !important;
    top: 82px !important;
  }

  section#packages.section.packages .package-side-summary .quote-total {
    font-size: clamp(2.05rem, 2.8vw, 2.7rem) !important;
  }

  section#packages.section.packages .package-side-summary .quote-note {
    font-size: clamp(0.78rem, 0.82vw, 0.87rem) !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown {
    gap: 7px !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown p {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown span {
    font-size: 0.74rem !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown strong {
    font-size: clamp(0.76rem, 0.79vw, 0.82rem) !important;
    line-height: 1.25 !important;
  }

  section#packages.section.packages .package-side-summary .quote-whatsapp {
    min-height: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
    font-size: clamp(0.82rem, 0.86vw, 0.9rem) !important;
  }
}

/* Small laptop fallback: keep the same desktop structure, but scale a little more so it still feels like the 24-inch layout. */
@media (min-width: 1061px) and (max-width: 1280px) {
  section#packages.section.packages {
    --package-card-height: 580px !important;
    --estimate-card-width: 288px !important;
    padding-top: 42px !important;
  }

  section#packages.section.packages .packages-layout {
    width: min(1248px, calc(100% - 28px)) !important;
    gap: 18px !important;
  }

  section#packages.section.packages .packages-left-column .package-grid {
    gap: 12px !important;
  }

  section#packages.section.packages .package-card {
    padding: 20px 18px 56px !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual {
    height: 100px !important;
    margin-bottom: 8px !important;
  }

  section#packages.section.packages .package-card h3 {
    font-size: 0.98rem !important;
    margin-bottom: 7px !important;
  }

  section#packages.section.packages .package-card .price {
    font-size: 0.9rem !important;
    margin-bottom: 6px !important;
  }

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

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

  section#packages.section.packages .package-card ul {
    gap: 5.5px !important;
  }

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

  section#packages.section.packages .package-card li::before {
    line-height: 1.34 !important;
  }

  section#packages.section.packages .package-side-summary.quote-summary {
    padding: 18px !important;
    top: 76px !important;
  }

  section#packages.section.packages .package-side-summary .quote-total {
    font-size: 2.02rem !important;
  }

  section#packages.section.packages .package-side-summary .quote-note {
    font-size: 0.76rem !important;
  }

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

/* v130: laptop short-screen cleanup for 1366x768 and similar notebooks
   Keep the 24-inch desktop structure, but scale by viewport height so cards do not run past the fold.
   Also keep the hero phone/delivery pills inside the hero instead of fixed over the Packages section. */
.hero .phone-pill,
.hero .delivery-pill {
  position: absolute !important;
  bottom: 22px !important;
}

@media (min-width: 1061px) and (max-width: 1440px) and (max-height: 820px) {
  section#packages.section.packages {
    --package-card-height: clamp(500px, calc(100svh - 220px), 545px) !important;
    --estimate-card-width: clamp(292px, 22vw, 310px) !important;
    padding-top: clamp(26px, 3.4vw, 42px) !important;
    padding-bottom: clamp(58px, 6vw, 82px) !important;
  }

  section#packages.section.packages .section-heading {
    width: min(760px, 100%) !important;
    margin-bottom: clamp(18px, 2vw, 24px) !important;
  }

  section#packages.section.packages .section-heading .kicker {
    margin-bottom: 8px !important;
    font-size: 0.64rem !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2rem, 3.1vw, 2.72rem) !important;
    line-height: 1.04 !important;
  }

  section#packages.section.packages .section-heading p {
    margin-top: 8px !important;
    font-size: clamp(0.82rem, 0.9vw, 0.92rem) !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .packages-layout {
    width: min(1280px, calc(100% - 34px)) !important;
    gap: clamp(18px, 1.8vw, 24px) !important;
  }

  section#packages.section.packages .packages-left-column {
    gap: 20px !important;
  }

  section#packages.section.packages .packages-left-column .package-grid {
    gap: clamp(13px, 1.25vw, 17px) !important;
  }

  section#packages.section.packages .package-card {
    height: var(--package-card-height) !important;
    min-height: var(--package-card-height) !important;
    max-height: var(--package-card-height) !important;
    padding: 20px 20px 52px !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual {
    height: clamp(78px, 7.1vw, 96px) !important;
    margin: -2px 0 10px !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: clamp(80px, 7.2vw, 96px) !important;
    max-height: clamp(80px, 7.2vw, 96px) !important;
  }

  section#packages.section.packages .package-art--standup,
  section#packages.section.packages .package-card.featured .package-art--standup {
    max-width: clamp(104px, 9.4vw, 128px) !important;
    max-height: clamp(76px, 6.9vw, 94px) !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: clamp(86px, 7.8vw, 104px) !important;
    max-height: clamp(86px, 7.8vw, 104px) !important;
  }

  section#packages.section.packages .package-card h3 {
    margin-bottom: 8px !important;
    font-size: clamp(0.98rem, 1.03vw, 1.08rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.024em !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 6px !important;
    font-size: clamp(0.9rem, 0.95vw, 1rem) !important;
    line-height: 1.18 !important;
  }

  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-360-service-note {
    margin: 0 0 9px !important;
    font-size: clamp(0.64rem, 0.7vw, 0.72rem) !important;
    line-height: 1.22 !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 0 0 10px !important;
    font-size: clamp(0.77rem, 0.82vw, 0.86rem) !important;
    line-height: 1.34 !important;
    min-height: 0 !important;
  }

  section#packages.section.packages .package-card ul {
    gap: clamp(4.5px, 0.45vw, 6px) !important;
    align-content: start !important;
  }

  section#packages.section.packages .package-card li {
    font-size: clamp(0.71rem, 0.77vw, 0.82rem) !important;
    line-height: 1.28 !important;
    column-gap: 7px !important;
  }

  section#packages.section.packages .package-card li::before {
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-combo-hint {
    bottom: 13px !important;
    min-height: 30px !important;
    padding: 7px 9px !important;
    font-size: 0.68rem !important;
  }

  section#packages.section.packages .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;
    width: var(--estimate-card-width) !important;
    max-width: var(--estimate-card-width) !important;
    padding: 20px !important;
    top: 70px !important;
  }

  section#packages.section.packages .package-side-summary .quote-summary-kicker {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }

  section#packages.section.packages .package-side-summary .quote-total {
    flex-basis: 74px !important;
    min-height: 74px !important;
    height: 74px !important;
    font-size: clamp(2rem, 2.75vw, 2.52rem) !important;
    line-height: 0.92 !important;
  }

  section#packages.section.packages .package-side-summary .quote-combo-saving,
  section#packages.section.packages .package-side-summary #quoteComboSaving,
  section#packages.section.packages .package-side-summary .quote-combo-saving[hidden],
  section#packages.section.packages .package-side-summary #quoteComboSaving[hidden] {
    flex-basis: 26px !important;
    min-height: 26px !important;
    height: 26px !important;
    margin-bottom: 8px !important;
    font-size: 0.74rem !important;
  }

  section#packages.section.packages .package-side-summary .quote-note {
    flex-basis: 84px !important;
    min-height: 84px !important;
    height: 84px !important;
    margin-bottom: 10px !important;
    font-size: clamp(0.74rem, 0.78vw, 0.8rem) !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown {
    padding: 10px 0 !important;
    gap: 6px !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown p {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown span {
    font-size: 0.72rem !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown strong {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
  }

  section#packages.section.packages .package-side-summary .quote-whatsapp {
    min-height: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    margin-top: 10px !important;
    font-size: 0.82rem !important;
  }
}

/* Extra safety for 1280x720 notebooks. The layout remains desktop-style but avoids clipping. */
@media (min-width: 1061px) and (max-width: 1300px) and (max-height: 760px) {
  section#packages.section.packages {
    --package-card-height: clamp(475px, calc(100svh - 205px), 505px) !important;
    --estimate-card-width: 286px !important;
  }

  section#packages.section.packages .packages-layout {
    width: min(1248px, calc(100% - 26px)) !important;
    gap: 16px !important;
  }

  section#packages.section.packages .package-card {
    padding: 18px 17px 48px !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual {
    height: 72px !important;
    margin-bottom: 8px !important;
  }

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

  section#packages.section.packages .package-side-summary.quote-summary {
    padding: 18px !important;
  }
}

/* v132: controlled laptop scale trial
   Base: v130. Keep the desktop package format, then scale the whole packages
   content down on laptop-height screens instead of manually changing every gap. */
@media (min-width: 1061px) and (max-width: 1500px) and (max-height: 920px) {
  section#packages.section.packages {
    --package-laptop-zoom: 0.93;
  }

  section#packages.section.packages .section-heading,
  section#packages.section.packages .packages-layout {
    zoom: var(--package-laptop-zoom);
  }

  section#packages.section.packages .section-heading {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  section#packages.section.packages .packages-layout {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  section#packages.section.packages .package-side-summary.quote-summary {
    display: flex !important;
    flex-direction: column !important;
  }

  section#packages.section.packages .package-side-summary .quote-breakdown {
    flex: 1 1 auto !important;
    align-content: start !important;
  }

  section#packages.section.packages .package-side-summary .quote-whatsapp {
    margin-top: auto !important;
  }
}

@media (min-width: 1061px) and (max-width: 1380px) and (max-height: 820px) {
  section#packages.section.packages {
    --package-laptop-zoom: 0.90;
  }
}

@media (min-width: 1061px) and (max-width: 1300px) and (max-height: 760px) {
  section#packages.section.packages {
    --package-laptop-zoom: 0.88;
  }
}

/* Fallback for browsers that do not support zoom: use a conservative transform.
   Chrome/Edge/Safari will use zoom above, so this should rarely be used. */
@supports not (zoom: 1) {
  @media (min-width: 1061px) and (max-width: 1500px) and (max-height: 920px) {
    section#packages.section.packages .section-heading,
    section#packages.section.packages .packages-layout {
      transform: scale(var(--package-laptop-zoom));
      transform-origin: top center;
    }
  }
}


/* v133: controlled laptop scale trial for the front/hero page
   Keep the same 24-inch front-page layout, but scale the hero content down on laptop-height screens. */
@media (min-width: 1061px) and (max-width: 1500px) and (max-height: 920px) {
  .hero {
    --hero-laptop-zoom: 0.94;
    --hero-pad-top: 10px;
    --hero-pad-bottom: 16px;
    min-height: 100svh;
  }

  .hero .nav,
  .hero .hero-copy,
  .hero .print-hook,
  .hero .phone-pill,
  .hero .delivery-pill {
    zoom: var(--hero-laptop-zoom);
  }

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

  .hero .hero-copy {
    margin-top: clamp(8px, 1.4vh, 14px);
  }

  .hero .print-hook {
    margin-top: clamp(14px, 2.2vh, 20px);
  }
}

@media (min-width: 1061px) and (max-width: 1380px) and (max-height: 820px) {
  .hero {
    --hero-laptop-zoom: 0.90;
    --hero-pad-top: 8px;
    --hero-pad-bottom: 12px;
  }

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

  .hero .print-hook {
    margin-top: 12px;
  }
}

@media (min-width: 1061px) and (max-width: 1300px) and (max-height: 760px) {
  .hero {
    --hero-laptop-zoom: 0.87;
  }

  .hero .print-hook {
    margin-top: 10px;
  }
}

@supports not (zoom: 1) {
  @media (min-width: 1061px) and (max-width: 1500px) and (max-height: 920px) {
    .hero .nav,
    .hero .hero-copy,
    .hero .print-hook {
      transform: scale(var(--hero-laptop-zoom));
      transform-origin: top center;
    }
  }
}

/* v134: laptop pill cleanup
   Keep the phone/free-delivery pills attached to the hero bottom and scale them down
   separately from the main hero zoom so they do not become oversized or float awkwardly. */
.hero .phone-pill,
.hero .delivery-pill {
  position: absolute !important;
  z-index: 45;
  white-space: nowrap;
}

@media (min-width: 1061px) and (max-width: 1500px) and (max-height: 920px) {
  .hero .phone-pill,
  .hero .delivery-pill {
    zoom: 1 !important;
    bottom: 16px !important;
    min-height: 31px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    line-height: 1 !important;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.20) !important;
  }

  .hero .phone-pill {
    left: 22px !important;
  }

  .hero .delivery-pill {
    right: 22px !important;
  }
}

@media (min-width: 1061px) and (max-width: 1380px) and (max-height: 820px) {
  .hero .phone-pill,
  .hero .delivery-pill {
    bottom: 12px !important;
    min-height: 29px !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    box-shadow: 0 6px 13px rgba(0, 0, 0, 0.18) !important;
  }

  .hero .phone-pill {
    left: 18px !important;
  }

  .hero .delivery-pill {
    right: 18px !important;
  }
}

@media (min-width: 1061px) and (max-width: 1300px) and (max-height: 760px) {
  .hero .phone-pill,
  .hero .delivery-pill {
    bottom: 10px !important;
    min-height: 28px !important;
    padding: 0 9px !important;
    font-size: 0.72rem !important;
  }

  .hero .phone-pill {
    left: 16px !important;
  }

  .hero .delivery-pill {
    right: 16px !important;
  }
}

/* v135: floating contact pills only on the home hero and final contact section.
   They stay fixed at the bottom of the viewport when the hero/contact section is active,
   then fade out while scrolling through the middle sections. */
body .hero .phone-pill,
body .hero .delivery-pill {
  position: fixed !important;
  z-index: 95 !important;
  bottom: 22px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) scale(0.985) !important;
  transition:
    opacity 220ms ease,
    transform 220ms var(--ease),
    visibility 0s linear 220ms !important;
}

body .hero .phone-pill {
  left: 30px !important;
  right: auto !important;
}

body .hero .delivery-pill {
  right: 30px !important;
  left: auto !important;
}

body.show-floating-pills .hero .phone-pill,
body.show-floating-pills .hero .delivery-pill {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  transition:
    opacity 220ms ease,
    transform 220ms var(--ease),
    visibility 0s linear 0s !important;
}

@media (min-width: 1061px) and (max-width: 1500px) and (max-height: 920px) {
  body .hero .phone-pill,
  body .hero .delivery-pill {
    bottom: 16px !important;
    min-height: 31px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.20) !important;
  }

  body .hero .phone-pill {
    left: 22px !important;
  }

  body .hero .delivery-pill {
    right: 22px !important;
  }
}

@media (min-width: 1061px) and (max-width: 1380px) and (max-height: 820px) {
  body .hero .phone-pill,
  body .hero .delivery-pill {
    bottom: 12px !important;
    min-height: 29px !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    box-shadow: 0 6px 13px rgba(0, 0, 0, 0.18) !important;
  }

  body .hero .phone-pill {
    left: 18px !important;
  }

  body .hero .delivery-pill {
    right: 18px !important;
  }
}

@media (min-width: 1061px) and (max-width: 1300px) and (max-height: 760px) {
  body .hero .phone-pill,
  body .hero .delivery-pill {
    bottom: 10px !important;
    min-height: 28px !important;
    padding: 0 9px !important;
    font-size: 0.72rem !important;
  }

  body .hero .phone-pill {
    left: 16px !important;
  }

  body .hero .delivery-pill {
    right: 16px !important;
  }
}

/* Keep mobile usable: show the pills as a small bottom stack only on hero/contact. */
@media (max-width: 900px) {
  body .hero .phone-pill,
  body .hero .delivery-pill {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    text-align: center !important;
  }

  body .hero .phone-pill {
    bottom: 12px !important;
  }

  body .hero .delivery-pill {
    bottom: 56px !important;
  }
}

/* v136: mobile-first polish pass
   Goal: keep the premium design but make the phone layout clean, readable, and safe.
   This only targets phone-sized screens; laptop scaling from v132-v135 stays untouched. */
@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    background: #111111;
  }

  .hero {
    min-height: 100svh;
    padding: 8px 0 calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .nav {
    width: min(100% - 28px, 440px) !important;
    padding-top: 4px !important;
    z-index: 120;
  }

  .brand img {
    height: clamp(50px, 13vw, 62px) !important;
    max-width: 112px !important;
  }

  .mobile-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .mobile-menu {
    right: 0 !important;
    top: calc(100% + 9px) !important;
    width: min(280px, calc(100vw - 28px)) !important;
    padding: 9px !important;
    border-radius: 18px !important;
    z-index: 115 !important;
  }

  .mobile-menu a {
    min-height: 42px !important;
    font-size: 0.92rem !important;
  }

  .hero-copy {
    width: 100% !important;
    margin-top: clamp(14px, 3.8svh, 26px) !important;
    padding: 0 16px !important;
  }

  .hero-copy h1 {
    max-width: 390px !important;
    font-size: clamp(2.32rem, 11.6vw, 3.02rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.058em !important;
  }

  .hero-copy p {
    max-width: 350px !important;
    margin-top: 12px !important;
    font-size: clamp(0.94rem, 3.9vw, 1.04rem) !important;
    line-height: 1.42 !important;
  }

  .event-tags {
    width: 100vw !important;
    max-width: none !important;
    margin-top: 16px !important;
    padding: 0 16px 4px !important;
    gap: 9px !important;
  }

  .event-tags span {
    min-height: 25px !important;
    padding: 0 14px !important;
    font-size: 0.78rem !important;
  }

  .print-hook {
    --slot-height: 44px;
    --slot-overlap: calc(-1 * var(--slot-height) + 21px);
    --print-width: min(348px, calc(100vw - 38px));
    --slot-width: min(calc(100vw - 22px), calc(var(--print-width) + 48px));
    --slit-width: min(calc(100vw - 48px), calc(var(--print-width) + 20px));
    width: 100% !important;
    margin-top: clamp(20px, 4svh, 30px) !important;
  }

  .slot-shell {
    height: var(--slot-height) !important;
  }

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

  .print-viewport {
    width: var(--print-width) !important;
    height: clamp(340px, 93vw, 372px) !important;
    min-height: clamp(340px, 93vw, 372px) !important;
  }

  .tilt-layer {
    width: 100% !important;
  }

  .polaroid-card {
    min-height: clamp(314px, 86vw, 342px) !important;
    padding: 13px 13px 17px !important;
    border-radius: 2px;
  }

  .photo-window {
    aspect-ratio: 16 / 9.25 !important;
  }

  .polaroid-meta {
    gap: 7px !important;
    padding-top: 9px !important;
  }

  .polaroid-card p {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }

  .icon-button {
    width: 29px !important;
    height: 29px !important;
  }

  .icon-button svg {
    width: 21px !important;
    height: 21px !important;
  }

  .social-row {
    column-gap: 8px !important;
  }

  .section {
    padding: 58px 16px !important;
  }

  .section-heading {
    margin-bottom: 28px !important;
  }

  .section h2,
  .contact-card h2 {
    font-size: clamp(2rem, 10.8vw, 2.78rem) !important;
    line-height: 1.05 !important;
  }

  .section-heading p,
  .contact-card p {
    font-size: 0.94rem !important;
    line-height: 1.58 !important;
  }

  .why-choose {
    padding-top: 64px !important;
    padding-bottom: 60px !important;
  }

  .why-heading {
    margin-bottom: 28px !important;
  }

  .why-trust-badge {
    width: 100% !important;
    padding: 18px 18px !important;
    border-radius: 26px !important;
  }

  .trust-number {
    font-size: clamp(3rem, 16vw, 4.1rem) !important;
  }

  .trust-copy {
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  .why-grid.premium-feature-grid {
    width: min(100%, 440px) !important;
    gap: 14px !important;
  }

  .why-card {
    min-height: 0 !important;
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .why-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
  }

  .why-card h3 {
    margin-bottom: 8px !important;
    font-size: 1.08rem !important;
  }

  .why-card p {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  section#packages.section.packages {
    padding: 56px 0 68px !important;
  }

  section#packages.section.packages .section-heading {
    width: min(calc(100% - 28px), 440px) !important;
    margin: 0 auto 24px !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2.05rem, 10.4vw, 2.78rem) !important;
    line-height: 1.04 !important;
  }

  section#packages.section.packages .section-heading p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  section#packages.section.packages .packages-layout {
    width: min(calc(100% - 24px), 440px) !important;
    max-width: min(calc(100% - 24px), 440px) !important;
    gap: 16px !important;
  }

  section#packages.section.packages .package-grid {
    gap: 14px !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 20px 22px !important;
    border-radius: 22px !important;
    opacity: 1 !important;
    filter: none !important;
  }

  section#packages.section.packages .package-print-visual {
    height: 92px !important;
    flex-basis: 92px !important;
    margin: 4px 0 14px !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: 96px !important;
    max-height: 96px !important;
  }

  section#packages.section.packages .package-art--standup,
  section#packages.section.packages .package-card.featured .package-art--standup {
    max-width: 126px !important;
    max-height: 94px !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: 104px !important;
    max-height: 104px !important;
  }

  section#packages.section.packages .package-card h3 {
    margin-bottom: 8px !important;
    font-size: 1.12rem !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
  }

  section#packages.section.packages .package-card .price {
    margin: 0 0 6px !important;
    font-size: 1.05rem !important;
  }

  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-360-service-note {
    margin: 0 0 10px !important;
    font-size: 0.7rem !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 0 0 13px !important;
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
  }

  section#packages.section.packages .package-card ul {
    gap: 8px !important;
  }

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

  .package-select-badge {
    top: 12px !important;
    right: 12px !important;
    padding: 6px 9px !important;
    font-size: 0.66rem !important;
    box-shadow: 0 8px 18px rgba(255, 42, 35, 0.18) !important;
  }

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    border-radius: 14px !important;
    font-size: 0.74rem !important;
    line-height: 1.2 !important;
  }

  .package-side-summary.quote-summary {
    order: 2 !important;
    padding: 20px !important;
    border-radius: 24px !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-summary-kicker {
    font-size: 0.72rem !important;
  }

  .package-side-summary .quote-total {
    min-height: 0 !important;
    height: auto !important;
    font-size: clamp(2.08rem, 11vw, 2.72rem) !important;
    line-height: 0.98 !important;
  }

  .package-side-summary .quote-note {
    margin: 14px 0 16px !important;
    font-size: 0.86rem !important;
    line-height: 1.44 !important;
  }

  .package-side-summary .quote-breakdown {
    gap: 9px !important;
    margin-bottom: 18px !important;
    overflow: visible !important;
  }

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

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

  .package-side-summary .quote-whatsapp {
    min-height: 52px !important;
    height: auto !important;
    margin-top: 12px !important;
    padding: 0 16px !important;
    font-size: 0.9rem !important;
    line-height: 1.18 !important;
  }

  .inline-configurator {
    order: 3 !important;
  }

  .inline-quote-form {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .quote-step-head {
    gap: 11px !important;
    margin-bottom: 14px !important;
  }

  .quote-step-number {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    border-radius: 14px !important;
  }

  .quote-step h3 {
    font-size: 1.04rem !important;
  }

  .quote-step p {
    font-size: 0.88rem !important;
  }

  .quote-field label {
    font-size: 0.84rem !important;
  }

  .quote-field select,
  .quote-field input,
  .quote-addons select,
  .wooden-frame-custom-input {
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
  }

  .quote-addons {
    gap: 11px !important;
  }

  .quote-addons label,
  .quote-addon-card {
    min-height: auto !important;
    padding: 15px !important;
    border-radius: 18px !important;
  }

  .quote-addon-select {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .quote-addon-select select {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 2px !important;
    font-weight: 400 !important;
  }

  .quote-addon-card .addon-title,
  .quote-addons span {
    font-size: 0.9rem !important;
  }

  .quote-addons b,
  .addon-price {
    font-size: 0.8rem !important;
    white-space: normal !important;
    text-align: right !important;
  }

  .addon-helper {
    grid-column: 1 / -1 !important;
    margin-top: 2px !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .quote-wooden-frame-checkbox {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: start !important;
  }

  .wooden-frame-quantity-wrap {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .wooden-frame-quantity-wrap.is-visible {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .wooden-frame-custom-input.is-visible {
    display: block !important;
    width: 100% !important;
  }

  .quote-availability {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }

  .quote-availability-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .outside-location-helper {
    font-size: 0.77rem !important;
    line-height: 1.32 !important;
  }

  .contact {
    padding-top: 64px !important;
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .contact-card {
    padding: 30px 20px !important;
    border-radius: 24px !important;
  }

  .contact-actions {
    gap: 10px !important;
  }

  .contact-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
  }

  body .hero .phone-pill,
  body .hero .delivery-pill {
    left: 12px !important;
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.75rem !important;
  }

  body .hero .phone-pill {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body .hero .delivery-pill {
    bottom: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: clamp(2.18rem, 11.4vw, 2.46rem) !important;
  }

  .hero-copy p {
    max-width: 320px !important;
    font-size: 0.92rem !important;
  }

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

  .print-viewport {
    height: 336px !important;
    min-height: 336px !important;
  }

  .polaroid-card {
    min-height: 308px !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 18px !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.84rem !important;
  }

  .package-side-summary.quote-summary,
  .inline-quote-form {
    padding: 17px !important;
  }
}

/* v137: mobile compact package selector + checkout-style floating quote drawer.
   Mobile only. Laptop/desktop layouts stay untouched. */
.mobile-quote-dock,
.mobile-quote-backdrop,
.mobile-quote-drawer {
  display: none;
}

@media (max-width: 700px) {
  section#packages.section.packages {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

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

  section#packages.section.packages .section-heading p {
    max-width: 360px !important;
    margin-top: 8px !important;
    font-size: 0.86rem !important;
    line-height: 1.42 !important;
  }

  section#packages.section.packages .package-side-summary.quote-summary {
    display: none !important;
  }

  section#packages.section.packages .packages-layout {
    gap: 12px !important;
  }

  section#packages.section.packages .packages-left-column {
    gap: 14px !important;
  }

  section#packages.section.packages .package-grid {
    gap: 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 {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 13px 14px !important;
    border-radius: 18px !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "packageIcon packageTitle"
      "packageIcon packagePrice"
      "packageIcon packageNote"
      "packageIcon packageSubtitle"
      "packageHint packageHint";
    column-gap: 12px !important;
    row-gap: 2px !important;
    align-items: center !important;
    overflow: visible !important;
    opacity: 1 !important;
    filter: none !important;
  }

  section#packages.section.packages .package-card.is-selected {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 42, 35, 0.82) !important;
    box-shadow:
      0 16px 34px rgba(255, 42, 35, 0.16),
      0 0 0 1px rgba(255, 42, 35, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  section#packages.section.packages .package-card.is-combo-added {
    border-color: rgba(56, 161, 105, 0.72) !important;
    box-shadow:
      0 16px 34px rgba(56, 161, 105, 0.13),
      0 0 0 1px rgba(56, 161, 105, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

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

  section#packages.section.packages .package-print-visual {
    grid-area: packageIcon !important;
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
  }

  section#packages.section.packages .package-icon-shell--image {
    width: 58px !important;
    height: 58px !important;
  }

  section#packages.section.packages .package-art {
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22)) !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: 44px !important;
    max-height: 54px !important;
  }

  section#packages.section.packages .package-art--standup,
  section#packages.section.packages .package-card.featured .package-art--standup {
    max-width: 58px !important;
    max-height: 44px !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: 50px !important;
    max-height: 50px !important;
  }

  section#packages.section.packages .package-card h3 {
    grid-area: packageTitle !important;
    margin: 0 !important;
    padding-right: 58px !important;
    font-size: 0.98rem !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }

  section#packages.section.packages .package-card .price {
    grid-area: packagePrice !important;
    margin: 3px 0 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.1 !important;
  }

  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-360-service-note {
    grid-area: packageNote !important;
    margin: 2px 0 0 !important;
    font-size: 0.64rem !important;
    line-height: 1.22 !important;
    color: rgba(255, 255, 255, 0.56) !important;
  }

  section#packages.section.packages .package-subtitle {
    grid-area: packageSubtitle !important;
    margin: 5px 0 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  section#packages.section.packages .package-card ul {
    display: none !important;
  }

  section#packages.section.packages .package-combo-hint {
    grid-area: packageHint !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    min-height: 28px !important;
    padding: 6px 9px !important;
    border-radius: 12px !important;
    font-size: 0.68rem !important;
    line-height: 1.16 !important;
    transform: none !important;
  }

  section#packages.section.packages .package-card:not(.is-combo-suggested):not(.is-combo-added) .package-combo-hint {
    display: none !important;
  }

  .package-select-badge {
    top: 10px !important;
    right: 10px !important;
    padding: 5px 8px !important;
    font-size: 0.62rem !important;
    box-shadow: 0 8px 16px rgba(255, 42, 35, 0.18) !important;
  }

  .inline-configurator {
    margin-top: 2px !important;
  }

  .inline-quote-form {
    padding-bottom: 20px !important;
  }

  .mobile-quote-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 145;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.985);
    transition:
      opacity 220ms ease,
      transform 220ms var(--ease),
      visibility 0s linear 220ms;
  }

  body.show-mobile-quote-dock .mobile-quote-dock {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity 220ms ease,
      transform 220ms var(--ease),
      visibility 0s linear 0s;
  }

  .mobile-quote-dock-button {
    width: 100%;
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    color: #ffffff;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 42, 35, 0.32), transparent 34%),
      linear-gradient(180deg, rgba(44, 45, 49, 0.98), rgba(21, 22, 26, 0.99));
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.30),
      0 0 0 1px rgba(255, 42, 35, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .mobile-quote-dock-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .mobile-quote-dock-label {
    color: #ff8b84;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.13em;
  }

  .mobile-quote-dock-copy strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-quote-dock-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(255, 42, 35, 0.22);
  }

  .mobile-quote-backdrop {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: block;
    background: rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
  }

  .mobile-quote-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 165;
    display: block;
    max-height: min(76svh, 680px);
    padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 0;
    color: #ffffff;
    background:
      radial-gradient(circle at top left, rgba(255, 42, 35, 0.14), transparent 35%),
      linear-gradient(180deg, rgba(40, 41, 45, 0.99), rgba(20, 21, 24, 1));
    box-shadow: 0 -22px 55px rgba(0, 0, 0, 0.36);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(102%);
    transition:
      opacity 240ms ease,
      transform 280ms var(--ease),
      visibility 0s linear 280ms;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-quote-open .mobile-quote-backdrop,
  body.mobile-quote-open .mobile-quote-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 220ms ease,
      transform 280ms var(--ease),
      visibility 0s linear 0s;
  }

  body.mobile-quote-open .mobile-quote-backdrop {
    transform: none;
  }

  body.mobile-quote-open {
    overflow: hidden;
  }

  .mobile-quote-drawer-handle {
    width: 42px;
    height: 4px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
  }

  .mobile-quote-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
  }

  .mobile-quote-drawer-kicker {
    display: block;
    margin-bottom: 5px;
    color: #ff8b84;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-quote-drawer h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .mobile-quote-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-quote-drawer-total {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: clamp(2.05rem, 11vw, 2.8rem);
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: -0.045em;
  }

  .mobile-quote-drawer-saving {
    display: inline-flex;
    margin: 2px 0 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #8df0b5;
    background: rgba(56, 161, 105, 0.12);
    font-size: 0.78rem;
    font-weight: 900;
  }

  .mobile-quote-drawer-saving[hidden] {
    display: none !important;
  }

  .mobile-quote-drawer-breakdown {
    display: grid;
    gap: 9px;
    margin: 12px 0 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .mobile-quote-drawer-breakdown p {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    align-items: start;
  }

  .mobile-quote-drawer-breakdown span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.25;
  }

  .mobile-quote-drawer-breakdown strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    line-height: 1.32;
    overflow-wrap: break-word;
  }

  .mobile-quote-drawer-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
    color: #ffffff;
    font-weight: 950;
    text-align: center;
    line-height: 1.15;
    box-shadow: 0 14px 30px rgba(255, 42, 35, 0.22);
  }

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

  body.show-mobile-quote-dock .hero .phone-pill,
  body.show-mobile-quote-dock .hero .delivery-pill,
  body.mobile-quote-open .hero .phone-pill,
  body.mobile-quote-open .hero .delivery-pill {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* v138: mobile expandable package bullet points.
   Mobile only. Desktop/laptop package cards stay untouched. */
.mobile-includes-toggle {
  display: none;
}

@media (max-width: 700px) {
  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 {
    grid-template-areas:
      "packageIcon packageTitle"
      "packageIcon packagePrice"
      "packageIcon packageNote"
      "packageIcon packageSubtitle"
      "packageIncludes packageIncludes"
      "packageDetails packageDetails"
      "packageHint packageHint" !important;
  }

  section#packages.section.packages .mobile-includes-toggle {
    grid-area: packageIncludes !important;
    width: 100%;
    min-height: 34px;
    margin-top: 9px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255, 42, 35, 0.22);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 42, 35, 0.10);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  section#packages.section.packages .mobile-includes-toggle::after {
    content: "↓";
    flex: 0 0 auto;
    color: #ff8b84;
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1;
    transition: transform 180ms ease;
  }

  section#packages.section.packages .package-card.mobile-includes-open .mobile-includes-toggle::after {
    transform: rotate(180deg);
  }

  section#packages.section.packages .mobile-includes-toggle:focus-visible {
    outline: 3px solid rgba(255, 42, 35, 0.30);
    outline-offset: 3px;
  }

  section#packages.section.packages .package-card ul {
    grid-area: packageDetails !important;
    display: none !important;
    margin: 8px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }

  section#packages.section.packages .package-card.mobile-includes-open ul {
    display: grid !important;
    gap: 6px !important;
    animation: mobileIncludesReveal 180ms ease both;
  }

  section#packages.section.packages .package-card.mobile-includes-open .package-subtitle {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card.mobile-includes-open li {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 8px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
  }

  section#packages.section.packages .package-card.mobile-includes-open li::before {
    margin: 0 !important;
    line-height: 1.28 !important;
  }

  @keyframes mobileIncludesReveal {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* v139: mobile selected-state polish + swipe-friendly quote drawer.
   Mobile only. Laptop/desktop selectors remain untouched. */
@media (max-width: 700px) {
  /* Restore the desktop-like focus behaviour on mobile compact cards. */
  section#packages.section.packages .package-card.is-muted {
    opacity: 0.42 !important;
    filter: saturate(0.45) brightness(0.92) !important;
    transform: scale(0.985) !important;
  }

  section#packages.section.packages .package-card.is-muted:hover,
  section#packages.section.packages .package-card.is-muted:active {
    opacity: 0.62 !important;
    filter: saturate(0.65) brightness(0.96) !important;
  }

  section#packages.section.packages .package-card.is-selected {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-1px) !important;
  }

  section#packages.section.packages .package-card.is-combo-suggested {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-1px) !important;
  }

  section#packages.section.packages .package-card.is-combo-added {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-1px) !important;
  }

  /* Green Added badge on mobile combo cards, without the white outer ring. */
  section#packages.section.packages .package-card.is-combo-added .package-select-badge {
    background: linear-gradient(180deg, #3fcb79, #228b54) !important;
    box-shadow: 0 8px 16px rgba(56, 161, 105, 0.22) !important;
  }

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

  .mobile-quote-drawer {
    touch-action: pan-y;
    overscroll-behavior: contain;
    will-change: transform;
  }

  .mobile-quote-drawer-handle,
  .mobile-quote-drawer-head {
    touch-action: none;
  }

  .mobile-quote-drawer.is-dragging {
    transition: none !important;
  }
}


/* v141: keep premium print size dropdown normal weight + hide scrapbook for standalone 360 */
.quote-print-size-field select,
.quote-addons .quote-print-size-field select,
.quote-print-size-field select option {
  font-weight: 500 !important;
}

.quote-scrapbook-field.is-hidden-for-360 {
  display: none !important;
}

/* v142: required date/location UX + WhatsApp-green quote buttons */
.required-mark {
  color: var(--brand-red-dark);
  font-weight: 950;
}

.required-field-helper {
  display: block;
  margin-top: 6px;
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.28;
}

.quote-required-hint,
.mobile-quote-required-hint {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.22);
  color: #a8f3c3;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
}

.mobile-quote-required-hint {
  margin-top: 10px;
}

.quote-whatsapp,
.mobile-quote-drawer-whatsapp {
  background: linear-gradient(180deg, #25D366, #128C7E) !important;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24) !important;
}

.quote-whatsapp:hover,
.mobile-quote-drawer-whatsapp:hover {
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.30) !important;
}

.quote-whatsapp.is-disabled,
.quote-whatsapp[aria-disabled="true"],
.mobile-quote-drawer-whatsapp.is-disabled,
.mobile-quote-drawer-whatsapp[aria-disabled="true"] {
  opacity: 0.52;
  filter: grayscale(0.18);
}

.quote-field input:required:focus {
  border-color: rgba(37, 211, 102, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.10) !important;
}

@media (max-width: 700px) {
  .required-field-helper {
    font-size: 0.72rem;
    margin-top: 5px;
  }

  .quote-required-hint,
  .mobile-quote-required-hint {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}


/* v143: required-details reminder no longer sits inside the desktop price card.
   The disabled WhatsApp button text gives the instruction, while the form fields show required markers. */
.package-side-summary .quote-required-hint {
  display: none !important;
}

/* Keep the mobile bottom-sheet reminder available, but compact. */
@media (max-width: 700px) {
  .mobile-quote-required-hint {
    margin: 10px 0 10px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 0.76rem !important;
    line-height: 1.28 !important;
  }
}

/* Required helpers should guide users without adding much height. */
.required-field-helper,
.outside-location-helper {
  display: block;
  max-width: 100%;
}

@media (min-width: 1061px) {
  .quote-availability-grid .required-field-helper,
  .quote-availability-grid .outside-location-helper {
    font-size: 0.72rem;
    line-height: 1.22;
  }
}

/* v145: keep blocked/required-action buttons red; only real WhatsApp send buttons are green */
.quote-whatsapp:not(.is-disabled):not([aria-disabled="true"]),
.mobile-quote-drawer-whatsapp:not(.is-disabled):not([aria-disabled="true"]) {
  background: linear-gradient(180deg, #25D366, #128C7E) !important;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24) !important;
}

.quote-whatsapp:not(.is-disabled):not([aria-disabled="true"]):hover,
.mobile-quote-drawer-whatsapp:not(.is-disabled):not([aria-disabled="true"]):hover {
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.30) !important;
}

.quote-whatsapp.is-disabled,
.quote-whatsapp[aria-disabled="true"],
.mobile-quote-drawer-whatsapp.is-disabled,
.mobile-quote-drawer-whatsapp[aria-disabled="true"] {
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark)) !important;
  box-shadow: 0 16px 34px rgba(255, 42, 35, 0.22) !important;
  opacity: 0.68;
  filter: none;
}

.quote-whatsapp.is-disabled:hover,
.quote-whatsapp[aria-disabled="true"]:hover,
.mobile-quote-drawer-whatsapp.is-disabled:hover,
.mobile-quote-drawer-whatsapp[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: 0 16px 34px rgba(255, 42, 35, 0.22) !important;
}


/* v147: clean required-field copy so the booking form does not feel warning-heavy */
.quote-availability .quote-step-head p {
  max-width: 720px;
}

/* The red asterisk and the disabled button already explain what is required.
   Keep the form visually clean by hiding repeated helper/warning lines. */
.quote-availability-grid .required-field-helper,
.quote-availability-grid .outside-location-helper {
  display: none !important;
}

.quote-field 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;
  background: #fff !important;
}

/* v148: cleaner dropdown/date controls + date-picker usability polish */
.inline-quote-form select,
.quote-field select,
.quote-addon-select select,
.quote-scrapbook-field select,
.quote-print-size-field select,
.wooden-frame-quantity-wrap select {
  min-height: 50px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(17, 17, 17, 0.10) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.94)),
    url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.25 7.5L10 12.25L14.75 7.5' stroke='%23ff2a23' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 100% 100%, 16px 16px !important;
  background-position: 0 0, right 18px center !important;
  color: #171717 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(17, 17, 17, 0.035) !important;
  cursor: pointer !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease !important;
}

.inline-quote-form select:hover,
.quote-field select:hover,
.quote-addon-select select:hover,
.quote-scrapbook-field select:hover,
.quote-print-size-field select:hover,
.wooden-frame-quantity-wrap select:hover {
  border-color: rgba(255, 42, 35, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 12px 26px rgba(17, 17, 17, 0.055) !important;
}

.inline-quote-form select:focus,
.quote-field select:focus,
.quote-addon-select select:focus,
.quote-scrapbook-field select:focus,
.quote-print-size-field select:focus,
.wooden-frame-quantity-wrap select:focus {
  border-color: rgba(255, 42, 35, 0.55) !important;
  box-shadow:
    0 0 0 4px rgba(255, 42, 35, 0.09),
    0 14px 30px rgba(17, 17, 17, 0.06) !important;
  outline: none !important;
}

.quote-field input[type="date"],
.quote-field input[type="time"],
.quote-field input[type="text"],
.quote-field input[type="tel"] {
  min-height: 50px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(17, 17, 17, 0.10) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.94)) !important;
  color: #171717 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(17, 17, 17, 0.035) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

.quote-field input[type="date"],
.quote-field input[type="time"] {
  cursor: pointer !important;
}

.quote-field input[type="date"]::-webkit-calendar-picker-indicator,
.quote-field input[type="time"]::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  padding: 8px;
  margin-right: -5px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.78;
  filter: saturate(1.15);
}

.quote-field input[type="date"]::-webkit-calendar-picker-indicator:hover,
.quote-field input[type="time"]::-webkit-calendar-picker-indicator:hover {
  background: rgba(255, 42, 35, 0.08);
  opacity: 1;
}

.quote-field input[type="date"]::-webkit-datetime-edit,
.quote-field input[type="time"]::-webkit-datetime-edit {
  font-weight: 500;
  color: #171717;
}

.quote-field input[type="date"]:focus,
.quote-field input[type="time"]:focus,
.quote-field input[type="text"]:focus,
.quote-field input[type="tel"]:focus {
  border-color: rgba(255, 42, 35, 0.55) !important;
  box-shadow:
    0 0 0 4px rgba(255, 42, 35, 0.09),
    0 14px 30px rgba(17, 17, 17, 0.06) !important;
  outline: none !important;
}

/* Keep add-on dropdowns visually integrated inside their cards. */
.quote-addon-select select,
.quote-scrapbook-field select,
.quote-print-size-field select {
  margin-top: 8px !important;
}

.wooden-frame-quantity-wrap select {
  min-height: 40px !important;
  border-radius: 14px !important;
  background-position: 0 0, right 14px center !important;
  background-size: 100% 100%, 14px 14px !important;
}

@media (max-width: 700px) {
  .inline-quote-form select,
  .quote-field select,
  .quote-addon-select select,
  .quote-scrapbook-field select,
  .quote-print-size-field select,
  .quote-field input[type="date"],
  .quote-field input[type="time"],
  .quote-field input[type="text"],
  .quote-field input[type="tel"] {
    min-height: 48px !important;
    border-radius: 16px !important;
    font-size: 0.92rem !important;
    background-position: 0 0, right 16px center !important;
  }
}

/* v151: mobile floating UI safety spacing
   Prevent the mobile checkout footer and contact pills from covering section text. */
@media (max-width: 700px) {
  :root {
    --floating-pill-stack-space: calc(104px + env(safe-area-inset-bottom, 0px));
    --mobile-quote-dock-space: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  /* The hero uses floating phone/delivery pills, so reserve breathing room below
     the printed photo area instead of letting the pills sit on top of content. */
  .hero {
    padding-bottom: calc(32px + var(--floating-pill-stack-space)) !important;
  }

  /* Keep the mobile quote checkout from covering the last booking fields while
     the Packages section is active. */
  section#packages.section.packages {
    padding-bottom: calc(54px + var(--mobile-quote-dock-space)) !important;
  }

  section#packages.section.packages .inline-quote-form {
    padding-bottom: calc(22px + var(--mobile-quote-dock-space)) !important;
  }

  section#packages.section.packages .quote-availability,
  section#packages.section.packages .quote-availability-grid,
  section#packages.section.packages .quote-field:last-child {
    scroll-margin-bottom: var(--mobile-quote-dock-space) !important;
  }

  /* The final contact section also shows the phone/delivery pills. Add enough
     bottom room so the CTA card, paragraph, and buttons stay visible. */
  section#contact.contact {
    min-height: 100svh !important;
    padding-bottom: calc(78px + var(--floating-pill-stack-space)) !important;
  }

  section#contact.contact .contact-card {
    margin-bottom: var(--floating-pill-stack-space) !important;
  }

  body .hero .phone-pill,
  body .hero .delivery-pill {
    max-width: calc(100vw - 28px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    z-index: 155 !important;
  }

  body .hero .phone-pill {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body .hero .delivery-pill {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-quote-dock {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 150 !important;
  }

  .mobile-quote-dock-button {
    min-height: 60px !important;
    max-height: 74px !important;
    overflow: hidden !important;
  }
}

@media (max-width: 380px) {
  :root {
    --floating-pill-stack-space: calc(96px + env(safe-area-inset-bottom, 0px));
    --mobile-quote-dock-space: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  body .hero .phone-pill,
  body .hero .delivery-pill {
    font-size: 0.72rem !important;
    min-height: 33px !important;
  }

  body .hero .delivery-pill {
    bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-quote-dock {
    left: 10px !important;
    right: 10px !important;
  }

  .mobile-quote-dock-button {
    min-height: 58px !important;
    padding: 9px 11px 9px 13px !important;
    gap: 8px !important;
  }

  .mobile-quote-dock-copy strong {
    font-size: 0.84rem !important;
  }

  .mobile-quote-dock-price {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.84rem !important;
  }
}

/* v152: keep floating UI from covering mobile content
   - Hide the mobile quote dock as soon as the Contact section enters the viewport.
   - Reserve real room inside the Contact card for the phone/free-delivery pills. */
@media (max-width: 700px) {
  /* The dock should feel attached to Packages only, not overlap the final CTA. */
  body:not(.show-mobile-quote-dock) .mobile-quote-dock {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
  }

  section#contact.contact {
    padding-top: 60px !important;
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)) !important;
  }

  section#contact.contact .contact-card {
    /* Keep WhatsApp / Email buttons above the fixed phone + delivery pills. */
    padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px)) !important;
    margin-bottom: 0 !important;
  }

  section#contact.contact .contact-actions {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 0 !important;
  }

  /* Make the final-section floating pills slimmer so they read as contact helpers,
     not as content-blocking banners. */
  body.show-floating-pills .hero .phone-pill,
  body.show-floating-pills .hero .delivery-pill {
    min-height: 32px !important;
    font-size: 0.72rem !important;
    padding: 0 11px !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
  }

  body.show-floating-pills .hero .phone-pill {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.show-floating-pills .hero .delivery-pill {
    bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 380px) {
  section#contact.contact .contact-card {
    padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* v153: legal footer with business address */
.site-footer {
  position: relative;
  isolation: isolate;
  padding: clamp(54px, 7vw, 86px) clamp(18px, 5vw, 92px) clamp(28px, 4vw, 42px);
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 42, 35, 0.14), transparent 34%),
    radial-gradient(circle at 10% 72%, rgba(255, 255, 255, 0.055), transparent 25%),
    #101010;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10px 10px, rgba(255, 42, 35, 0.12) 0 2px, transparent 2.7px),
    radial-gradient(circle at 30px 30px, rgba(255, 42, 35, 0.055) 0 1.5px, transparent 2.2px);
  background-size: 42px 42px;
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, black 0, black 74%, transparent 100%);
  animation: backgroundFloat 22s linear infinite;
}

.site-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 15px;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
}

.footer-brand img {
  height: clamp(52px, 5vw, 72px);
  width: auto;
  object-fit: contain;
}

.footer-brand-block p,
.footer-brand-block address,
.footer-links-block span,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-brand-block address {
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 42, 35, 0.20);
  background: rgba(255, 255, 255, 0.045);
  font-style: normal;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links-block {
  display: grid;
  gap: 9px;
}

.footer-links-block h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links-block a,
.footer-links-block span {
  width: fit-content;
}

.footer-links-block a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links-block a:hover {
  color: #ff776f;
  transform: translateX(2px);
}

.footer-legal-list span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding-top: 20px;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p:first-child {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.footer-bottom p:last-child {
  max-width: 760px;
  justify-self: end;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .site-footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom p:last-child {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding: 50px 20px calc(30px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand img {
    height: 58px;
  }

  .footer-brand-block p,
  .footer-brand-block address,
  .footer-links-block a,
  .footer-links-block span {
    font-size: 0.9rem;
  }

  .footer-brand-block address {
    max-width: none;
  }

  .footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
  }
}

/* v154: footer cleanup, social links, plain address, aligned legal text */
.site-footer-inner {
  grid-template-columns: minmax(280px, 1.65fr) repeat(3, minmax(150px, 0.7fr));
}

.footer-brand-block address {
  max-width: 360px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-style: normal;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.78);
}

.footer-social-block {
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.footer-bottom {
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
  align-items: start;
  gap: clamp(18px, 3vw, 44px);
}

.footer-bottom p:first-child,
.footer-bottom p:last-child {
  margin: 0;
}

.footer-bottom p:last-child {
  max-width: 840px;
  justify-self: end;
  text-align: left;
}

@media (max-width: 980px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-bottom p:last-child {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .footer-social-link {
    min-height: 34px;
  }

  .footer-bottom {
    gap: 12px;
  }
}

/* v155: footer alignment polish + white logo card + mobile-friendly footer layout */
.site-footer {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(30px, 4vw, 46px);
}

.site-footer-inner {
  width: min(1180px, 100%);
  grid-template-columns: minmax(330px, 1.45fr) minmax(130px, 0.55fr) minmax(170px, 0.68fr) minmax(210px, 0.78fr);
  gap: clamp(26px, 4.2vw, 58px);
  align-items: start;
}

.footer-brand-block {
  max-width: 440px;
  align-content: start;
  gap: 16px;
}

.footer-brand {
  padding: 12px 16px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  height: clamp(48px, 4.2vw, 66px);
  max-width: 150px;
}

.footer-brand-block p {
  max-width: 410px;
  margin: 0;
}

.footer-brand-block address {
  max-width: 390px;
  margin: 0;
  line-height: 1.55;
}

.footer-links-block {
  align-content: start;
  justify-items: start;
  gap: 10px;
  min-width: 0;
}

.footer-links-block h3 {
  margin-bottom: 8px;
  line-height: 1.15;
}

.footer-links-block a,
.footer-links-block span {
  max-width: 100%;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.footer-social-link svg {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.footer-legal-list span {
  line-height: 1.45;
}

.footer-bottom {
  width: min(1180px, 100%);
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
  gap: clamp(20px, 3.6vw, 52px);
}

.footer-bottom p:first-child {
  line-height: 1.45;
}

.footer-bottom p:last-child {
  justify-self: stretch;
  max-width: none;
  text-align: left;
  line-height: 1.58;
}

@media (max-width: 1100px) {
  .site-footer-inner {
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(130px, 1fr));
    gap: 28px;
  }

  .footer-brand-block {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 28px 34px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 640px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding: 46px 18px calc(34px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer-inner {
    width: min(430px, 100%);
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .footer-brand-block {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 0 4px 8px;
  }

  .footer-brand {
    padding: 11px 15px;
    border-radius: 18px;
  }

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

  .footer-brand-block p {
    max-width: 350px;
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .footer-brand-block address {
    max-width: 330px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .footer-links-block {
    width: 100%;
    justify-items: center;
    gap: 9px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .footer-links-block h3 {
    margin-bottom: 4px;
    font-size: 0.78rem;
  }

  .footer-social-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
  }

  .footer-social-block h3 {
    grid-column: 1 / -1;
  }

  .footer-social-link {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-links-block a,
  .footer-links-block span {
    width: auto;
    text-align: center;
    font-size: 0.9rem;
  }

  .footer-bottom {
    width: min(430px, 100%);
    margin-top: 24px;
    padding-top: 18px;
    text-align: center;
  }

  .footer-bottom p:first-child,
  .footer-bottom p:last-child {
    text-align: center;
    justify-self: center;
  }

  .footer-bottom p:last-child {
    max-width: 360px;
    font-size: 0.78rem;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .footer-social-link {
    gap: 7px;
    font-size: 0.84rem !important;
  }

  .footer-social-link svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}

/* v156: legal pages + booking policy consent */
.quote-legal-consent {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.10);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.quote-legal-consent label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  cursor: pointer;
}

.quote-legal-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-red);
}

.quote-legal-consent span {
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.5;
}

.quote-legal-consent a {
  color: var(--brand-red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.quote-legal-consent small {
  display: block;
  margin-top: 8px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.quote-legal-consent.is-error {
  border-color: rgba(255, 42, 35, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 42, 35, 0.08);
}

.quote-legal-consent.is-error small {
  color: var(--brand-red-dark);
}


.footer-legal-list a {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  line-height: 1.45;
}

.footer-legal-list a:hover {
  color: #ff776f;
}

.legal-body {
  background: #f5f5f5;
  color: var(--ink);
}

.legal-page-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.94), rgba(250, 250, 250, 0.98) 58%, #f5f5f5 100%);
}

.legal-nav {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-brand {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.10);
}

.legal-brand img {
  height: clamp(48px, 5vw, 66px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-nav-links a,
.legal-back-link {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--brand-red-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 42, 35, 0.22);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.07);
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.legal-nav-links a:hover,
.legal-back-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 42, 35, 0.06);
}

.legal-hero-section {
  position: relative;
  min-height: 290px;
  padding: clamp(58px, 8vw, 94px) 18px clamp(36px, 5vw, 56px);
  display: grid;
  place-items: center;
  text-align: center;
}

.legal-pattern {
  position: absolute;
  inset: 45% 0 0;
  z-index: -2;
  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.45;
  mask-image: linear-gradient(to bottom, transparent 0, black 20%, black 88%, transparent 100%);
  animation: backgroundFloat 18s linear infinite;
}

.legal-hero-copy {
  width: min(840px, 100%);
}

.legal-hero-copy h1 {
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-hero-copy p {
  margin-top: 14px;
  color: #666;
  font-size: 1rem;
  font-weight: 800;
}

.legal-content-section {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(64px, 8vw, 96px);
}

.legal-card {
  padding: clamp(24px, 5vw, 48px);
  border-radius: 30px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.08);
}

.legal-card h2 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #4c4c4c;
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal-card p + p,
.legal-card ul + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 12px 0 0 1.1rem;
  display: grid;
  gap: 7px;
}

.legal-card a {
  color: var(--brand-red-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back-link {
  margin-top: 22px;
}

@media (max-width: 700px) {
  .quote-legal-consent {
    padding: 14px;
    border-radius: 18px;
  }

  .quote-legal-consent span {
    font-size: 0.8rem;
  }

  .legal-nav {
    width: min(430px, calc(100% - 28px));
    padding-top: 10px;
  }

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

  .legal-nav-links {
    gap: 7px;
  }

  .legal-nav-links a {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.8rem;
  }

  .legal-hero-section {
    min-height: 230px;
    padding-top: 42px;
  }

  .legal-content-section {
    width: min(430px, calc(100% - 24px));
  }

  .legal-card {
    border-radius: 24px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 0.92rem;
    line-height: 1.72;
  }
}

/* v159: tablet / iPad layout polish
   Targets iPad Mini, iPad, iPad Air/Pro portrait and smaller tablet landscape sizes.
   Keeps phone-specific checkout drawer below 700px and desktop layout above 1060px. */

@media (min-width: 701px) and (max-width: 1060px) {
  body {
    overflow-x: hidden !important;
  }

  /* Tablet hero: make the homepage feel designed for iPad, not stretched phone UI. */
  .hero {
    min-height: 100svh !important;
    padding: clamp(12px, 2.2vw, 22px) clamp(22px, 4vw, 42px) clamp(118px, 13vw, 150px) !important;
    --logo-height: clamp(62px, 8vw, 78px);
    --hero-copy-gap: clamp(26px, 4vh, 42px);
    --hero-title-size: clamp(3.45rem, 8vw, 5.4rem);
    --subtitle-gap: 16px;
    --tags-gap: 18px;
    --print-gap: clamp(36px, 5vh, 54px);
  }

  .nav {
    width: min(820px, 100%) !important;
  }

  .brand img {
    max-width: 150px !important;
  }

  .hero-copy {
    width: min(760px, 100%) !important;
    margin-top: var(--hero-copy-gap) !important;
    padding: 0 !important;
  }

  .hero-copy h1 {
    max-width: 760px !important;
    font-size: var(--hero-title-size) !important;
    line-height: 0.98 !important;
  }

  .hero-copy p {
    max-width: 620px !important;
    font-size: clamp(1.05rem, 2.15vw, 1.24rem) !important;
  }

  .event-tags {
    width: min(760px, 100%) !important;
    max-width: 760px !important;
    padding: 0 !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 10px 12px !important;
  }

  .event-tags span {
    min-height: 30px !important;
    padding: 0 17px !important;
    font-size: 0.86rem !important;
  }

  .print-hook {
    --slot-height: 50px;
    --print-width: min(660px, calc(100vw - 92px));
    --slot-width: min(760px, calc(var(--print-width) + 72px));
    --slit-width: min(720px, calc(var(--print-width) + 34px));
    width: min(820px, 100%) !important;
    margin-top: var(--print-gap) !important;
  }

  .print-viewport {
    width: var(--print-width) !important;
    height: clamp(430px, 58vw, 500px) !important;
    min-height: clamp(430px, 58vw, 500px) !important;
  }

  .tilt-layer {
    width: 100% !important;
  }

  .polaroid-card {
    min-height: clamp(394px, 54vw, 462px) !important;
    padding: clamp(17px, 2.5vw, 24px) clamp(18px, 2.8vw, 26px) clamp(24px, 3vw, 32px) !important;
  }

  .photo-window {
    aspect-ratio: 16 / 8.9 !important;
  }

  .hero .phone-pill,
  .hero .delivery-pill {
    position: absolute !important;
    z-index: 25 !important;
    bottom: 24px !important;
    min-height: 38px !important;
    max-width: calc(50vw - 44px) !important;
    padding: 0 15px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .hero .phone-pill {
    left: clamp(22px, 4vw, 42px) !important;
  }

  .hero .delivery-pill {
    right: clamp(22px, 4vw, 42px) !important;
  }

  /* Why choose us: two-column tablet cards instead of one long phone column. */
  .why-choose {
    padding: clamp(76px, 9vw, 104px) clamp(26px, 5vw, 52px) !important;
  }

  .why-heading {
    width: min(820px, 100%) !important;
  }

  .why-trust-badge {
    width: min(760px, 100%) !important;
    min-height: 116px !important;
    border-radius: 34px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .trust-number {
    min-width: 150px !important;
    font-size: clamp(3.2rem, 9vw, 4.8rem) !important;
  }

  .trust-copy {
    text-align: left !important;
    min-height: 0 !important;
  }

  .why-grid.premium-feature-grid {
    width: min(840px, 100%) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

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

  .why-card:nth-child(5) {
    grid-column: 1 / -1 !important;
    min-height: auto !important;
  }

  /* Packages: two-column tablet selector, clean price card, form below. */
  section#packages.section.packages {
    min-height: auto !important;
    padding: clamp(62px, 8vw, 86px) 0 clamp(72px, 9vw, 98px) !important;
  }

  section#packages.section.packages .section-heading {
    width: min(790px, calc(100% - 44px)) !important;
    margin-bottom: 28px !important;
  }

  section#packages.section.packages h2 {
    font-size: clamp(2.6rem, 7vw, 4.2rem) !important;
    line-height: 1.04 !important;
  }

  section#packages.section.packages .section-heading p {
    width: min(700px, 100%) !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .packages-layout {
    width: min(860px, calc(100% - 44px)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    transform: none !important;
  }

  .packages-left-column {
    display: contents !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    order: 1 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding: 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;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 24px 28px !important;
    overflow: visible !important;
    transform: none !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: 1 / -1 !important;
    width: min(420px, 100%) !important;
    max-width: 420px !important;
    justify-self: center !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual {
    height: 118px !important;
    flex: 0 0 118px !important;
    margin: 0 0 16px !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: 104px !important;
    max-height: 104px !important;
  }

  section#packages.section.packages .package-art--standup,
  section#packages.section.packages .package-card.featured .package-art--standup {
    max-width: 136px !important;
    max-height: 100px !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: 112px !important;
    max-height: 112px !important;
  }

  section#packages.section.packages .package-card h3 {
    min-height: 0 !important;
    margin-bottom: 9px !important;
    font-size: clamp(1.08rem, 2vw, 1.24rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.024em !important;
    overflow-wrap: normal !important;
  }

  section#packages.section.packages .package-card .price {
    margin-bottom: 7px !important;
    font-size: 1.05rem !important;
  }

  section#packages.section.packages .package-price-note {
    margin-bottom: 10px !important;
    font-size: 0.74rem !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 0 !important;
    margin-bottom: 14px !important;
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .package-card ul {
    display: grid !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.87rem !important;
    line-height: 1.34 !important;
    white-space: normal !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;
    width: 100% !important;
    min-height: 34px !important;
    height: auto !important;
    max-height: none !important;
    margin: 14px 0 0 !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
    line-height: 1.15 !important;
    transform: none !important;
    white-space: normal !important;
  }

  section#packages.section.packages .package-card:not(.is-combo-suggested):not(.is-combo-added) .package-combo-hint {
    display: none !important;
  }

  .package-select-badge {
    top: 14px !important;
    right: 14px !important;
  }

  .package-side-summary.quote-summary {
    order: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 24px !important;
    position: relative !important;
    top: auto !important;
    display: grid !important;
    grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1fr) !important;
    gap: 0 24px !important;
    overflow: visible !important;
  }

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

  .package-side-summary .quote-summary-kicker,
  .package-side-summary .quote-total,
  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving,
  .package-side-summary .quote-note,
  .package-side-summary .quote-breakdown,
  .package-side-summary .quote-whatsapp {
    flex: none !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .package-side-summary .quote-summary-kicker {
    grid-column: 1 !important;
    margin: 0 0 8px !important;
  }

  .package-side-summary .quote-total {
    grid-column: 1 !important;
    align-items: start !important;
    font-size: clamp(2.35rem, 6vw, 3.4rem) !important;
    line-height: 0.94 !important;
  }

  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving {
    grid-column: 1 !important;
    margin: 12px 0 0 !important;
    width: fit-content !important;
    visibility: visible;
  }

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

  .package-side-summary .quote-note {
    grid-column: 1 !important;
    margin: 14px 0 0 !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  .package-side-summary .quote-breakdown {
    grid-column: 2 !important;
    grid-row: 1 / span 4 !important;
    margin: 0 !important;
    padding: 0 0 0 22px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.11) !important;
    gap: 9px !important;
  }

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

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

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

  .package-side-summary .quote-whatsapp {
    grid-column: 1 / -1 !important;
    margin-top: 22px !important;
    min-height: 52px !important;
    font-size: 0.92rem !important;
  }

  .inline-configurator {
    order: 3 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .inline-quote-form {
    width: 100% !important;
    padding: 22px !important;
    border-radius: 28px !important;
  }

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

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

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

  .quote-addons > label,
  .quote-addon-card,
  .quote-addon-select {
    min-height: 86px !important;
  }

  .quote-legal-consent {
    margin-top: 16px !important;
    padding: 15px !important;
  }

  .quote-legal-consent span {
    font-size: 0.84rem !important;
  }

  /* Contact and footer: proper tablet spacing. */
  .contact {
    padding: clamp(80px, 10vw, 112px) clamp(28px, 6vw, 60px) !important;
  }

  .contact-card {
    width: min(760px, 100%) !important;
  }

  .site-footer {
    padding: clamp(62px, 8vw, 88px) clamp(26px, 5vw, 52px) clamp(34px, 5vw, 48px) !important;
  }

  .site-footer-inner {
    width: min(860px, 100%) !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 30px 42px !important;
    text-align: left !important;
  }

  .footer-brand-block {
    grid-column: 1 / -1 !important;
    max-width: 700px !important;
  }

  .footer-links-block {
    justify-items: start !important;
  }

  .footer-bottom {
    width: min(860px, 100%) !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .footer-bottom p:last-child {
    text-align: left !important;
    justify-self: start !important;
  }

  /* Legal pages on tablets. */
  .legal-nav {
    width: min(860px, calc(100% - 44px)) !important;
  }

  .legal-content-section {
    width: min(840px, calc(100% - 44px)) !important;
  }

  .legal-card {
    border-radius: 28px !important;
  }
}

/* iPad Mini and 768px tablets: keep tablet behavior, not phone behavior. */
@media (min-width: 701px) and (max-width: 768px) {
  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: 1 / -1 !important;
  }

  .package-side-summary.quote-summary {
    display: grid !important;
  }

  .mobile-quote-dock,
  .mobile-quote-backdrop,
  .mobile-quote-drawer {
    display: none !important;
  }
}

/* Tablet landscape / 1024px-ish: soften desktop hero and nav so it does not feel cramped. */
@media (min-width: 901px) and (max-width: 1060px) and (orientation: landscape) {
  .nav-left,
  .nav-right {
    gap: 9px !important;
  }

  .nav-left a,
  .btn {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 0.84rem !important;
  }

  .hero {
    --logo-height: 60px;
    --hero-copy-gap: 12px;
    --hero-title-size: clamp(2.85rem, 5.2vw, 3.65rem);
    --subtitle-gap: 10px;
    --tags-gap: 11px;
    --print-gap: 18px;
    padding-bottom: 86px !important;
  }

  .hero-copy p {
    font-size: 0.96rem !important;
  }

  .event-tags span {
    min-height: 24px !important;
    padding: 0 13px !important;
    font-size: 0.76rem !important;
  }

  .print-hook {
    --print-width: min(600px, calc(100vw - 160px));
    --slot-width: min(700px, calc(var(--print-width) + 70px));
    --slit-width: min(660px, calc(var(--print-width) + 34px));
  }

  .print-viewport {
    height: 420px !important;
    min-height: 420px !important;
  }

  .polaroid-card {
    min-height: 386px !important;
  }

  .hero .phone-pill,
  .hero .delivery-pill {
    bottom: 18px !important;
  }
}

/* Narrow tablet portrait: if the two-column price card feels squeezed, stack it cleanly. */
@media (min-width: 701px) and (max-width: 820px) and (orientation: portrait) {
  .package-side-summary.quote-summary {
    grid-template-columns: 1fr !important;
  }

  .package-side-summary .quote-breakdown {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-top: 18px !important;
    padding: 16px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.11) !important;
  }

  .package-side-summary .quote-whatsapp {
    grid-column: 1 !important;
  }

  section#packages.section.packages .package-card li {
    font-size: 0.84rem !important;
  }
}


/* v160: tablet portrait fix
   Portrait tablets needed their own rules because the 900px mobile breakpoint was
   still influencing iPad portrait. This keeps portrait tablets readable without
   using the phone checkout layout. */
@media (min-width: 701px) and (max-width: 1060px) and (orientation: portrait) {
  body {
    overflow-x: hidden !important;
  }

  .mobile-quote-dock,
  .mobile-quote-backdrop,
  .mobile-quote-drawer {
    display: none !important;
  }

  .hero {
    min-height: 100svh !important;
    padding-top: clamp(12px, 2.2vw, 20px) !important;
    padding-bottom: clamp(92px, 11vw, 124px) !important;
    --hero-copy-gap: clamp(18px, 3vh, 30px);
    --hero-title-size: clamp(3.05rem, 7.4vw, 4.45rem);
    --subtitle-gap: 12px;
    --tags-gap: 14px;
    --print-gap: clamp(24px, 3.8vh, 38px);
  }

  .hero-copy h1 {
    line-height: 0.98 !important;
    max-width: 720px !important;
  }

  .hero-copy p {
    max-width: 610px !important;
    font-size: clamp(1rem, 2.05vw, 1.14rem) !important;
    line-height: 1.45 !important;
  }

  .event-tags {
    max-width: 680px !important;
    gap: 9px 10px !important;
  }

  .event-tags span {
    min-height: 28px !important;
    padding: 0 15px !important;
    font-size: 0.82rem !important;
  }

  .print-hook {
    --slot-height: 48px;
    --print-width: min(610px, calc(100vw - 96px));
    --slot-width: min(700px, calc(var(--print-width) + 68px));
    --slit-width: min(670px, calc(var(--print-width) + 32px));
  }

  .print-viewport {
    height: clamp(392px, 52vw, 462px) !important;
    min-height: clamp(392px, 52vw, 462px) !important;
  }

  .polaroid-card {
    min-height: clamp(360px, 48vw, 426px) !important;
  }

  .hero .phone-pill,
  .hero .delivery-pill {
    bottom: clamp(18px, 3vw, 26px) !important;
    max-width: calc(50vw - 34px) !important;
  }
}

/* Full iPad portrait navigation from 768px upward. */
@media (min-width: 768px) and (max-width: 1060px) and (orientation: portrait) {
  .nav {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: start !important;
    gap: 14px !important;
    width: min(860px, 100%) !important;
  }

  .nav-left,
  .nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-top: 8px !important;
  }

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

  .nav-left a,
  .btn {
    min-height: 36px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .brand img {
    height: clamp(58px, 7.4vw, 72px) !important;
    max-width: 142px !important;
  }

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

/* iPad Mini / narrow portrait: use full-width package cards instead of squeezed two columns. */
@media (min-width: 701px) and (max-width: 820px) and (orientation: portrait) {
  section#packages.section.packages .section-heading {
    width: min(720px, calc(100% - 36px)) !important;
  }

  .packages-layout {
    width: min(720px, calc(100% - 36px)) !important;
    gap: 18px !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !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 {
    display: grid !important;
    grid-template-columns: 122px minmax(0, 1fr) !important;
    grid-template-areas:
      "packageVisual packageTitle"
      "packageVisual packagePrice"
      "packageVisual packageNote"
      "packageVisual packageSubtitle"
      "packageFeatures packageFeatures"
      "packageHint packageHint" !important;
    column-gap: 20px !important;
    row-gap: 4px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    padding: 22px !important;
    border-radius: 24px !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual {
    grid-area: packageVisual !important;
    width: 122px !important;
    height: 116px !important;
    flex: 0 0 auto !important;
    margin: 2px 0 0 !important;
    align-self: center !important;
  }

  section#packages.section.packages .package-icon-shell--image {
    width: 122px !important;
    height: 116px !important;
  }

  section#packages.section.packages .package-card h3 {
    grid-area: packageTitle !important;
    margin: 0 58px 7px 0 !important;
    font-size: clamp(1.18rem, 3vw, 1.42rem) !important;
    line-height: 1.08 !important;
  }

  section#packages.section.packages .package-card .price {
    grid-area: packagePrice !important;
    margin: 0 0 5px !important;
    font-size: 1.04rem !important;
  }

  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-360-service-note {
    grid-area: packageNote !important;
    margin: 0 0 7px !important;
  }

  section#packages.section.packages .package-subtitle {
    grid-area: packageSubtitle !important;
    margin: 0 !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  section#packages.section.packages .package-card ul {
    grid-area: packageFeatures !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 20px !important;
    row-gap: 7px !important;
    margin-top: 15px !important;
  }

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

  .package-combo-hint,
  section#packages.section.packages .package-card .package-combo-hint {
    grid-area: packageHint !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  .package-side-summary.quote-summary {
    padding: 23px !important;
    border-radius: 26px !important;
  }

  .package-side-summary .quote-total {
    font-size: clamp(2.25rem, 8vw, 3.08rem) !important;
  }

  .inline-quote-form {
    padding: 21px !important;
    border-radius: 26px !important;
  }

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

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Very narrow 7-inch tablet portrait: keep tablet polish but reduce density. */
@media (min-width: 701px) and (max-width: 760px) and (orientation: portrait) {
  .hero {
    --hero-title-size: clamp(2.85rem, 7.2vw, 3.65rem);
    --print-gap: 22px;
  }

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

  .print-viewport {
    height: 380px !important;
    min-height: 380px !important;
  }

  .polaroid-card {
    min-height: 350px !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 {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    column-gap: 16px !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual,
  section#packages.section.packages .package-icon-shell--image {
    width: 104px !important;
    height: 104px !important;
  }

  section#packages.section.packages .package-card ul {
    grid-template-columns: 1fr !important;
  }
}
/* v161: iPad Air portrait stability fix */
@media (min-width: 781px) and (max-width: 900px) and (orientation: portrait) {
  section#packages.section.packages .section-heading {
    width: min(790px, calc(100% - 44px)) !important;
  }

  .packages-layout {
    width: min(860px, calc(100% - 44px)) !important;
    gap: 22px !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !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 {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    padding: 24px 24px 28px !important;
    border-radius: 22px !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: 1 / -1 !important;
    width: min(440px, 100%) !important;
    max-width: 440px !important;
    justify-self: center !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual,
  section#packages.section.packages .package-icon-shell--image {
    grid-area: auto !important;
    width: 100% !important;
    height: 116px !important;
    flex: 0 0 116px !important;
    margin: 0 0 15px !important;
    align-self: center !important;
  }

  section#packages.section.packages .package-card h3,
  section#packages.section.packages .package-card .price,
  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-360-service-note,
  section#packages.section.packages .package-subtitle,
  section#packages.section.packages .package-card ul,
  section#packages.section.packages .package-combo-hint {
    grid-area: auto !important;
  }

  section#packages.section.packages .package-card h3 {
    margin: 0 0 9px !important;
    font-size: clamp(1.05rem, 2.1vw, 1.22rem) !important;
    line-height: 1.13 !important;
  }

  section#packages.section.packages .package-card .price {
    margin: 0 0 7px !important;
    font-size: 1.04rem !important;
  }

  section#packages.section.packages .package-price-note,
  section#packages.section.packages .package-360-service-note {
    margin: 0 0 10px !important;
    font-size: 0.73rem !important;
  }

  section#packages.section.packages .package-subtitle {
    margin: 0 0 13px !important;
    font-size: 0.89rem !important;
    line-height: 1.38 !important;
  }

  section#packages.section.packages .package-card ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin: 0 !important;
  }

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

  .quote-addons {
    grid-template-columns: 1fr !important;
  }

  .quote-addon-card,
  .quote-addons label {
    min-width: 0 !important;
  }

  .quote-addon-card .addon-title,
  .quote-addons span {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (min-width: 701px) and (max-width: 900px) and (orientation: portrait) {
  .quote-addons {
    grid-template-columns: 1fr !important;
  }

  .quote-addon-card,
  .quote-addons label {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  .quote-addon-card .addon-title,
  .quote-addons span {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.18 !important;
  }

  .quote-addons b,
  .addon-price {
    white-space: nowrap !important;
  }

  .quote-addon-select {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

/* v162: vertical desktop monitor / narrow tall desktop stability fix
   A rotated desktop monitor can have a width close to tablet sizes but a much taller viewport.
   These rules prevent the desktop package + price-card layout from squeezing into unusable columns. */
@media (min-width: 901px) and (max-width: 1320px) and (min-height: 900px) {
  body {
    overflow-x: hidden !important;
  }

  .mobile-quote-dock,
  .mobile-quote-backdrop,
  .mobile-quote-drawer {
    display: none !important;
  }

  .nav {
    width: min(1080px, calc(100% - 52px)) !important;
    gap: 16px !important;
  }

  .nav-left,
  .nav-right {
    gap: 9px !important;
  }

  .nav-left a,
  .btn {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 0.84rem !important;
  }

  .hero {
    min-height: clamp(820px, 100svh, 980px) !important;
    --hero-pad-x: clamp(24px, 4.5vw, 62px);
    --hero-pad-top: clamp(16px, 1.7vh, 24px);
    --hero-pad-bottom: clamp(52px, 5vh, 80px);
    --logo-height: clamp(60px, 5.2vw, 74px);
    --hero-copy-gap: clamp(16px, 2vh, 24px);
    --hero-title-size: clamp(3.1rem, 5.4vw, 4.45rem);
    --subtitle-gap: 13px;
    --tags-gap: 14px;
    --print-gap: clamp(26px, 3.2vh, 38px);
  }

  .hero-copy h1 {
    max-width: 860px !important;
    margin-inline: auto !important;
    line-height: 1 !important;
  }

  .hero-copy p {
    font-size: clamp(0.98rem, 1.15vw, 1.08rem) !important;
  }

  .print-hook {
    --print-width: min(720px, calc(100vw - 120px));
    --slot-width: min(820px, calc(var(--print-width) + 88px));
    --slit-width: min(780px, calc(var(--print-width) + 40px));
  }

  .print-viewport {
    height: clamp(440px, 48vw, 520px) !important;
    min-height: clamp(440px, 48vw, 520px) !important;
  }

  .polaroid-card {
    min-height: clamp(404px, 44vw, 472px) !important;
  }

  .hero .phone-pill,
  .hero .delivery-pill {
    bottom: 18px !important;
  }

  section#packages.section.packages {
    padding-top: clamp(62px, 7vw, 92px) !important;
    padding-bottom: clamp(70px, 8vw, 104px) !important;
  }

  section#packages.section.packages .section-heading {
    width: min(900px, calc(100% - 54px)) !important;
  }

  .packages-layout {
    width: min(1040px, calc(100% - 56px)) !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    align-items: start !important;
    transform: none !important;
  }

  .packages-left-column {
    min-width: 0 !important;
    width: 100% !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !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;
    display: flex !important;
    flex-direction: column !important;
    padding: 26px 26px 30px !important;
    overflow: visible !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: 1 / -1 !important;
    width: min(520px, 100%) !important;
    max-width: 520px !important;
    justify-self: center !important;
  }

  section#packages.section.packages .package-card h3 {
    font-size: clamp(1.08rem, 1.6vw, 1.28rem) !important;
    line-height: 1.13 !important;
    margin-bottom: 9px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual,
  section#packages.section.packages .package-icon-shell--image {
    height: 128px !important;
    flex: 0 0 128px !important;
    margin: -4px 0 12px !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: 112px !important;
    max-height: 112px !important;
  }

  section#packages.section.packages .package-art--standup {
    max-width: 150px !important;
    max-height: 110px !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: 124px !important;
    max-height: 124px !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 0 !important;
    margin-bottom: 14px !important;
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  section#packages.section.packages .package-card ul {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
  }

  section#packages.section.packages .package-card li {
    white-space: normal !important;
    font-size: 0.88rem !important;
    line-height: 1.34 !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;
    width: 100% !important;
    transform: none !important;
    margin-top: 14px !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 {
    transform: none !important;
  }

  .inline-configurator {
    margin-top: 24px !important;
  }

  .inline-quote-form {
    padding: 24px !important;
    border-radius: 28px !important;
  }

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

  .quote-addons {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .quote-addon-card,
  .quote-addons label {
    min-width: 0 !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .quote-addon-card .addon-title,
  .quote-addons span {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .quote-addon-select {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .package-side-summary.quote-summary {
    width: min(780px, 100%) !important;
    max-width: 780px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-self: center !important;
    position: relative !important;
    top: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr) !important;
    column-gap: 24px !important;
    row-gap: 14px !important;
    padding: 24px !important;
    border-radius: 28px !important;
    overflow: visible !important;
  }

  .package-side-summary::before {
    display: none !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-whatsapp {
    grid-column: 1 !important;
  }

  .package-side-summary .quote-total {
    height: auto !important;
    min-height: 0 !important;
    font-size: clamp(2.35rem, 5vw, 3.2rem) !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving {
    height: auto !important;
    min-height: 0 !important;
    white-space: normal !important;
  }

  .package-side-summary .quote-note {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 4px !important;
    font-size: 0.9rem !important;
    line-height: 1.44 !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-breakdown {
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 24px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.11) !important;
    align-content: start !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-whatsapp {
    align-self: end !important;
  }

  .site-footer-inner {
    width: min(1040px, calc(100% - 56px)) !important;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr)) !important;
    gap: 28px !important;
  }

  .footer-bottom {
    width: min(1040px, calc(100% - 56px)) !important;
  }
}

/* Extra narrow tall desktop windows: stack the package cards and summary fully instead of squeezing. */
@media (min-width: 901px) and (max-width: 1030px) and (min-height: 900px) {
  .nav {
    width: min(960px, calc(100% - 40px)) !important;
  }

  .nav-left a,
  .btn {
    padding: 0 12px !important;
    font-size: 0.8rem !important;
  }

  .packages-layout {
    width: min(760px, calc(100% - 48px)) !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    grid-template-columns: 1fr !important;
  }

  section#packages.section.packages .package-card[data-package-key="360"] {
    width: 100% !important;
    max-width: none !important;
  }

  .package-side-summary.quote-summary {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: 1fr !important;
  }

  .package-side-summary .quote-breakdown {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-top: 14px !important;
    padding: 16px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.11) !important;
  }

  .quote-step--grid,
  .quote-availability-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-brand-block {
    grid-column: 1 / -1 !important;
  }
}

/* v163: desktop portrait / vertical-monitor package cards use the mobile-style stack.
   This prevents the cards from squeezing or breaking on rotated desktop monitors. */
@media (min-width: 901px) and (orientation: portrait) {
  body {
    overflow-x: hidden !important;
  }

  section#packages.section.packages {
    padding-top: clamp(58px, 7vw, 88px) !important;
    padding-bottom: clamp(72px, 8vw, 108px) !important;
  }

  section#packages.section.packages .section-heading {
    width: min(760px, calc(100% - 48px)) !important;
    margin-bottom: 30px !important;
  }

  section#packages.section.packages .section-heading h2 {
    line-height: 1.1 !important;
  }

  .packages-layout {
    width: min(760px, calc(100% - 48px)) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    transform: none !important;
    align-items: start !important;
  }

  .packages-left-column,
  .inline-configurator,
  .inline-quote-form {
    width: 100% !important;
    min-width: 0 !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.featured,
  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,
  section#packages.section.packages .package-card[data-package-key="360"] {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 26px 24px 24px !important;
    overflow: visible !important;
    transform: none !important;
  }

  section#packages.section.packages .package-card[data-package-card]:hover,
  section#packages.section.packages .package-card.featured:hover,
  section#packages.section.packages .package-card.is-muted:hover {
    transform: none !important;
  }

  section#packages.section.packages .package-card.is-muted {
    opacity: 0.62 !important;
    filter: saturate(0.65) !important;
  }

  section#packages.section.packages .package-print-visual,
  section#packages.section.packages .package-card.featured .package-print-visual,
  section#packages.section.packages .package-icon-shell--image {
    height: 126px !important;
    flex: 0 0 126px !important;
    margin: -4px 0 10px !important;
  }

  section#packages.section.packages .package-art--strip {
    max-width: 112px !important;
    max-height: 112px !important;
  }

  section#packages.section.packages .package-art--standup {
    max-width: 146px !important;
    max-height: 108px !important;
  }

  section#packages.section.packages .package-art--360 {
    max-width: 118px !important;
    max-height: 118px !important;
  }

  section#packages.section.packages .package-card h3,
  section#packages.section.packages .package-card[data-package-key="standup"] h3,
  section#packages.section.packages .package-card[data-package-key="360"] h3 {
    max-width: 100% !important;
    margin-bottom: 9px !important;
    font-size: clamp(1.14rem, 2.5vw, 1.34rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.024em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

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

  section#packages.section.packages .package-price-note {
    margin: -3px 0 10px !important;
    font-size: 0.78rem !important;
  }

  section#packages.section.packages .package-subtitle {
    min-height: 0 !important;
    margin: 0 0 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
  }

  section#packages.section.packages .package-card ul {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  section#packages.section.packages .package-card li {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 9px !important;
    white-space: normal !important;
    font-size: 0.94rem !important;
    line-height: 1.45 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  section#packages.section.packages .package-card li::before {
    margin-right: 0 !important;
    line-height: 1.45 !important;
  }

  .package-select-badge {
    top: 16px !important;
    right: 16px !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;
    width: 100% !important;
    min-height: 34px !important;
    margin-top: 14px !important;
    transform: 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 {
    transform: none !important;
  }

  .inline-configurator {
    margin-top: 22px !important;
  }

  .inline-quote-form {
    padding: 22px !important;
    border-radius: 26px !important;
  }

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

  .quote-addons {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .quote-addon-card,
  .quote-addons label {
    min-width: 0 !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  .quote-addon-select {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .quote-addon-card .addon-title,
  .quote-addons span {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.2 !important;
  }

  .quote-addons b,
  .addon-price {
    white-space: nowrap !important;
  }

  .package-side-summary.quote-summary {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-self: stretch !important;
    position: relative !important;
    top: auto !important;
    display: block !important;
    padding: 24px !important;
    border-radius: 28px !important;
    overflow: visible !important;
  }

  .package-side-summary::before {
    display: none !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,
  .package-side-summary .quote-whatsapp {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .package-side-summary .quote-total {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 10px !important;
    font-size: clamp(2.2rem, 5.5vw, 3.25rem) !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-combo-saving,
  .package-side-summary #quoteComboSaving,
  .package-side-summary .quote-combo-saving[hidden],
  .package-side-summary #quoteComboSaving[hidden] {
    height: auto !important;
    min-height: 0 !important;
    margin: 12px 0 0 !important;
    white-space: normal !important;
  }

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

  .package-side-summary .quote-note {
    height: auto !important;
    min-height: 0 !important;
    margin: 14px 0 20px !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    overflow: visible !important;
  }

  .package-side-summary .quote-breakdown {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 20px !important;
    padding: 16px 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    overflow: visible !important;
  }
}

/* Smaller vertical desktop windows should become fully mobile-like. */
@media (min-width: 901px) and (max-width: 1040px) and (orientation: portrait) {
  .packages-layout {
    width: min(620px, calc(100% - 36px)) !important;
  }

  .quote-step--grid,
  .quote-availability-grid {
    grid-template-columns: 1fr !important;
  }

  .inline-quote-form,
  .package-side-summary.quote-summary {
    border-radius: 24px !important;
    padding: 20px !important;
  }
}


/* v164: vertical desktop/portrait monitor price card should scroll normally.
   This removes any sticky/fixed quote-card behavior in portrait desktop layouts,
   and prevents the mobile bottom quote dock from taking over on tall portrait monitors. */
@media (orientation: portrait) and (min-height: 900px) {
  section#packages.section.packages .package-side-summary.quote-summary,
  .package-side-summary.quote-summary,
  aside.package-side-summary.quote-summary {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    inset: auto !important;
    z-index: 2 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
  }

  section#packages.section.packages .packages-layout {
    align-items: start !important;
  }
}

/* Tall portrait desktop windows can be narrower than the mobile breakpoint.
   Keep the actual price card in the page flow instead of the fixed mobile dock. */
@media (max-width: 700px) and (orientation: portrait) and (min-height: 900px) and (hover: hover) and (pointer: fine) {
  section#packages.section.packages {
    padding-bottom: clamp(62px, 8vw, 96px) !important;
  }

  section#packages.section.packages .package-side-summary.quote-summary {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  .mobile-quote-dock,
  .mobile-quote-backdrop,
  .mobile-quote-drawer,
  body.show-mobile-quote-dock .mobile-quote-dock {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.mobile-quote-open {
    overflow: auto !important;
  }
}


/* v165: vertical desktop monitors use the mobile-style price footer dock.
   The normal side price card is hidden only for desktop portrait devices, while
   the bottom dock and drawer take over like the mobile booking flow. */
@media (orientation: portrait) and (hover: hover) and (pointer: fine) {
  :root {
    --vertical-quote-dock-space: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  section#packages.section.packages {
    padding-bottom: calc(72px + var(--vertical-quote-dock-space)) !important;
  }

  section#packages.section.packages .inline-quote-form {
    padding-bottom: calc(26px + var(--vertical-quote-dock-space)) !important;
  }

  section#packages.section.packages .quote-availability,
  section#packages.section.packages .quote-availability-grid,
  section#packages.section.packages .quote-field:last-child {
    scroll-margin-bottom: var(--vertical-quote-dock-space) !important;
  }

  section#packages.section.packages .package-side-summary.quote-summary,
  aside.package-side-summary.quote-summary {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mobile-quote-dock {
    position: fixed !important;
    left: clamp(18px, 3vw, 36px) !important;
    right: clamp(18px, 3vw, 36px) !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 150 !important;
    display: block !important;
    width: auto !important;
    max-width: 760px !important;
    margin-inline: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
    transition:
      opacity 220ms ease,
      transform 220ms var(--ease),
      visibility 0s linear 220ms !important;
  }

  body.show-mobile-quote-dock .mobile-quote-dock {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    transition:
      opacity 220ms ease,
      transform 220ms var(--ease),
      visibility 0s linear 0s !important;
  }

  body:not(.show-mobile-quote-dock) .mobile-quote-dock {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
  }

  .mobile-quote-dock-button {
    width: 100% !important;
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 16px 12px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    color: #ffffff !important;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 42, 35, 0.32), transparent 34%),
      linear-gradient(180deg, rgba(44, 45, 49, 0.98), rgba(21, 22, 26, 0.99)) !important;
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.30),
      0 0 0 1px rgba(255, 42, 35, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
    font: inherit !important;
    text-align: left !important;
    cursor: pointer !important;
  }

  .mobile-quote-dock-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 3px !important;
  }

  .mobile-quote-dock-label {
    color: #ff8b84 !important;
    font-size: 0.7rem !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
  }

  .mobile-quote-dock-copy strong {
    overflow: hidden !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .mobile-quote-dock-price {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark)) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
    box-shadow: 0 10px 22px rgba(255, 42, 35, 0.22) !important;
  }

  .mobile-quote-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 160 !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.46) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 220ms ease, visibility 0s linear 220ms !important;
  }

  .mobile-quote-drawer {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    z-index: 165 !important;
    display: block !important;
    width: min(680px, calc(100vw - 44px)) !important;
    max-height: min(76svh, 720px) !important;
    padding: 12px 22px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 30px 30px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    border-bottom: 0 !important;
    color: #ffffff !important;
    background:
      radial-gradient(circle at top left, rgba(255, 42, 35, 0.14), transparent 35%),
      linear-gradient(180deg, rgba(40, 41, 45, 0.99), rgba(20, 21, 24, 1)) !important;
    box-shadow: 0 -22px 55px rgba(0, 0, 0, 0.36) !important;
    overflow-y: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 102%) !important;
    transition:
      opacity 240ms ease,
      transform 280ms var(--ease),
      visibility 0s linear 280ms !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.mobile-quote-open .mobile-quote-backdrop,
  body.mobile-quote-open .mobile-quote-drawer {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition:
      opacity 220ms ease,
      transform 280ms var(--ease),
      visibility 0s linear 0s !important;
  }

  body.mobile-quote-open .mobile-quote-backdrop {
    transform: none !important;
  }

  body.mobile-quote-open .mobile-quote-drawer {
    transform: translate(-50%, 0) !important;
  }

  body.mobile-quote-open {
    overflow: hidden !important;
  }

  .mobile-quote-drawer-handle {
    width: 46px !important;
    height: 4px !important;
    margin: 0 auto 14px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.24) !important;
    display: block !important;
  }

  .mobile-quote-drawer-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 8px !important;
  }

  .mobile-quote-drawer-kicker {
    display: block !important;
    margin-bottom: 5px !important;
    color: #ff8b84 !important;
    font-size: 0.72rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
  }

  .mobile-quote-drawer h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 1.08rem !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
  }

  .mobile-quote-drawer-close {
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font: inherit !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .mobile-quote-drawer-total {
    margin: 8px 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 8vw, 3.1rem) !important;
    line-height: 0.96 !important;
    font-weight: 950 !important;
    letter-spacing: -0.045em !important;
  }

  .mobile-quote-drawer-saving {
    display: inline-flex !important;
    margin: 2px 0 12px !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    color: #8df0b5 !important;
    background: rgba(56, 161, 105, 0.12) !important;
    font-size: 0.8rem !important;
    font-weight: 900 !important;
  }

  .mobile-quote-drawer-saving[hidden] {
    display: none !important;
  }

  .mobile-quote-drawer-breakdown {
    display: grid !important;
    gap: 10px !important;
    margin: 14px 0 18px !important;
    padding: 16px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.11) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11) !important;
  }

  .mobile-quote-drawer-breakdown p {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 12px !important;
    margin: 0 !important;
    align-items: start !important;
  }

  .mobile-quote-drawer-breakdown span {
    color: rgba(255, 255, 255, 0.48) !important;
    font-size: 0.8rem !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
  }

  .mobile-quote-drawer-breakdown strong {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.9rem !important;
    line-height: 1.32 !important;
    overflow-wrap: break-word !important;
  }

  .mobile-quote-drawer-whatsapp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark)) !important;
    color: #ffffff !important;
    font-weight: 950 !important;
    text-align: center !important;
    line-height: 1.15 !important;
    box-shadow: 0 14px 30px rgba(255, 42, 35, 0.22) !important;
  }

  .mobile-quote-drawer-whatsapp.is-disabled,
  .mobile-quote-drawer-whatsapp[aria-disabled="true"] {
    opacity: 0.48 !important;
    pointer-events: none !important;
    filter: grayscale(0.3) !important;
  }
}

@media (orientation: portrait) and (hover: hover) and (pointer: fine) and (max-width: 760px) {
  .mobile-quote-dock {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-quote-dock-button {
    min-height: 64px !important;
    padding: 10px 13px 10px 15px !important;
    gap: 10px !important;
  }

  .mobile-quote-dock-copy strong {
    font-size: 0.9rem !important;
  }

  .mobile-quote-dock-price {
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 0.9rem !important;
  }

  .mobile-quote-drawer {
    width: 100vw !important;
    border-radius: 28px 28px 0 0 !important;
  }
}


/* v166: center mobile-style package cards and bottom price dock on desktop vertical/portrait monitors */
@media (orientation: portrait) and (hover: hover) and (pointer: fine) {
  section#packages.section.packages .section-heading {
    width: min(720px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  section#packages.section.packages .packages-layout {
    width: min(640px, calc(100% - 48px)) !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: start !important;
    transform: none !important;
  }

  section#packages.section.packages .packages-left-column,
  section#packages.section.packages .inline-configurator,
  section#packages.section.packages .inline-quote-form {
    width: 100% !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
  }

  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid {
    width: 100% !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: stretch !important;
  }

  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.featured,
  section#packages.section.packages .package-card[data-package-key="360"] {
    width: min(100%, 640px) !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
  }

  .mobile-quote-dock {
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 36px)) !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translate(-50%, 18px) scale(0.985) !important;
  }

  body.show-mobile-quote-dock .mobile-quote-dock {
    transform: translate(-50%, 0) scale(1) !important;
  }

  body:not(.show-mobile-quote-dock) .mobile-quote-dock {
    transform: translate(-50%, 18px) scale(0.985) !important;
  }
}

@media (orientation: portrait) and (hover: hover) and (pointer: fine) and (max-width: 760px) {
  section#packages.section.packages .section-heading,
  section#packages.section.packages .packages-layout {
    width: min(540px, calc(100% - 28px)) !important;
    max-width: 540px !important;
  }

  section#packages.section.packages .packages-left-column,
  section#packages.section.packages .inline-configurator,
  section#packages.section.packages .inline-quote-form,
  section#packages.section.packages .package-grid,
  section#packages.section.packages .packages-layout .package-grid,
  section#packages.section.packages .packages-left-column .package-grid,
  section#packages.section.packages .package-card,
  section#packages.section.packages .package-card.featured,
  section#packages.section.packages .package-card[data-package-key="360"] {
    max-width: 540px !important;
  }

  .mobile-quote-dock {
    width: min(540px, calc(100vw - 24px)) !important;
  }
}

/* v167: hide phone and free-delivery pills while the mobile booking price dock is active.
   This prevents the contact pills from reappearing over the booking section on mobile. */
@media (max-width: 700px) {
  body.show-mobile-quote-dock .hero .phone-pill,
  body.show-mobile-quote-dock .hero .delivery-pill,
  body.show-mobile-quote-dock.show-floating-pills .hero .phone-pill,
  body.show-mobile-quote-dock.show-floating-pills .hero .delivery-pill,
  body.mobile-quote-open .hero .phone-pill,
  body.mobile-quote-open .hero .delivery-pill {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
  }
}

/* Apply the same cleanup to desktop vertical/portrait mode, where the mobile-style
   price dock is also used. */
@media (orientation: portrait) and (hover: hover) and (pointer: fine) {
  body.show-mobile-quote-dock .hero .phone-pill,
  body.show-mobile-quote-dock .hero .delivery-pill,
  body.show-mobile-quote-dock.show-floating-pills .hero .phone-pill,
  body.show-mobile-quote-dock.show-floating-pills .hero .delivery-pill,
  body.mobile-quote-open .hero .phone-pill,
  body.mobile-quote-open .hero .delivery-pill {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
  }
}

/* v168: mobile Contact section cleanup
   Remove the phone / free-delivery floating pills from the final WhatsApp + Email
   section and remove the extra blank space that was previously reserved for them. */
@media (max-width: 700px) {
  body.contact-section-active .hero .phone-pill,
  body.contact-section-active .hero .delivery-pill,
  body.contact-section-active.show-floating-pills .hero .phone-pill,
  body.contact-section-active.show-floating-pills .hero .delivery-pill {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
  }

  section#contact.contact {
    min-height: auto !important;
    padding-top: 44px !important;
    padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)) !important;
  }

  section#contact.contact .contact-card {
    width: min(100% - 24px, 520px) !important;
    margin: 0 auto !important;
    padding: 30px 20px !important;
    border-radius: 24px !important;
  }

  section#contact.contact .kicker {
    margin-bottom: 10px !important;
  }

  section#contact.contact .contact-card h2 {
    font-size: clamp(2rem, 9.5vw, 2.7rem) !important;
    line-height: 1.05 !important;
  }

  section#contact.contact .contact-card p {
    margin-top: 12px !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  section#contact.contact .contact-actions {
    margin-top: 22px !important;
    gap: 10px !important;
  }

  section#contact.contact .contact-actions .btn {
    flex: 1 1 140px !important;
    min-height: 46px !important;
  }
}

@media (max-width: 380px) {
  section#contact.contact {
    padding-top: 38px !important;
    padding-bottom: calc(38px + env(safe-area-inset-bottom, 0px)) !important;
  }

  section#contact.contact .contact-card {
    padding: 26px 18px !important;
  }
}


/* v169: anchor the phone/free-delivery pills to the bottom of the hero on mobile.
   They now live at the bottom of the home section instead of sitting directly
   under the polaroid, so they do not clash with the printed-card visual. */
@media (max-width: 700px) {
  .hero {
    position: relative !important;
    padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero .print-hook {
    margin-bottom: 0 !important;
  }

  .hero .phone-pill,
  .hero .delivery-pill {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    z-index: 28 !important;
    transform: none !important;
  }

  .hero .phone-pill {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero .delivery-pill {
    bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero .phone-pill,
  .hero .delivery-pill {
    left: 18px !important;
    right: 18px !important;
    min-height: 32px !important;
    font-size: 0.72rem !important;
  }

  .hero .phone-pill {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero .delivery-pill {
    bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* v170: real mobile hero bottom anchoring for phone/free-delivery pills.
   Instead of absolutely overlaying the polaroid area, the pills live in the
   normal hero flow at the bottom, with a guaranteed gap from the polaroid. */
@media (max-width: 700px) {
  .hero {
    min-height: 100svh !important;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero-mobile-pills {
    order: 50 !important;
    width: min(420px, calc(100% - 40px)) !important;
    margin: auto auto 0 !important;
    padding-top: clamp(30px, 7vh, 54px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    position: relative !important;
    z-index: 36 !important;
  }

  .hero .hero-mobile-pills .phone-pill,
  .hero .hero-mobile-pills .delivery-pill {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .hero .hero-mobile-pills .delivery-pill {
    order: 1 !important;
  }

  .hero .hero-mobile-pills .phone-pill {
    order: 2 !important;
  }

  body.show-mobile-quote-dock .hero-mobile-pills,
  body.show-mobile-quote-dock.show-floating-pills .hero-mobile-pills,
  body.mobile-quote-open .hero-mobile-pills,
  body.contact-section-active .hero-mobile-pills,
  body.contact-section-active.show-floating-pills .hero-mobile-pills {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(18px) scale(0.985) !important;
  }
}

@media (max-width: 380px) {
  .hero-mobile-pills {
    width: min(420px, calc(100% - 36px)) !important;
    padding-top: clamp(24px, 5vh, 42px) !important;
    gap: 8px !important;
  }

  .hero .hero-mobile-pills .phone-pill,
  .hero .hero-mobile-pills .delivery-pill {
    min-height: 32px !important;
    font-size: 0.72rem !important;
  }
}

/* v172: animated 150+ trust number */
.trust-number[data-count-up] {
  position: relative;
  min-width: 190px;
  will-change: transform, filter;
  transition: text-shadow 260ms ease, filter 260ms ease;
}

.trust-number[data-count-up].is-counting {
  text-shadow:
    0 14px 34px rgba(255, 42, 35, 0.24),
    0 0 26px rgba(255, 42, 35, 0.18);
  filter: drop-shadow(0 0 12px rgba(255, 42, 35, 0.14));
}

.trust-number[data-count-up].count-complete {
  animation: trustNumberSettle 560ms cubic-bezier(.16,.84,.28,1) both;
}

.why-trust-badge:has(.trust-number.is-counting) {
  border-color: rgba(255, 42, 35, 0.42);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.3),
    0 12px 34px rgba(255, 42, 35, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@keyframes trustNumberSettle {
  0% {
    transform: translateY(-2px) scale(1);
  }
  42% {
    transform: translateY(-3px) scale(1.055);
  }
  100% {
    transform: translateY(-2px) scale(1);
  }
}

@media (max-width: 900px) {
  .trust-number[data-count-up] {
    min-width: 0;
  }

  @keyframes trustNumberSettle {
    0% { transform: scale(1); }
    42% { transform: scale(1.055); }
    100% { transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-number[data-count-up].count-complete {
    animation: none !important;
  }
}
