/* SPC custom food & service estimator.
   Base: SPC Booking Estimator Assets plugin v1.0.6 + custom additions (service levels, methods, BBQ=buffet, flat evening rates).
   Built for the Pricing page — replace plugin CSS/JS and WPBakery Raw HTML from advanced/publish/. */
/* Scoped tokens - Salient / scottishpizza.co (navy #182f4f, teal #48b9cf, cream #f8eadc) */

.spc-estimator .spc-help {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  color: #5c5b59;
  line-height: 1.45;
}

.spc-estimator #spc-pizza-qty-hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #7a7976;
  line-height: 1.4;
}

.spc-estimator #spc-pizza-qty-hint[hidden] {
  display: none !important;
}

.spc-estimator .spc-vat {
  margin: 1rem 0 0;
  padding: 0;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #182f4f;
}

.spc-estimator .spc-vat[hidden] {
  display: none !important;
}

.spc-estimator *,
.spc-estimator *::before,
.spc-estimator *::after { box-sizing: border-box; }

.spc-estimator {
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #353534;
  background: transparent;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem 0 1.5rem;
}

.spc-estimator h1,
.spc-estimator h2,
.spc-estimator .spc-display {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.spc-estimator a {
  color: #3aa7bd;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.spc-estimator a:hover { color: #182f4f; }

.spc-estimator :focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}

.spc-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5d4c0;
}

.spc-brand {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #48b9cf;
  margin-bottom: 0.5rem;
}

.spc-header h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: #182f4f;
}

.spc-header p {
  margin: 0;
  color: #5c5b59;
  font-size: 0.95rem;
  max-width: 36em;
  margin-inline: auto;
}

.spc-panel {
  background: #ffffff;
  border: 1px solid #d3c6bc;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(24, 47, 79, 0.06), 0 8px 24px rgba(24, 47, 79, 0.08);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 539px) {
  .spc-panel { padding: 1.1rem 1rem; }
  .spc-year-toggle label,
  .spc-btn {
    min-height: 48px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .spc-packages { grid-template-columns: 1fr; }
  .spc-guests-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .spc-guests-input-wrap {
    flex: 0 0 auto;
    width: 5.5rem;
    min-width: 5.5rem;
    max-width: 5.5rem;
  }
  .spc-chips {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    min-width: 0;
  }
  .spc-chip {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
  }
  .spc-cta { flex-direction: column; }
  .spc-cta .spc-btn { width: 100%; }
}

.spc-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a7976;
  margin-bottom: 0.65rem;
}

.spc-year-toggle {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.spc-year-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.spc-year-toggle label {
  flex: 1;
  min-width: 4.5rem;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid #d3c6bc;
  border-radius: 8px;
  background: #f8eadc;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #5c5b59;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.spc-year-toggle label:hover {
  border-color: #7a7976;
  color: #353534;
}

.spc-year-toggle input:checked + label {
  border-color: #182f4f;
  background: #182f4f;
  color: #fff;
}

.spc-year-toggle input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}

.spc-guests-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.spc-guests-input-wrap {
  flex: 1 1 8rem;
  min-width: 7rem;
}

.spc-guests-input-wrap input[type="number"] {
  width: 100%;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #d3c6bc;
  border-radius: 8px;
  background: #f8eadc;
  color: #353534;
}

.spc-guests-input-wrap input[type="number"]:focus {
  outline: none;
  border-color: #182f4f;
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}

.spc-chips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 2 1 14rem;
  align-items: center;
}

.spc-chip {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid #d3c6bc;
  border-radius: 999px;
  background: #f8eadc;
  color: #5c5b59;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.spc-chip:hover {
  border-color: #7a7976;
  color: #353534;
}

.spc-chip.is-active {
  border-color: #182f4f;
  background: #182f4f;
  color: #fff;
}

.spc-chip:focus-visible {
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
  outline: none;
}

.spc-packages {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 540px) {
  .spc-packages {
    grid-template-columns: 1fr 1fr;
  }
}

.spc-pkg {
  position: relative;
  display: block;
  cursor: pointer;
}

.spc-pkg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.spc-pkg-card {
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid #d3c6bc;
  border-radius: 10px;
  background: #f8eadc;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.spc-pkg:hover .spc-pkg-card {
  border-color: #7a7976;
}

.spc-pkg input:checked + .spc-pkg-card {
  border-color: #48b9cf;
  background: #e8f6f9;
  box-shadow: inset 0 0 0 1px #48b9cf;
}

.spc-pkg input:focus-visible + .spc-pkg-card {
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}

.spc-pkg.is-unavailable .spc-pkg-card {
  opacity: 0.55;
}

.spc-pkg-name {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #182f4f;
  margin: 0 0 0.25rem;
}

.spc-pkg-blurb {
  font-size: 0.8rem;
  color: #5c5b59;
  margin: 0;
}

.spc-pkg-badge {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #182f4f;
  background: #bee5ef;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.spc-venue-note {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
}

.spc-venue-note[hidden] {
  display: none !important;
}

.spc-extras-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spc-breakdown .spc-bd-extra-detail {
  font-weight: 400;
  color: rgba(250, 247, 242, 0.65);
  font-size: 0.85rem;
}
.spc-extra {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spc-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
}

.spc-toggle input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #48b9cf;
  cursor: pointer;
  flex-shrink: 0;
}

.spc-toggle-text {
  font-size: 1rem;
  font-weight: 600;
  color: #182f4f;
}

.spc-extra-hint {
  margin: 0;
  padding-left: 1.8rem;
  font-size: 0.8rem;
  color: #7a7976;
}

.spc-estimator .spc-evening-panel[hidden],
.spc-estimator #spc-evening-style-wrap[hidden] {
  display: none !important;
}

.spc-evening-note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: #5c5b59;
  background: #f3e2d0;
  border: 1px solid #e5d4c0;
  border-radius: 8px;
  line-height: 1.45;
}

.spc-year-toggle.spc-evening-toggle label {
  font-size: 0.88rem;
  min-width: 0;
  flex: 1 1 10rem;
  line-height: 1.3;
  padding: 0.7rem 0.65rem;
}

.spc-breakdown {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 22rem;
  margin-inline: auto;
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.85);
}

.spc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
}

.spc-breakdown .spc-bd-label {
  color: rgba(250, 247, 242, 0.7);
}

.spc-breakdown .spc-bd-value {
  font-weight: 600;
  color: #f8eadc;
  white-space: nowrap;
}

.spc-result {
  background: #182f4f;
  color: #f8eadc;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  border: 1px solid #12243d;
}

.spc-result[hidden],
.spc-message[hidden] {
  display: none !important;
}

.spc-result-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.65);
  margin: 0 0 0.35rem;
}

.spc-total {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  line-height: 1.05;
}

.spc-unit {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.9);
  margin: 0 0 1rem;
}

.spc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
  margin: 0 0 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
}

.spc-meta strong {
  color: #f8eadc;
  font-weight: 600;
}

.spc-blurb-out {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.65);
  margin: 0;
  font-style: italic;
}

.spc-message {
  background: #f3e2d0;
  border: 1.5px solid #e5d4c0;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.spc-message p {
  margin: 0;
  color: #5c5b59;
  font-size: 0.95rem;
}

.spc-message.is-warn {
  border-color: #fcd34d;
  background: #fffbeb;
}

.spc-message.is-warn p {
  color: #92400e;
  font-weight: 500;
}

.spc-disclaimer {
  font-size: 0.8rem;
  color: #7a7976;
  text-align: center;
  margin: 0 0 1.25rem;
  padding: 0 0.5rem;
}

.spc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.spc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.spc-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}

.spc-estimator a.spc-btn-primary {
  background: #48b9cf;
  color: #fff;
  border-color: #48b9cf;
  box-shadow: 0 4px 14px rgba(72, 185, 207, 0.35);
}

.spc-estimator a.spc-btn-primary:hover {
  background: #3aa7bd;
  border-color: #3aa7bd;
  color: #fff;
}

.spc-estimator a.spc-btn-secondary {
  background: transparent;
  color: #182f4f;
  border-color: #182f4f;
}

.spc-estimator a.spc-btn-secondary:hover {
  background: #182f4f;
  color: #fff;
}

.spc-contact {
  text-align: center;
  font-size: 0.9rem;
  color: #5c5b59;
  margin: 0;
}

.spc-contact a {
  font-weight: 600;
  color: #182f4f;
}

.spc-noscript {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: #92400e;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .spc-year-toggle label,
  .spc-chip,
  .spc-pkg-card,
  .spc-btn {
    transition: none;
  }
}

/* ===== SPC custom food & service estimator additions (preview, not deployed) ===== */

.spc-estimator .spc-hero {
  text-align: center;
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 1.25rem;
  border-bottom: 1px solid #e5d4c0;
}
.spc-estimator .spc-hero .spc-brand { margin-bottom: 0.35rem; }
.spc-estimator .spc-hero h2 {
  font-size: 2.1rem;
  margin: 0 0 0.5rem;
  color: #182f4f;
}
.spc-estimator .spc-hero p {
  margin: 0 auto;
  max-width: 34em;
  color: #5c5b59;
  font-size: 0.98rem;
}

/* Method chooser cards */
.spc-estimator .spc-methods {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .spc-estimator .spc-methods { grid-template-columns: repeat(3, 1fr); }
}
.spc-estimator .spc-method { position: relative; display: block; cursor: pointer; margin: 0; min-width: 0; -webkit-tap-highlight-color: transparent; }
.spc-estimator .spc-method input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.spc-estimator .spc-method-card {
  display: flex;               /* was inline <span>: border/background broke into fragments, selected text white-on-cream */
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  height: 100%;
  text-align: left;
  color: #182f4f;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid #d3c6bc;
  border-radius: 10px;
  background: #f8eadc;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.spc-estimator .spc-method:hover .spc-method-card { border-color: #7a7976; }
.spc-estimator .spc-method input:checked + .spc-method-card {
  border-color: #182f4f;
  background: #182f4f;
  color: #f8eadc;
}
.spc-estimator .spc-method input:focus-visible + .spc-method-card {
  box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}
.spc-estimator .spc-method-name {
  display: block;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #182f4f;
  margin: 0 0 0.2rem;
}
.spc-estimator .spc-method-desc { display: block; font-size: 0.8rem; color: #5c5b59; line-height: 1.4; }
.spc-estimator .spc-method input:checked + .spc-method-card .spc-method-name { color: #fff; }
.spc-estimator .spc-method input:checked + .spc-method-card .spc-method-desc { color: rgba(250, 247, 242, 0.8); }
.spc-estimator .spc-method-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: "Heebo", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #48b9cf;
  color: #fff;
}

/* On/off switch (pizza only) */
.spc-estimator .spc-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e5d4c0;
}
.spc-estimator .spc-switch-text { display: block; font-weight: 600; color: #182f4f; }
.spc-estimator .spc-switch-hint { display: block; font-size: 0.8rem; color: #7a7976; }
.spc-estimator .spc-switch { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.spc-estimator .spc-switch input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.spc-estimator .spc-switch-track {
  width: 3.1rem; height: 1.75rem; border-radius: 999px;
  background: #d3c6bc; position: relative; transition: background 0.15s;
}
.spc-estimator .spc-switch-track::after {
  content: ""; position: absolute; top: 0.2rem; left: 0.2rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.15s;
}
.spc-estimator .spc-switch input:checked + .spc-switch-track { background: #48b9cf; }
.spc-estimator .spc-switch input:checked + .spc-switch-track::after { transform: translateX(1.35rem); }
.spc-estimator .spc-switch input:focus-visible + .spc-switch-track { box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4); }

/* Mode / pizza-only visibility */
.spc-estimator[data-method="items"] [data-methods]:not([data-methods~="items"]),
.spc-estimator[data-method="dayeve"] [data-methods]:not([data-methods~="dayeve"]),
.spc-estimator[data-method="same"] [data-methods]:not([data-methods~="same"]) {
  display: none !important;
}
.spc-estimator.is-pizza-only [data-hide-pizza-only] { display: none !important; }
.spc-estimator [data-pizza-only-show] { display: none; }
.spc-estimator.is-pizza-only [data-pizza-only-show] { display: block; }

/* Quantity grid */
.spc-estimator .spc-qty-grid {
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .spc-estimator .spc-qty-grid.spc-qty-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spc-estimator .spc-qty-grid.spc-qty-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.spc-estimator .spc-qty { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.spc-estimator .spc-qty label {
  font-size: 0.85rem; font-weight: 600; color: #182f4f; line-height: 1.3;
}
.spc-estimator .spc-qty input[type="number"] {
  width: 100%;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.65rem 0.8rem;
  min-height: 48px;
  border: 1.5px solid #d3c6bc;
  border-radius: 8px;
  background: #f8eadc;
  color: #353534;
}
.spc-estimator .spc-qty input[type="number"]:focus {
  outline: none; border-color: #182f4f; box-shadow: 0 0 0 3px rgba(72, 185, 207, 0.4);
}
.spc-estimator .spc-qty input[aria-invalid="true"] { border-color: #b45309; background: #fffbeb; }
.spc-estimator .spc-qty-hint { margin: 0; font-size: 0.75rem; color: #7a7976; line-height: 1.35; }
.spc-estimator .spc-qty-error { margin: 0; font-size: 0.75rem; font-weight: 600; color: #92400e; }
.spc-estimator .spc-qty-error[hidden] { display: none !important; }
.spc-estimator .spc-subhead {
  display: block; margin: 1.1rem 0 0.6rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #7a7976;
}
.spc-estimator .spc-linked {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: #182f4f;
  background: #e8f6f9;
  border: 1px solid #bee5ef;
  border-radius: 8px;
}
.spc-estimator .spc-linked strong { font-weight: 700; }
.spc-estimator .spc-check-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Custom result */
.spc-estimator .spc-breakdown.spc-breakdown-wide { max-width: 26rem; }
.spc-estimator .spc-breakdown .spc-bd-sub {
  border-top: 1px solid rgba(250, 247, 242, 0.15); margin-top: 0.35rem; padding-top: 0.5rem;
}
.spc-estimator .spc-bd-onreq { font-style: italic; font-weight: 500; color: #bee5ef; }
.spc-estimator .spc-onreq-note { font-size: 0.85rem; color: #bee5ef; margin: 0 0 0.85rem; }
.spc-estimator .spc-onreq-note[hidden] { display: none !important; }
.spc-estimator .spc-preview-flag {
  margin: 0 0 1rem; padding: 0.45rem 0.75rem; font-size: 0.78rem; color: #5c5b59;
  background: #f8eadc; border: 1px solid #d3c6bc; border-radius: 8px; text-align: center;
}

@media (max-width: 539px) {
  .spc-estimator .spc-hero h2 { font-size: 1.7rem; }
  .spc-estimator .spc-breakdown { font-size: 0.88rem; }
  .spc-estimator .spc-total { font-size: 2.5rem; }
}

/* Tier visibility */
.spc-estimator .spc-tier-box:empty { display: none; }
.spc-estimator .spc-tier-box {
  margin: 0.9rem 0 0; padding: 0.7rem 0.85rem; background: #f8eadc; border: 1px solid #e5d4c0; border-radius: 10px;
}
.spc-estimator .spc-tier-title { margin: 0 0 0.45rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #7a7976; }
.spc-estimator .spc-tier-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.spc-estimator .spc-tier-chip {
  display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.82rem; color: #5c5b59;
  padding: 0.3rem 0.6rem; border: 1.5px solid #d3c6bc; border-radius: 999px; background: #fff;
}
.spc-estimator .spc-tier-chip strong { color: #182f4f; }
.spc-estimator .spc-tier-chip.is-active { background: #182f4f; border-color: #182f4f; color: #f8eadc; }
.spc-estimator .spc-tier-chip.is-active strong { color: #fff; }
.spc-estimator .spc-tier-badge { margin: 0.55rem 0 0; font-size: 0.88rem; color: #182f4f; }
.spc-estimator .spc-tier-next {
  margin: 0.4rem 0 0; font-size: 0.82rem; font-weight: 600; color: #1f6f80;
  padding: 0.35rem 0.6rem; background: #e8f6f9; border: 1px solid #bee5ef; border-radius: 6px; display: inline-block;
}

/* ===== Step 1: food & service level (drives pizza-only / sides & salads / evening food) ===== */
.spc-estimator .spc-step {
  display: inline-block; margin: 0 0 0.35rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #1f6f80;
}
.spc-estimator .spc-step + .spc-label { display: block; }
.spc-estimator .spc-services {
  display: grid; gap: 0.6rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .spc-estimator .spc-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.spc-estimator .spc-service .spc-method-card { padding: 1rem 1.05rem; }
.spc-estimator .spc-service .spc-method-name { font-size: 1.22rem; }
.spc-estimator .spc-service .spc-method-desc { font-size: 0.84rem; }
.spc-estimator .spc-service .spc-service-sub { display: block; margin-top: 0.15rem; font-family: inherit; font-size: 0.86rem; font-weight: 500; line-height: 1.35; color: #5c5b59; }
.spc-estimator .spc-service input:checked + .spc-method-card .spc-service-sub { color: rgba(250, 247, 242, 0.85); }
/* Pizza only: still available, deliberately quieter than the fuller options */
.spc-estimator .spc-service-minor .spc-method-card {
  flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem;
  padding: 0.55rem 0.95rem; background: transparent; border: 1px solid #e3d7cc; /* thin solid, lighter: quieter but clearly selectable (v18) */
}
.spc-estimator .spc-service-minor:hover .spc-method-card { border-color: #a9a39c; }
.spc-estimator .spc-service-minor .spc-method-name { font-size: 1rem; margin: 0; }
.spc-estimator .spc-service-minor .spc-method-desc { font-size: 0.78rem; }
.spc-estimator .spc-service-minor input:checked + .spc-method-card { border-color: #182f4f; }

/* Service-driven visibility */
.spc-estimator:not([data-service="full"]) [data-service-show~="full"] { display: none !important; }
/* Set-package method only offers packages that match the chosen service */
.spc-estimator[data-service="pss"] .spc-pkg:has(#spc-pkg-pizza),
.spc-estimator[data-service="pss"] .spc-pkg:has(#spc-pkg-cpss),
.spc-estimator[data-service="pss"] .spc-pkg:has(#spc-pkg-cmeb),
.spc-estimator[data-service="half"] .spc-pkg:has(#spc-pkg-pizza),
.spc-estimator[data-service="half"] .spc-pkg:has(#spc-pkg-pss),
.spc-estimator[data-service="half"] .spc-pkg:has(#spc-pkg-cmeb),
.spc-estimator[data-service="full"] .spc-pkg:has(#spc-pkg-pizza),
.spc-estimator[data-service="full"] .spc-pkg:has(#spc-pkg-pss),
.spc-estimator[data-service="full"] .spc-pkg:has(#spc-pkg-cpss) { display: none !important; }

/* N4: plugin rules like .spc-extra { display:flex } were beating the [hidden] attribute. Hidden always wins inside the estimator. */
.spc-estimator [hidden] { display: none !important; }

/* Half day catering: package-priced only (no per-item canapé price) — only the Set package method is offered. */
.spc-estimator[data-service="half"] .spc-method:has(#spc-method-items),
.spc-estimator[data-service="half"] .spc-method:has(#spc-method-dayeve) { display: none !important; }
@media (min-width: 640px) {
  .spc-estimator[data-service="half"] .spc-methods { grid-template-columns: minmax(0, 1fr); }
}

/* Half day quick-pick chips: 50+ / 120+ / 200+ only (cpss bands). JS also sets [hidden] + clears is-active. */
.spc-estimator[data-service="half"] .spc-chip[data-guests="25"],
.spc-estimator[data-service="half"] .spc-chip[data-guests="80"] { display: none !important; }
