/* Pricing page. Builds on site.css (tokens, nav, buttons, trial form, footer). */

:root {
  /* names the page's own scripts still use in inline styles */
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --text-tertiary: #9a968d;
}

[hidden] { display: none !important; }

.nav-links a.is-current { color: var(--ink); font-weight: 600; }

/* the nav keeps the yellow of the page top, also while scrolling */
.page-price .navbar {
  background: #fff3c4;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---------- Top ---------- */
.price-top {
  background: linear-gradient(180deg, #fff3c4 0%, rgba(255, 243, 196, .35) 55%, var(--paper) 100%);
  padding: 36px 0 20px;
  text-align: center;
}
.price-top h1 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.price-top > .container > p {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--ink-2);
  font-size: 16px;
}

/* black pill switch, like a product's billing toggle */
.price-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink);
}
.price-switch button {
  border: 0;
  background: transparent;
  color: #d9d6cf;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.price-switch { position: relative; }
.price-switch button { position: relative; z-index: 1; transition: color .35s ease; }
.price-switch button:hover { color: #fff; }
.price-switch button[aria-selected="true"] { color: var(--ink); }
/* white pill that slides under the selected tab */
.switch-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.switch-pill.is-ready { transition: transform .4s cubic-bezier(.3, .8, .25, 1), width .4s cubic-bezier(.3, .8, .25, 1); }
@media (prefers-reduced-motion: reduce) { .switch-pill.is-ready { transition: none; } }

/* ---------- Tab panels ----------
   Desktop: editing and culling sit in the same grid cell; the hidden one is
   only made invisible, so the block keeps the height of the taller panel and
   the heading and switch stay exactly where they are when you switch tabs.
   Phones: the hidden panel is removed from the flow as usual. */
.price-first { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 769px) {
  .price-first > .price-top { grid-row: 1; grid-column: 1; }
  .price-first > .price-panel { grid-row: 2; grid-column: 1; }
  .price-panel.is-off { visibility: hidden; pointer-events: none; }
}
@media (max-width: 768px) {
  .price-panel.is-off { display: none; }
}

/* ---------- Panels ---------- */
.price-panel { padding: 22px 0 80px; }

/* short laptop screens: trim the stack so cards and the order bar fit in view */
@media (min-width: 769px) and (max-height: 880px) {
  .price-top { padding: 22px 0 10px; }
  .price-top h1 { font-size: 34px; }
  .price-top > .container > p { margin-top: 6px; font-size: 15px; }
  .price-switch { margin-top: 12px; }
  .price-panel { padding-top: 16px; }
  .package-desc { display: none; }
  .calc-package-count { margin-top: 10px; }
  .plan-includes { display: none; }
  .calc-package-services { margin-top: 12px; }
}
/* Large, tall screens (4K): center the pricing block in the first view,
   open up the space between the top lines and give the cards more height.
   .price-first is a plain wrapper and does nothing on other screens. */
@media (min-width: 1800px) and (min-height: 1050px) {
  .price-first {
    min-height: calc(100svh - 72px);
    align-content: center;
    padding: 32px 0 48px;
    background: linear-gradient(180deg, #fff3c4 0, rgba(255, 243, 196, .35) 34%, var(--paper) 62%);
  }
  .price-top { background: none; padding: 0; }
  .price-top > .container > p { margin-top: 18px; }
  .price-switch { margin-top: 30px; }
  .price-panel { padding: 48px 0 0; }
  .calc-package-services { padding-bottom: 20px; }
  .calc-summary { margin-top: 22px; }
  .included { padding-top: 96px; }

  /* bigger type for the larger screen */
  .price-top h1 { font-size: 56px; }
  .price-top > .container > p { font-size: 19px; max-width: 900px; }
  .price-switch button { font-size: 16px; padding: 10px 26px; }
  .plan-flag { font-size: 13.5px; padding: 4px 14px; top: -14px; }
  .calc-package-name { font-size: 16px; padding: 5px 12px; }
  .calc-package-price { font-size: 40px; }
  .plan-unit { font-size: 16px; }
  .package-desc { font-size: 15px; }
  .calc-package-count-label { font-size: 14px; }
  .calc-qty-btn { width: 46px; height: 46px; }
  .calc-input { height: 46px; font-size: 18px; }
  .plan-note { font-size: 14px; }
  .plan-includes { font-size: 15.5px; }
  .calc-package-services { gap: 6px; }
  .calc-package-services li { font-size: 15px; }
  .calc-package-footer { font-size: 14.5px; }
  .calc-package-subtotal { font-size: 17px; }
  .calc-summary-title { font-size: 18px; }
  .calc-summary-row, .calc-summary-main { font-size: 15px; }
  .calc-total { font-size: 15.5px; }
  .calc-total-amount { font-size: 34px; }
  .calc-note { font-size: 13.5px; }
  .sum-pay .calc-paynow-label { font-size: 14px; }
  .sum-pay .calc-paynow-amount { font-size: 26px; }
  .sum-pay .calc-cta { height: 56px; font-size: 17px; }
  .culling-grid { max-width: 1120px; gap: 24px; }
  .cull-steps { max-width: 1120px; margin-top: 24px; padding: 24px 26px; gap: 24px; }
  .cull-steps li > span { width: 30px; height: 30px; font-size: 14px; }
  .cull-steps strong { font-size: 16px; }
  .cull-steps p { font-size: 14.5px; }
  .plan-card, .sum-card { padding: 26px 26px 24px; }
  .culling-summary-row { font-size: 15px; }
  .culling-total-row { font-size: 15.5px; }
  .culling-total-price { font-size: 34px; }
  .sum-card .calc-paynow-amount { font-size: 28px; }
  .sum-card .calc-paynow-sub { font-size: 14px; }
  .sum-card .calc-cta { height: 56px; font-size: 17px; }
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 12px;
}
.panel-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.panel-head p { color: var(--muted); font-size: 15px; }

/* ---------- Plan cards (one row, pastel tops) ---------- */
.calc-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  padding-top: 14px; /* room for the floating flag */
}
.calc-package-card {
  --tone: #f4f1ea;
  --chip: #e9e5db;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px 14px;
  background: linear-gradient(180deg, var(--tone) 0, var(--white) 140px);
  box-shadow: 0 18px 40px -34px rgba(20, 20, 20, .4);
  transition: box-shadow .2s ease;
}
.calc-package-card:hover { box-shadow: 0 24px 46px -30px rgba(20, 20, 20, .45); }
.tone-yellow { --tone: #fff1b8; --chip: #ffe27a; }
.tone-mint { --tone: #dcf4e5; --chip: #c3ecd3; }
.tone-sky { --tone: #ddeefb; --chip: #c6e2f7; }
.tone-lilac { --tone: #ebe5fb; --chip: #dbd2f6; }
.calc-package-card.package-required {
  border: 2px solid #f0a500;
  padding: 19px 17px 13px;
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.calc-package-name {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--chip);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.calc-package-price {
  display: block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-unit { font-size: 14px; color: var(--muted); }
.package-desc { margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 2.9em; line-height: 1.45; }

.calc-package-count { margin-top: 12px; }
.calc-package-count-label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.calc-input-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.calc-qty-btn {
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease;
}
.calc-qty-btn:hover { background: var(--soft); }
.calc-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  -moz-appearance: textfield;
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input:focus { outline: none; background: #fffbea; }

.calc-warning { display: none; margin-top: 8px; font-size: 13px; color: #c0392b; }
.calc-warning.show { display: block; }
.package-tier-info {
  display: none;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #6b5200;
}
.package-tier-info.show { display: block; }

/* small tinted note, like a plan's fine print */
.plan-note {
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #fbf3e6;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan-includes { margin-top: 12px; font-weight: 600; font-size: 13.5px; }
.calc-package-services { margin-top: 6px; display: grid; gap: 4px; flex: 1; align-content: start; }
.calc-package-services li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--ink-2);
}
.calc-package-services li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 5px;
  border-left: 1.6px solid #8f8b83;
  border-bottom: 1.6px solid #8f8b83;
  transform: rotate(-45deg);
}
.calc-package-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.calc-package-subtotal { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- Order summary (wide bar under the cards) ---------- */
.calc-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px 14px 22px;
  box-shadow: 0 24px 48px -36px rgba(20, 20, 20, .35);
}
.sum-total {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.calc-summary-title { font-size: 15px; margin-bottom: 6px; }
.calc-summary-rows { display: grid; gap: 3px; }
.calc-summary-row > span:first-child,
.calc-summary-main > span:first-child { white-space: nowrap; }
.calc-summary-row,
.calc-summary-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.calc-summary-row span:last-child,
.calc-summary-rate { text-align: right; color: var(--ink); font-weight: 500; }
.summary-old-rate { color: var(--text-tertiary); text-decoration: line-through; margin-right: 5px; }
.summary-offer-rate { color: #8a6100; font-weight: 700; }
.calc-summary-empty { font-size: 14px; color: var(--muted); }
.calc-photos-count { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); color: var(--muted); }
.calc-total { display: flex; flex-direction: column; gap: 0; font-weight: 600; font-size: 14px; }
.calc-total-amount { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.calc-note { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* pay-today box and the button sit side by side */
.sum-pay { display: flex; align-items: center; gap: 14px; }
.sum-pay .calc-paynow-block { flex: 1; min-width: 0; padding: 9px 14px; }
.sum-pay .calc-paynow-amount { font-size: 22px; }
.sum-pay .calc-paynow-sub { display: none; }
.sum-pay .calc-cta { width: auto; flex: none; margin-top: 0; height: 50px; gap: 12px; padding-left: 22px; }
.calc-paynow-block {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--yellow-soft);
}
.calc-paynow-label { display: block; font-size: 13px; font-weight: 600; color: #6b5200; }
.calc-paynow-amount { display: block; margin-top: 2px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.calc-paynow-sub { margin-top: 2px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.calc-cta { width: 100%; justify-content: space-between; margin-top: 14px; }

/* ---------- Culling (same card language as the editing plans) ---------- */
.culling-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
  padding-top: 14px;
}
/* .plan-card mirrors .calc-package-card; it has its own name because the
   editing calculator script picks up every .calc-package-card */
.plan-card {
  --tone: #fff1b8;
  --chip: #ffe27a;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #f0a500;
  border-radius: 14px;
  padding: 19px 17px 18px;
  background: linear-gradient(180deg, var(--tone) 0, var(--white) 140px);
  box-shadow: 0 18px 40px -34px rgba(20, 20, 20, .4);
}
.plan-card .calc-package-services { flex: none; }
.sum-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 18px;
  box-shadow: 0 24px 48px -36px rgba(20, 20, 20, .35);
}
.culling-summary-list { display: grid; gap: 6px; }
.culling-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.culling-summary-row strong { color: var(--ink); font-weight: 500; }
.culling-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}
.culling-total-price { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.sum-card .calc-paynow-block { margin-top: auto; }
.sum-card .calc-note { margin: 4px 0 16px; }
.sum-card .calc-cta { margin-top: 14px; }

/* three short steps under the culling cards */
.cull-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 940px;
  margin: 18px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.cull-steps li { display: flex; gap: 12px; align-items: flex-start; }
.cull-steps li > span {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.cull-steps strong { display: block; font-size: 14px; }
.cull-steps p { margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Included with every order ---------- */
.included { padding: 0 0 96px; }
.dot-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.dot-head::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
}
.included-table { border-top: 1px solid var(--line); }
.included-table > div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.included-table dt { font-weight: 600; }
.included-table dd { margin: 0; color: var(--ink-2); }

/* ---------- Pricing FAQ ---------- */
.price-faq { padding: 0; }
.price-faq details {
  border-bottom: 1px solid var(--line);
}
.price-faq details:first-of-type { border-top: 1px solid var(--line); }
.price-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
}
.price-faq summary::-webkit-details-marker { display: none; }
.price-faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.price-faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.price-faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 46em; }
.price-faq .faq-more { margin-top: 24px; }

/* ---------- Checkout modal (light) ---------- */
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 20, 20, .5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 48px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.checkout-overlay.active { opacity: 1; visibility: visible; }
.checkout-modal {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: auto;
  background: var(--white);
  border-radius: 18px;
  padding: 36px 34px 30px;
  box-shadow: 0 40px 80px -30px rgba(20, 20, 20, .45);
  transform: translateY(16px);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.checkout-overlay.active .checkout-modal { transform: none; }
.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.checkout-close:hover { border-color: var(--ink); }
.checkout-eyebrow { display: block; font-size: 13px; font-weight: 600; color: #8a6100; }
.checkout-title { font-size: 26px; letter-spacing: -0.02em; margin: 2px 0 24px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.checkout-section-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.checkout-details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  background: var(--paper);
}
.checkout-field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.checkout-input {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
}
.checkout-input:focus { outline: none; border-color: var(--ink); }
.checkout-input::placeholder { color: #a19d93; }
.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.checkout-row + .checkout-row { border-top: 1px solid var(--line); }
.checkout-row strong { color: var(--ink); font-weight: 600; text-align: right; }
.checkout-total-block {
  border-radius: 12px;
  background: var(--yellow-soft);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.checkout-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; }
.checkout-total-row + .checkout-total-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(20, 20, 20, .12); }
.checkout-total-row strong { font-size: 17px; }
.checkout-advance-row span { font-weight: 600; }
.checkout-advance-row strong { font-size: 24px; letter-spacing: -0.02em; }
.checkout-due-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}
.checkout-terms a { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 2px; }
.checkout-terms input { accent-color: var(--ink) !important; }
.checkout-pay-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.checkout-pay-btn:hover { background: #333; }
#checkoutPayBtn { margin-top: 8px; }
.checkout-pay-btn.btn-gold { background: linear-gradient(180deg, #fed945 0%, #ffcf1f 100%); color: var(--ink); }
.checkout-btn-ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--line-strong); }
.checkout-btn-ghost:hover { border-color: var(--ink); }
.checkout-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }

.custom-dropdown { position: relative; }
.custom-dropdown-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 15.5px;
}
.custom-dropdown.open .custom-dropdown-trigger { border-color: var(--ink); }
.custom-dropdown-arrow { transition: transform .2s ease; }
.custom-dropdown.open .custom-dropdown-arrow { transform: rotate(180deg); }
.custom-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 32px -16px rgba(20, 20, 20, .3);
  padding: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.custom-dropdown.open .custom-dropdown-menu { display: block; }
.custom-dropdown-item { padding: 8px 10px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.custom-dropdown-item:hover { background: var(--soft); }
.custom-dropdown-item.active { background: var(--yellow-soft); font-weight: 600; }

.checkout-processing { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.checkout-processing-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--ink);
  animation: checkout-spin .8s linear infinite;
}
@keyframes checkout-spin { to { transform: rotate(360deg); } }
.checkout-processing-title { font-size: 18px; font-weight: 600; }
.checkout-processing-sub { font-size: 14px; color: var(--muted); }

.checkout-success { max-width: 720px; margin: 0 auto; text-align: center; }
.checkout-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #157347;
  background: #e5f5ec;
}
.checkout-success-title { font-size: 24px; margin-bottom: 6px; }
.checkout-success-text { max-width: 440px; margin: 0 auto; color: var(--ink-2); font-size: 15px; }
.checkout-success-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.checkout-success-meta span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.checkout-success-meta strong { display: block; font-size: 14.5px; overflow-wrap: anywhere; }
.checkout-success-body { display: grid; gap: 12px; text-align: left; margin-bottom: 16px; }
.checkout-success-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--paper); }
.checkout-success-card h5 { font-size: 15px; margin: 0 0 10px; }
.success-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); }
.success-row strong { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.success-row-divider { height: 1px; background: var(--line); margin: 6px 0; }
.success-row.success-row-paid strong { color: #157347; }
.success-row.success-row-due strong { color: #8a6100; }
.success-row-id { font-size: 13px; }
.success-row-id strong { font-weight: 500; color: var(--muted); }
.checkout-success-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--yellow-soft);
  font-size: 14px;
}
.checkout-success-note { max-width: 520px; margin: 0 auto 18px; font-size: 14px; color: var(--muted); }
.checkout-success-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; margin: 0 auto; }
.checkout-success-help { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.checkout-success-help a { color: var(--ink); font-weight: 600; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .calc-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 960px) {
  .calc-summary { grid-template-columns: 1fr 1fr; }
  .sum-lines { grid-column: 1 / -1; }
  .sum-total { border: 0; padding: 0; }
}
@media (max-width: 860px) {
  .culling-grid { grid-template-columns: 1fr; }
  .cull-steps { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .price-top { padding: 32px 0 18px; }
  .price-top > .container > p { font-size: 15.5px; }
  .price-switch button { padding: 9px 16px; font-size: 14.5px; }
  .price-panel { padding: 12px 0 64px; }
  .panel-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .calc-packages { grid-template-columns: 1fr; row-gap: 30px; }
  .package-desc { min-height: 0; }
  .calc-summary { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .sum-pay { flex-direction: column; align-items: stretch; }
  .sum-pay .calc-cta { width: 100%; justify-content: space-between; }
  .calc-total { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .calc-total-amount { font-size: 30px; }
  .included, .price-faq { padding-bottom: 64px; }
  .included-table > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .checkout-overlay { padding: 16px 10px; }
  .checkout-modal { padding: 28px 18px 22px; border-radius: 14px; }
  .checkout-title { font-size: 22px; }
  .checkout-success-meta { grid-template-columns: 1fr; gap: 12px; }
  .checkout-success-actions { grid-template-columns: 1fr; }
}

/* short laptop screens (1080p at 125%): the culling cards are only as tall as
   their content and the summary is trimmed, so the steps strip fits below.
   Kept at the end so it wins over the base culling rules. */
@media (min-width: 769px) and (max-height: 880px) {
  /* culling tab: shorter cards so the steps strip fits under them */
  .culling-grid { align-items: start; }
  .plan-card, .sum-card { padding-top: 16px; padding-bottom: 16px; }
  .sum-card .calc-summary-title { margin-bottom: 6px; }
  .culling-total-row { margin-top: 8px; padding-top: 8px; }
  .culling-summary-list { gap: 3px; }
  .culling-total-price { font-size: 24px; }
  .sum-card .calc-note { margin: 2px 0 10px; }
  .sum-card .calc-paynow-block { padding: 9px 14px; }
  .sum-card .calc-paynow-amount { font-size: 22px; }
  .sum-card .calc-paynow-sub { display: none; }
  .sum-card .calc-cta { height: 48px; margin-top: 10px; }
  .cull-steps { margin-top: 12px; padding: 12px 18px; }
}

/* 1080p screens (100% and 125% scaling): culling cards get the same width as
   one editing card; the steps strip stays below them at the same width. */
@media (min-width: 1400px) and (max-width: 2100px) and (min-height: 600px) and (max-height: 1100px) {
  #panel-culling > .container {
    display: grid;
    grid-template-columns: repeat(2, calc((100% - 54px) / 4));
    justify-content: center;
    align-items: stretch;
    column-gap: 18px;
    row-gap: 14px;
    padding-top: 14px;
  }
  #panel-culling .culling-grid { display: contents; }
  .cull-steps {
    grid-column: 1 / -1;
    max-width: none;
    margin: 0;
    padding: 14px 18px;
  }
}

/* once the page has placed the block, keep its top fixed: if a card or the
   order bar grows while you type, it only grows downwards */
.price-first.is-pinned { align-content: start; }

/* Elite note: the "unlock $1.50" hint replaces the rate line inside the same
   box, so there is only ever one message about pricing */
.plan-note .package-tier-info { display: none; margin: 0; font-size: inherit; color: inherit; }
.plan-note .package-tier-info.show { display: inline; }
.plan-note:has(.package-tier-info.show) .note-rate { display: none; }
.plan-note .package-tier-info strong { color: #6b5200; }

/* ---------- Phones: narrower, centred cards (Evoto-style mobile pricing) ---------- */
@media (max-width: 768px) {
  .price-top > .container > p { font-size: 14px; }
  .calc-packages,
  .calc-summary,
  .culling-grid,
  .cull-steps { max-width: 340px; margin-left: auto; margin-right: auto; }
  .calc-package-card { padding: 18px 16px 14px; }
  .calc-package-card.package-required { padding: 17px 15px 13px; }
  .calc-package-price { font-size: 30px; }
  .package-desc { font-size: 13.5px; }
  .calc-qty-btn { width: 40px; height: 40px; }
  .calc-input { height: 40px; font-size: 16px; }
  .calc-package-services li { font-size: 14px; }
  .plan-card, .sum-card { padding: 18px 16px; }
  /* Place order sized to its text */
  .calc-cta,
  .sum-pay .calc-cta,
  .sum-card .calc-cta { width: auto; align-self: center; margin-left: auto; margin-right: auto; height: 48px; padding-left: 22px; gap: 14px; font-size: 15px; }
  .calc-cta .btn-cta-icon { width: 34px; height: 34px; }
  .sum-pay { align-items: center; }
  .sum-pay .calc-paynow-block { align-self: stretch; width: 100%; }
  .sum-card { align-items: stretch; }
}

/* phones: "Included" table and pricing questions match the card width */
@media (max-width: 768px) {
  .included .container > div,
  .price-faq .container > div { max-width: 340px; margin-left: auto; margin-right: auto; }
  .included-table dd { font-size: 14px; }
  .dot-head { font-size: 22px; }
}

/* ---------- Phones: compact checkout so it fits the screen ---------- */
@media (max-width: 768px) {
  .checkout-overlay { padding: 8px; align-items: center; }
  .checkout-modal {
    padding: 16px 14px 14px;
    border-radius: 14px;
    max-height: calc(100svh - 16px);
    max-width: 370px;
    overflow-y: auto;
  }
  .checkout-close { top: 10px; right: 10px; width: 30px; height: 30px; }
  .checkout-eyebrow { font-size: 12px; }
  .checkout-title { font-size: 19px; margin: 0 0 10px; }
  .checkout-grid { gap: 10px; }
  .checkout-section-label { display: none; }
  .checkout-details { padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; }
  .checkout-details > div { margin-top: 6px !important; }
  .checkout-details > div:first-child { margin-top: 0 !important; gap: 8px !important; }
  .checkout-field-label { font-size: 12px; margin-bottom: 3px; }
  .checkout-input,
  .custom-dropdown-trigger { padding: 7px 10px; font-size: 14px; border-radius: 7px; }
  textarea.checkout-input { min-height: 46px !important; height: 52px; }
  #checkoutDetails2 + p { font-size: 11.5px !important; margin-top: 4px !important; }
  .checkout-row { padding: 5px 0; font-size: 13px; }
  .checkout-total-block { padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; }
  .checkout-total-row { font-size: 13.5px; }
  .checkout-total-row + .checkout-total-row { margin-top: 6px; padding-top: 6px; }
  .checkout-total-row strong { font-size: 15px; }
  .checkout-advance-row strong { font-size: 19px; }
  .checkout-terms { font-size: 11.5px !important; margin-bottom: 4px !important; }
  #checkoutPayBtn { margin-top: 6px; }
  .checkout-pay-btn { height: 44px; font-size: 15px; }
  .checkout-secure { margin-top: 6px; font-size: 11.5px; }
}
@media (max-width: 768px) {
  .checkout-row { padding: 4px 0; }
  .checkout-modal { padding-top: 14px; }
  .checkout-title { margin-bottom: 8px; }
}
@media (max-width: 400px) {
  #checkoutDetails2 + p { display: none; }
}
