/* Dedicated Suunnittele page. Shared branding remains in shell.css. */
/* Tuotannon teema ei määrittele --muted-tokenia; suunnittelusivu tarvitsee sen. */
body.planner-view { --muted: #5a615d; }

/* hidden-attribuutti pitää piilottaa myös silloin, kun komponentilla on oma
   display-sääntö (teeman CSS:ssä ei ole globaalia [hidden]-sääntöä). */
body.planner-view [hidden] { display: none !important; }

/* Peruskomponentit, jotka demossa tulivat erillisestä style.css-tiedostosta.
   Tuotannon teema käyttää .btn-luokkia, joten suunnittelusivun .button-sarja
   määritellään tässä (rajattu vaikutus: vain nämä luokat). */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 43px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--navy); color: var(--paper); transition: background .15s; }
.button-primary:hover { background: var(--forest); }
.button-back { background: transparent; padding-inline: 5px; color: var(--muted); gap: 6px; }
.button-back:hover { text-decoration: underline; }
.button:disabled { cursor: default; opacity: .65; }

/* Kuvasuurennos: oma dialogi, ei vaikuta teeman muihin dialogeihin. */
#image-dialog {
  max-width: min(760px, 92vw);
  padding: 40px 25px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
#image-dialog::backdrop { background: #17231dde; backdrop-filter: blur(3px); }
#image-dialog img { width: 100%; max-height: 65vh; object-fit: contain; }
#image-dialog p { margin-top: 18px; color: var(--ink); font-family: var(--serif); font-size: 22px; text-align: center; }
#image-dialog .dialog-close {
  position: absolute;
  top: 6px;
  right: 12px;
  padding: 4px 9px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.3;
  cursor: pointer;
}

/* Honeypot: näkymätön mutta lomakkeessa (botit täyttävät). */
#planner-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.planning-introduction {
  padding: 28px 0 38px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.planning-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.planning-breadcrumb > span { color: #999e94; }
.planning-introduction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 46px;
  min-width: 0;
}
.planning-introduction-copy { min-width: 0; }
.planning-introduction h1 {
  margin: 0 0 14px;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .09em;
  overflow-wrap: anywhere;
}
.planning-headline {
  max-width: 20ch;
  margin: 0 0 23px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.planning-introduction-text { max-width: 65ch; color: var(--ink); font-size: 15px; line-height: 1.85; }
.planning-introduction-text p + p { margin-top: 17px; }
.planning-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.planning-signature-portrait {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper);
}
.planning-signature-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform: scale(1.55);
  transform-origin: 53% 12%;
}
.planning-signature p {
  min-width: 0;
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  font-style: italic;
  line-height: 1.3;
}
.launch-offer {
  min-width: 0;
  padding: 26px 24px 24px;
  border: 1px solid #aebda0;
  border-top: 3px solid var(--forest);
  border-radius: 10px;
  background: #edf1e6;
}
.launch-offer h2 {
  margin: 0 0 21px;
  color: var(--forest);
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.launch-offer h2 > span { display: block; margin-top: 9px; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.launch-offer > p { color: var(--forest); font-size: 14px; line-height: 1.8; }
.launch-offer > p + p { margin-top: 13px; }
.launch-offer strong { color: var(--forest); font-size: 18px; font-weight: 600; }
.launch-offer sup { font-size: 11px; }
.launch-offer-actions { display: grid; gap: 10px; margin-top: 23px; }
.launch-offer-actions .button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 5px;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.launch-offer-actions .button > span { white-space: nowrap; }
.launch-offer-actions .button-primary { color: var(--white); background: var(--navy); }
.launch-offer-actions .button-primary:hover { background: var(--forest); border-color: var(--forest); }
.launch-offer-actions .launch-call { color: var(--forest); background: transparent; border-color: #a4b09a; }
.launch-offer-actions .launch-call:hover { background: #e1e8d8; border-color: var(--forest); }
/* Nappien väliin lisätty huomio puhelimitse aloittamisesta (asiakas 18.11.2026). */
.launch-offer-note {
  grid-column: 1 / -1;
  margin: 3px 0 1px;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}
.launch-offer .launch-offer-terms { margin-top: 19px; font-size: 12px; line-height: 1.75; color: var(--muted); }
@media (max-width: 1000px) {
  .planning-introduction-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .planning-introduction-copy { max-width: 760px; }
  .planning-headline { max-width: 26ch; font-size: 38px; }
  /* Napit allekkain myös tabletilla, jotta huomiorivi pysyy nappien välissä eikä
     toinen nappi jää yksin tyhjälle riville (asiakas 18.11.2026). */
  .launch-offer-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .planning-introduction { padding: 23px 0 28px; }
  .planning-breadcrumb { margin-bottom: 22px; font-size: 12px; }
  .planning-introduction h1 { margin-bottom: 13px; font-size: 11px; letter-spacing: .07em; }
  .planning-headline { margin-bottom: 20px; font-size: clamp(29px, 7.7vw, 36px); line-height: 1.16; }
  .planning-introduction-text { font-size: 15px; line-height: 1.8; }
  .planning-introduction-text p + p { margin-top: 16px; }
  .launch-offer { padding: 23px 20px 21px; }
  .launch-offer h2 { font-size: 28px; }
  .launch-offer > p { font-size: 15px; }
  .launch-offer-actions { grid-template-columns: minmax(0, 1fr); }
  .launch-offer-actions .button { min-height: 54px; }
  .launch-offer .launch-offer-terms { font-size: 12px; }
}
.planner-page {
  --plan-border: #d5d8ce;
  --plan-selected: #edf0e9;
  padding: 16px 0 64px;
}

.planner-page .container { min-width: 0; }
.planner-intro { padding-bottom: 18px; }
.planner-intro .eyebrow { display: none; }
.planner-intro .planner-tool-title {
  color: var(--ink);
  font-size: clamp(34px, 3.5vw, 38px);
  line-height: 1.13;
  letter-spacing: -.025em;
  margin: 0 0 8px;
}
.planner-lede {
  max-width: 790px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.planner-assurance {
  display: none;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 9px;
  color: var(--forest);
  font-size: 12px;
  line-height: 1.65;
}
.planner-assurance span { display: inline-flex; align-items: center; gap: 7px; }
.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 28px;
  min-width: 0;
}
.planner-main {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.progress-shell {
  min-width: 0;
  padding: 10px 22px 11px;
  border-bottom: 1px solid var(--line);
}
.progress-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.planner-steps {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  list-style: none;
  gap: 2px;
  padding: 0 0 1px;
  margin: 0;
  min-width: 0;
}
.planner-steps > li { position: relative; min-width: 0; }
.planner-steps > li:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  height: 1px;
  background: var(--line);
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  top: 14px;
}
.planner-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 53px;
  padding: 0 1px 3px;
  border: 0;
  border-radius: 3px;
  background: none;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
.planner-step .step-number {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--plan-border);
  border-radius: 50%;
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
}
.planner-step .step-label { overflow-wrap: anywhere; }
.planner-step.is-current { color: var(--forest); font-weight: 600; }
.planner-step.is-current .step-number { color: white; border-color: var(--forest); background: var(--forest); }
.planner-step.is-done .step-number,
.planner-step.is-visited:not(.is-current) .step-number { border-color: #cbd4c6; background: var(--plan-selected); color: var(--forest); }
.planner-step:disabled { cursor: default; }
.planner-step:disabled .step-label { color: #747970; }
.planner-step:not(:disabled):hover .step-label { text-decoration: underline; text-underline-offset: 3px; }
#planner-form { min-width: 0; margin: 0; }
#planner-stage { padding: 20px 25px 25px; min-width: 0; }
.stage-heading { margin-bottom: 16px; }
.stage-heading h2 {
  color: var(--ink);
  font-size: clamp(27px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -.015em;
  margin: 0 0 8px;
}
.stage-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 680px;
}
.plan-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.plan-product {
  position: relative;
  min-width: 0;
  border: 1px solid var(--plan-border);
  border-radius: 9px;
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.plan-product.is-selected { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.plan-product:not(.extra-flower-card) .plan-zoom { top: auto; right: 12px; bottom: 12px; }
.plan-product:not(.extra-flower-card) .plan-product-price { padding-right: 52px; }
.plan-select {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  text-align: left;
  background: transparent;
}
.plan-select:focus-visible { outline-offset: -4px; }
.plan-product:hover { border-color: #8e9d86; }
.plan-photo {
  display: block;
  position: relative;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: white;
}
.plan-photo .plan-image {
  display: block;
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
}
.plan-photo img {
  display: block;
  position: absolute;
  inset: 20px 14px 10px;
  width: calc(100% - 28px);
  height: calc(100% - 30px);
  min-width: 0;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: normal;
}
.clothing-products .plan-photo { aspect-ratio: 3 / 2; }
.coffin-products .plan-photo { aspect-ratio: 2 / 1; }
.clothing-products .plan-image { inset: 0; width: 100%; height: 100%; }
.clothing-products .plan-photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.flower-products .plan-photo img,
.plan-products[data-category="flowers"] .plan-photo img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; mix-blend-mode: normal; }
.urn-products .plan-photo,
.flower-products .plan-photo { aspect-ratio: 4 / 3; }
.plan-product-info { display: flex; flex: 1; flex-direction: column; padding: 15px 15px 16px; min-width: 0; width: 100%; }
.plan-product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-width: 0; width: 100%; }
.plan-product-name { min-width: 0; color: var(--ink); font-family: var(--serif); font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.selection-dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #a9b49f;
  border-radius: 50%;
  color: transparent;
  background: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1;
}
.plan-product-top .selection-dot { margin-top: 2px; }
.plan-product.is-selected .selection-dot,
.plan-option[aria-pressed="true"] .selection-dot { border-color: var(--forest); background: var(--forest); color: white; }
.plan-product-detail { display: block; color: var(--muted); font-size: 12px; line-height: 1.65; margin-top: 6px; }
.plan-product-price { display: block; color: var(--forest); font-size: 16px; line-height: 1.4; font-weight: 600; margin-top: auto; padding-top: 12px; }
.plan-zoom {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d5d8ce;
  border-radius: 50%;
  background: #fffdf8ed;
  color: var(--forest);
  font-size: 21px;
  line-height: 1;
}
.plan-zoom:hover { background: white; border-color: var(--forest); }
.plan-options { display: grid; gap: 10px; margin-top: 16px; }
.plan-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--plan-border);
  border-radius: 7px;
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.plan-option > .selection-dot { margin-left: auto; }
.plan-option[aria-pressed="true"] { border-color: var(--forest); background: var(--plan-selected); }
.plan-option:hover { border-color: var(--forest); }
.plan-option strong { font-weight: 500; }
.plan-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.plan-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.55; }
.plan-field.full { grid-column: 1 / -1; }
.plan-field > span:not(.field-error) { display: block; }
.plan-field input,
.plan-field select,
.plan-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #c6cdc0;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.plan-field textarea { min-height: 120px; resize: vertical; }
.plan-field input::placeholder,
.plan-field textarea::placeholder { color: #747970; font-size: 14px; opacity: 1; }
.plan-field .field-hint,
.field-hint { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.7; }
.plan-field input[aria-invalid="true"],
.plan-field textarea[aria-invalid="true"] { border-color: #a34835; background: #fff9f5; }
.planner-page .field-error { color: #833c2d; font-size: 13px; font-weight: 400; line-height: 1.7; }
.plan-fieldset { padding: 0; border: 0; margin: 26px 0 0; min-width: 0; }
.plan-fieldset legend { padding: 0; margin-bottom: 12px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.6; }
.method-control { position: relative; display: block; min-width: 0; }
.method-selection select { appearance: none; -webkit-appearance: none; min-height: 52px; padding: 12px 48px 12px 15px; border-color: var(--plan-border); border-radius: 8px; background: var(--cream); }
.method-control::after { content: ''; position: absolute; top: 50%; right: 18px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.choice-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.choice-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 92px;
  padding: 14px 43px 14px 15px;
  border: 1px solid var(--plan-border);
  border-radius: 8px;
  background: var(--cream);
  text-align: left;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.choice-option strong { color: var(--forest); font-size: 16px; font-weight: 500; }
.choice-option small { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 5px; }
.choice-option[aria-pressed="true"] { border-color: var(--forest); background: var(--plan-selected); box-shadow: inset 0 0 0 1px var(--forest); }
.choice-option > .selection-dot { position: absolute; top: 13px; right: 13px; }
.choice-option[aria-pressed="true"] > .selection-dot { color: white; border-color: var(--forest); background: var(--forest); }
.choice-option:hover { border-color: var(--forest); }
.transport-card { padding: 22px 0; border-top: 1px solid var(--line); min-width: 0; }
.transport-card h3 { font-size: 25px; line-height: 1.2; margin: 0 0 10px; }
.transport-card > p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.transport-fields { margin-bottom: 18px; }
.transport-help { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 14px 0 0; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.plan-check { margin-top: 15px; min-width: 0; }
.plan-check label,
label.plan-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 6px 0; color: var(--ink); font-size: 14px; font-weight: 400; line-height: 1.8; }
.plan-check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--forest); }
.plan-check small { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 3px; }
.plan-check span { min-width: 0; }
.services-grid .plan-check { margin: 0; }
.service-choice { min-width: 0; }
.service-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-left: 32px; color: var(--forest); font-size: 13px; text-underline-offset: 3px; }
.stage-heading > p > strong { color: var(--ink); font-weight: 700; }
.plan-notice { margin: 20px 0 0; padding: 13px 15px; border-left: 2px solid var(--sand); border-radius: 0 5px 5px 0; background: var(--cream); color: var(--muted); font-size: 13px; line-height: 1.8; }
.plan-notice.subtle { padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; }
.plan-help { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 16px; }
.copy-email-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 8px; }
.error-summary { margin: 0 25px 24px; padding: 13px 16px; border-left: 3px solid #a34835; border-radius: 0 5px 5px 0; background: #fff1e9; color: #833c2d; font-size: 14px; line-height: 1.8; }
.error-summary a { color: inherit; }
.planner-actions {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 11px 11px;
  background: var(--cream);
}
.plan-reassurance { margin: 0; padding: 13px 24px 15px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.plan-price-inline { min-width: 0; }
.plan-price-inline > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan-price-inline > strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.35; }
.plan-price-inline > small { display: block; color: var(--muted); font-size: 11px; line-height: 1.6; max-width: 245px; }
.plan-action-buttons { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; min-width: 0; }
.plan-action-buttons .button { min-height: 48px; font-size: 14px; white-space: normal; }
.plan-action-buttons .button-primary { gap: 13px; padding-inline: 18px; }
.plan-action-buttons .button-back { min-width: 0; padding-inline: 4px; }
.plan-summary { color: var(--ink); min-width: 0; }
.summary-group { margin: 0 0 25px; min-width: 0; }
.summary-group > h3 { color: var(--forest); font-size: 23px; font-weight: 400; line-height: 1.3; margin: 0 0 10px; }
.plan-summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); min-width: 0; font-size: 14px; line-height: 1.6; }
.plan-summary-row > div:first-child { min-width: 0; }
.plan-summary-row strong { font-weight: 500; }
.plan-summary-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 3px; }
.summary-row-right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-weight: 500; text-align: right; }
.edit-plan { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 66px; padding: 0; border: 0; border-radius: 3px; background: none; color: var(--muted); font-size: 12px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.edit-plan:hover { color: var(--forest); }
.summary-grand-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 19px; margin-top: 8px; font-size: 15px; }
.summary-grand-total strong { color: var(--forest); font-family: var(--serif); font-size: 35px; font-weight: 400; line-height: 1.2; }
.summary-pending { margin-top: 20px; padding: 15px 17px; background: var(--cream); border-left: 2px solid var(--sand); border-radius: 0 5px 5px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.summary-pending ul { padding-left: 18px; margin: 8px 0 0; }
.summary-pending li + li { margin-top: 3px; }
.plan-aside { position: sticky; top: calc(var(--header-height, 149px) + 20px); min-width: 0; padding: 24px 21px; border: 1px solid var(--line); border-radius: 11px; background: #fbf9f380; }
.plan-aside h2 { font-size: 26px; margin: 0 0 8px; }
.plan-aside h3 { font-size: 23px; margin: 0 0 10px; }
.plan-aside > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.aside-empty { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 17px; }
#aside-items { margin-top: 17px; }
.aside-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.aside-item > span { min-width: 0; overflow-wrap: anywhere; }
.aside-item strong { flex: none; color: var(--forest); font-size: 13px; font-weight: 500; text-align: right; }
.aside-total { padding-top: 17px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.aside-total strong { display: block; margin-top: 4px; color: var(--forest); font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.2; }
.aside-pending { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 13px; }
.aside-pending ul { margin: 7px 0 0; padding-left: 17px; }
.aside-price-note { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.aside-help { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.aside-help a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: 17px; font-weight: 500; text-decoration: none; }
.aside-help small { display: block; margin-top: 4px; }
.plan-confirmation { min-width: 0; }
.confirmation-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 18px; background: var(--plan-selected); color: var(--forest); font-size: 25px; }
.plan-confirmation h2 { margin: 0 0 12px; font-size: 34px; letter-spacing: -.015em; }
.plan-confirmation > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.plan-confirmation .plan-summary { margin-top: 26px; }
.confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }
.confirmation-actions .button { min-height: 48px; font-size: 14px; }
.plan-share { margin: 24px 0; padding: 22px; border: 1px solid var(--plan-border); border-radius: 10px; background: #f2f4ee; min-width: 0; }
.plan-share h3 { margin: 0 0 9px; color: var(--forest); font-size: 25px; line-height: 1.25; font-weight: 400; }
.plan-share > p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.plan-share-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.plan-share-actions .button { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #a4b09a; border-radius: 7px; background: transparent; color: var(--forest); font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; white-space: normal; }
.plan-share-actions .button:hover { background: #e4eadc; }
.plan-share-actions .share-primary { background: var(--navy); border-color: var(--navy); color: white; }
.plan-share-actions .share-primary:hover { background: var(--forest); }
.plan-share-actions .button:disabled { opacity: .6; cursor: wait; }
.plan-share .share-status:empty { display: none; }
.plan-share .image-prepare { min-height: 48px; margin-top: 12px; padding: 12px 16px; border: 1px solid #a4b09a; border-radius: 7px; background: white; color: var(--forest); font-size: 14px; white-space: normal; }
.share-image-result { margin-top: 16px; }
.share-image-result > img { display: block; width: 100%; max-height: 360px; object-fit: contain; border: 1px solid var(--plan-border); background: white; }
.plan-share .share-status { margin-top: 14px; color: var(--forest); }
.share-preview { margin-top: 16px; min-width: 0; }
.share-preview summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--forest); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.share-preview label { display: block; margin: 8px 0; font-size: 13px; }
.share-preview textarea { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 200px; padding: 13px; border: 1px solid var(--plan-border); border-radius: 6px; background: white; color: var(--ink); font: 14px/1.7 var(--sans); resize: vertical; }
@media (max-width: 600px) {
  .plan-share { padding: 18px 15px; }
  .plan-share-actions { grid-template-columns: minmax(0,1fr); }
}
@media print { .plan-share { display: none !important; } }
.contact-planner-link { display: block; padding: 23px; margin: 0 0 26px; border: 1px solid #a7b29d; border-radius: 10px; background: var(--plan-selected); color: var(--forest); text-decoration: none; font-size: 16px; line-height: 1.7; }
.contact-planner-link strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.3; }
.contact-planner-link small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.contact-planner-link h2 { margin: 0 0 10px; color: var(--forest); font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.3; }
.contact-planner-link p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-planner-link .button { margin-top: 15px; }
.contact-planner-link:hover { border-color: var(--forest); }

@media (min-width: 761px) {
  .progress-meta { display: none; }
}

@media (max-width: 1200px) {
  .planner-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 22px; }
  .plan-aside { padding: 21px 18px; }
  .planner-step { font-size: 11px; }
  .planner-actions { flex-direction: column; align-items: stretch; gap: 13px; }
  .plan-price-inline { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 16px; align-items: center; }
  .plan-price-inline > small { grid-column: 1 / -1; max-width: none; }
  .plan-action-buttons { justify-content: space-between; }
  .plan-action-buttons > .button-primary { margin-left: auto; }
}

@media (max-width: 1099px) {
  .planner-layout { grid-template-columns: minmax(0, 1fr); }
  .plan-aside { display: none; }
  .planner-intro { padding-bottom: 18px; }
  .planner-step { font-size: 12px; }
  .planner-actions { flex-direction: row; align-items: center; }
  .plan-price-inline { display: block; }
  .plan-price-inline > small { max-width: 290px; }
  .plan-action-buttons { justify-content: flex-end; }
  .plan-action-buttons > .button-primary { margin-left: 0; }
}

@media (max-width: 760px) {
  .planner-page { padding-top: 16px; padding-bottom: 42px; }
  .planner-intro .planner-tool-title { font-size: 37px; }
  .planner-lede { font-size: 14px; }
  .planner-assurance { font-size: 12px; gap: 3px 16px; }
  .progress-shell { padding: 15px 17px 12px; }
  .planner-steps { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 8px; padding: 0 0 6px; gap: 0; scrollbar-width: thin; scrollbar-color: #bdc6b6 transparent; }
  .planner-steps > li { flex: 0 0 86px; }
  .planner-step { min-height: 57px; padding: 0 3px 4px; font-size: 11px; }
  .planner-step .step-label { overflow-wrap: normal; }
  .planner-steps > li:not(:last-child)::after { left: 60px; right: -26px; }
  #planner-stage { padding: 22px; }
  .stage-heading { margin-bottom: 21px; }
  .stage-heading h2 { font-size: 29px; }
  .stage-heading > p { font-size: 14px; line-height: 1.8; }
  .plan-product-name { font-size: 21px; }
  .planner-actions { flex-direction: column; align-items: stretch; padding: 16px 22px; gap: 12px; }
  .plan-price-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 16px; }
  .plan-price-inline > strong { font-size: 27px; }
  .plan-price-inline > small { grid-column: 1 / -1; max-width: none; font-size: 12px; }
  .plan-action-buttons { justify-content: space-between; }
  .plan-action-buttons > .button-primary { margin-left: auto; }
  .plan-field-grid { gap: 18px; }
  .services-grid { grid-template-columns: 1fr; gap: 7px; }
  .error-summary { margin: 0 22px 22px; }
  .plan-summary-row { font-size: 14px; }
}

@media (max-width: 540px) {
  .planner-page { padding-top: 16px; }
  .planner-intro { padding-bottom: 19px; }
  .planner-intro .eyebrow { font-size: 10px; letter-spacing: .11em; }
  .planner-intro .planner-tool-title { font-size: 35px; margin-top: 7px; margin-bottom: 10px; }
  .planner-lede { font-size: 14px; line-height: 1.8; }
  .planner-assurance { display: none; }
  .planner-assurance span + span { margin-left: 0; display: flex; margin-top: 2px; }
  .progress-shell { padding-inline: 14px; }
  .progress-meta { font-size: 12px; margin-bottom: 11px; }
  .planner-steps > li { flex-basis: 83px; }
  .planner-steps > li:not(:last-child)::after { left: 58px; right: -25px; }
  .planner-step { font-size: 11px; }
  #planner-stage { padding: 21px 17px; }
  .stage-heading h2 { font-size: 28px; }
  .stage-heading > p { font-size: 14px; }
  .plan-products { gap: 11px; }
  .plan-photo img { inset: 22px 9px 8px; width: calc(100% - 18px); height: calc(100% - 30px); }
  .clothing-products .plan-photo img { inset: 0; width: 100%; height: 100%; }
  .plan-product-info { padding: 14px 11px 15px; }
  .plan-product-top { gap: 7px; }
  .plan-product-top .selection-dot { position: absolute; top: 8px; left: 8px; margin-top: 0; }
  .plan-product-name { font-size: 19px; }
  .plan-product-detail { font-size: 12px; line-height: 1.65; }
  .plan-product-price { font-size: 16px; padding-top: 11px; }
  .selection-dot { width: 19px; height: 19px; }
  .plan-zoom { width: 44px; height: 44px; font-size: 21px; top: 2px; right: 2px; }
  .plan-option { padding: 13px 13px; font-size: 14px; gap: 10px; }
  .plan-field-grid { grid-template-columns: 1fr; }
  .plan-field { grid-column: 1 / -1; }
  .plan-field input, .plan-field select, .plan-field textarea { font-size: 16px; }
  .choice-options { grid-template-columns: 1fr; }
  .choice-option { min-height: 77px; padding: 13px 43px 13px 14px; }
  .choice-option strong { font-size: 16px; }
  .transport-card { padding-block: 22px; }
  .transport-card h3 { font-size: 24px; }
  .plan-check label, label.plan-check { font-size: 14px; line-height: 1.8; }
  .planner-actions { padding: 15px 17px; }
  .plan-price-inline > strong { font-size: 26px; }
  .plan-action-buttons { gap: 10px; }
  .plan-action-buttons .button { font-size: 14px; min-height: 48px; }
  .plan-action-buttons .button-primary { padding-inline: 15px; gap: 10px; }
  .error-summary { margin-inline: 17px; font-size: 14px; }
  .summary-group > h3 { font-size: 23px; }
  .plan-summary-row { font-size: 14px; gap: 12px; }
  .plan-summary-row small { font-size: 12px; }
  .summary-row-right { font-size: 14px; }
  .summary-grand-total { font-size: 14px; }
  .summary-grand-total strong { font-size: 32px; }
  .summary-pending { padding: 13px 14px; font-size: 13px; }
  .plan-confirmation h2 { font-size: 30px; }
  .plan-confirmation > p { font-size: 14px; }
  .confirmation-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .confirmation-actions .button { width: 100%; }
  .contact-planner-link { padding: 20px; }
  .contact-planner-link strong { font-size: 26px; }
}

@media (max-width: 360px) {
  .planner-intro .planner-tool-title { font-size: 32px; }
  .plan-products { grid-template-columns: 1fr; }
  .plan-product-name { font-size: 22px; }
  .plan-product-info { padding: 16px; }
  .plan-price-inline { grid-template-columns: 1fr; gap: 3px; }
  .plan-price-inline > strong { font-size: 26px; }
  .plan-action-buttons { flex-direction: column-reverse; align-items: stretch; }
  .plan-action-buttons > .button-primary { margin-left: 0; width: 100%; }
  .plan-action-buttons .button-back { width: 100%; }
  .summary-grand-total { align-items: flex-start; flex-direction: column; gap: 7px; }
  .plan-summary-row { gap: 9px; }
  .summary-row-right { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .plan-product { transition: none; }
  .planner-steps { scroll-behavior: auto; }
}

@media print {
  body.planner-view { background: white; color: #111; }
  .planner-view .site-header,
  .planner-view .site-footer,
  .planning-introduction,
  .planner-intro,
  .progress-shell,
  .planner-actions,
  .plan-aside,
  .plan-zoom,
  .edit-plan,
  .confirmation-actions,
  #planner-errors { display: none !important; }
  .planner-page { padding: 0; }
  .planner-page .container { width: 100%; max-width: none; padding: 0 !important; }
  .planner-layout { display: block; }
  .planner-main { border: 0; border-radius: 0; background: white; }
  #planner-stage { padding: 0; }
  .plan-summary, .summary-group, .summary-pending { break-inside: avoid; }
  .plan-summary-row { padding-block: 8px; }
  .plan-confirmation h2 { color: #111; }
  .confirmation-mark { display: none; }
}

.contact-view { --plan-selected: #edf0e9; }
.confirmation-message { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 18px; }

/* Campaign choice and the full product catalogues. */
.campaign-panel {
  min-width: 0;
  margin: 0 0 22px;
  border: 1px solid #afbca3;
  border-radius: 10px;
  background: #f2f4ec;
}
.campaign-select {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  width: 100%;
  min-width: 0;
  min-height: 128px;
  padding: 16px 46px 16px 16px;
  border: 0;
  border-radius: 9px 9px 0 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.campaign-select:hover { background: #eaf0e2; }
.campaign-select[aria-pressed="true"] { background: #e7eddf; box-shadow: inset 0 0 0 1px var(--forest); }
.campaign-select:focus-visible { outline-offset: -4px; }
.campaign-select > .selection-dot { position: absolute; top: 14px; right: 14px; }
.campaign-select[aria-pressed="true"] > .selection-dot { color: white; background: var(--forest); border-color: var(--forest); }
.campaign-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 98px;
  overflow: hidden;
  border-radius: 7px;
  background: white;
}
.campaign-photo img {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  min-width: 0;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: normal;
}
.campaign-photo .plan-image {
  display: block;
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
}
.campaign-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; min-width: 0; }
.campaign-kicker { grid-column: 1 / -1; color: var(--forest); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.campaign-name { min-width: 0; color: var(--forest); font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; overflow-wrap: anywhere; }
.campaign-price { color: var(--forest); font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.2; white-space: nowrap; }
.campaign-description { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 2px; }
.campaign-terms { border-top: 1px solid #c5ceb9; }
.campaign-terms > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 11px 16px;
  color: var(--forest);
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.campaign-terms > summary::-webkit-details-marker { display: none; }
.campaign-terms > summary::after { content: '+'; flex: none; width: 20px; font-size: 22px; line-height: 1; text-align: center; }
.campaign-terms[open] > summary::after { content: '−'; }
.campaign-terms > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.campaign-terms ul { padding: 0 20px 0 34px; margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.campaign-terms li + li { margin-top: 4px; }
.campaign-terms p { padding: 0 16px 14px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-width: 0; margin: 0 0 16px; }
.catalog-count { flex: 1 1 120px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.catalog-filter {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 1 210px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 48px 10px 14px;
  border: 1px solid #c6cdc0;
  border-radius: 6px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23353a39' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.catalog-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  margin-top: 16px;
  border: 1px solid #a9b59e;
  border-radius: 7px;
  background: var(--cream);
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}
.catalog-more:hover { border-color: var(--forest); background: var(--plan-selected); }
.catalog-selection { margin: 14px 0 0; padding: 11px 14px; border-left: 2px solid var(--sand); background: var(--cream); color: var(--forest); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.included-price { display: block; color: var(--forest); font-size: 13px; font-weight: 500; line-height: 1.7; }
.included-note { margin: 16px 0; padding: 12px 14px; border-left: 2px solid #a9b59e; border-radius: 0 5px 5px 0; background: var(--plan-selected); color: var(--forest); font-size: 13px; line-height: 1.8; }

/* Optional flower quantities remain independent of the coffin decoration. */
.extra-flowers { min-width: 0; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.extra-flowers > summary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 32px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #a8b59b;
  border-radius: 9px;
  background: #edf1e7;
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}
.extra-flowers > summary::-webkit-details-marker { display: none; }
.extra-flowers > summary::after { content: '+'; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #b5c0ad; border-radius: 50%; background: white; font-size: 23px; line-height: 1; }
.extra-flowers[open] > summary::after { content: '−'; }
.extra-flowers > summary:hover { border-color: var(--forest); background: #e7eddf; }
.extra-flower-preview { display: block; position: relative; width: 76px; height: 76px; overflow: hidden; border-radius: 6px; background: white; }
.extra-flower-preview .plan-image { display: block; width: 100%; height: 100%; padding: 3px; }
.extra-flower-summary-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.extra-flower-summary-copy > strong { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.2; }
.extra-flower-summary-copy > small { color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.6; }
.extra-flower-cta { margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.extra-flower-cta .when-open { display: none; }
.extra-flowers[open] .extra-flower-cta .when-open { display: inline; }
.extra-flowers[open] .extra-flower-cta .when-closed { display: none; }
.extra-flowers > .plan-products { margin-top: 16px; }
.extra-flower-card { display: flex; flex-direction: column; }
.extra-flower-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.extra-flower-main .plan-product-info { flex: 1; padding-bottom: 12px; }
.extra-flower-main .plan-product-name { font-size: 20px; }
.photo-placeholder { display: grid; place-items: center; min-height: 125px; width: 100%; height: 100%; color: #7a8d70; background: #f1f3ec; }
.photo-placeholder svg { display: block; width: 60px; height: 76px; max-width: 65%; max-height: 75%; }
.flower-quantity { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 0; min-width: 0; padding: 8px; }
.flower-quantity button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b5c0aa;
  border-radius: 6px;
  background: var(--cream);
  color: var(--forest);
  font-size: 23px;
  line-height: 1;
}
.flower-quantity button:hover:not(:disabled) { border-color: var(--forest); background: var(--plan-selected); }
.flower-quantity button:disabled { color: #929b8c; border-color: var(--line); cursor: default; }
.flower-quantity input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 7px 2px;
  border: 1px solid #c6cdc0;
  border-inline: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.flower-quantity input::-webkit-outer-spin-button,
.flower-quantity input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.flower-line-total { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 11px 0 14px; margin: 0 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.65; }
.flower-line-total strong { color: var(--forest); font-size: 15px; font-weight: 500; }

@media (max-width: 760px) {
  .campaign-select { grid-template-columns: 122px minmax(0, 1fr); gap: 15px; }
  .campaign-name { font-size: 23px; }
  .campaign-price { font-size: 29px; }
}
@media (max-width: 540px) {
  .campaign-panel { margin-bottom: 20px; }
  .campaign-select { grid-template-columns: 94px minmax(0, 1fr); align-items: start; gap: 12px; min-height: 0; padding: 14px 34px 14px 12px; }
  .campaign-select > .selection-dot { top: 11px; right: 10px; }
  .campaign-photo { height: 87px; margin-top: 3px; }
  .campaign-photo img { inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); }
  .campaign-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
  .campaign-kicker { font-size: 10px; }
  .campaign-name { font-size: 20px; line-height: 1.2; }
  .campaign-price { font-size: 28px; line-height: 1.2; }
  .campaign-description { font-size: 12px; line-height: 1.65; margin-top: 3px; }
  .campaign-terms > summary { padding: 11px 12px; font-size: 13px; }
  .campaign-terms p { padding-inline: 12px; font-size: 12px; }
  .campaign-terms ul { padding-left: 29px; padding-right: 12px; font-size: 12px; }
  .catalog-tools { gap: 9px; }
  .catalog-count { flex-basis: 100%; font-size: 13px; }
  .catalog-filter { flex-basis: 100%; width: 100%; }
  .catalog-more { font-size: 14px; }
  .extra-flower-main .plan-product-info { padding: 13px 11px 10px; }
  .extra-flower-main .plan-product-name { font-size: 19px; }
  .flower-line-total { margin-inline: 10px; font-size: 12px; }
  .extra-flowers > summary { grid-template-columns: 60px minmax(0, 1fr) 28px; gap: 12px; padding: 14px 12px; }
  .extra-flower-preview { width: 60px; height: 68px; }
  .extra-flower-summary-copy > strong { font-size: 20px; }
  .extra-flowers > summary::after { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  .extra-flowers > summary { grid-template-columns: minmax(0, 1fr) 28px; }
  .extra-flower-preview { display: none; }
  .campaign-select { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .campaign-photo { height: 108px; margin-top: 0; }
  .campaign-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
  .campaign-kicker, .campaign-description { grid-column: 1 / -1; }
  .campaign-name { font-size: 21px; }
  .campaign-price { font-size: 29px; }
  .flower-quantity { max-width: 220px; width: 100%; align-self: center; }
  .flower-line-total { margin-inline: 16px; }
}
@media print {
  .campaign-terms, .catalog-tools, .catalog-more, .flower-quantity, .extra-flowers { display: none !important; }
}

/* The free booking service is distinct from the paid funeral products. */
.booking-benefit {
  min-width: 0;
  margin: 18px 0 24px;
  padding: 19px 20px;
  border: 1px solid #b3bfa8;
  border-radius: 10px;
  background: #f2f4ec;
  color: var(--forest);
}
.booking-benefit-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  min-width: 0;
}
.booking-benefit-heading > div { min-width: 0; }
.booking-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.booking-benefit-heading h3 {
  min-width: 0;
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.booking-zero {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}
.booking-benefit > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* One grouped choice list keeps the campaign intact. */
.campaign-clothing-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  margin: 18px 0 24px;
  overflow: hidden;
  border: 1px solid var(--plan-border);
  border-radius: 9px;
  background: var(--white);
}
.campaign-clothing-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.campaign-clothing-option + .campaign-clothing-option { border-top: 1px solid var(--line); }
.campaign-clothing-option:hover { background: #f2f5ee; }
.campaign-clothing-option[aria-pressed="true"] {
  background: var(--plan-selected);
  box-shadow: inset 3px 0 0 var(--forest);
}
.campaign-clothing-option:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #8a7050;
  outline-offset: -4px;
}
.campaign-clothing-option > .selection-dot { margin-top: 2px; }
.campaign-clothing-option[aria-pressed="true"] > .selection-dot {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}
.campaign-clothing-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 16px;
  min-width: 0;
}
.campaign-clothing-name {
  grid-column: 1;
  min-width: 0;
  color: var(--forest);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.campaign-clothing-detail {
  display: block;
  grid-column: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.campaign-clothing-copy > .included-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .booking-benefit { padding: 16px 14px; margin-block: 16px 22px; }
  .booking-benefit-heading { gap: 12px; }
  .booking-benefit-heading h3 { font-size: 22px; line-height: 1.3; }
  .booking-zero { font-size: 32px; }
  .booking-benefit > p { margin-top: 11px; font-size: 13px; }
  .campaign-clothing-option { gap: 12px; min-height: 88px; padding: 15px 13px; }
  .campaign-clothing-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .campaign-clothing-name { font-size: 15px; }
  .campaign-clothing-detail { font-size: 12px; line-height: 1.7; }
  .campaign-clothing-copy > .included-price { align-self: flex-start; font-size: 12px; white-space: normal; }
}

/* A full-width card keeps product details legible on a phone. */
@media (max-width: 600px) {
  .plan-products { grid-template-columns: minmax(0, 1fr); }
}

/* Lanseerausetu: bruttosumma, erillinen alennusrivi ja netto. */
.summary-totals {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.summary-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.summary-total-row > strong { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.3; white-space: nowrap; }
.summary-total-row--discount { color: var(--forest); }
.summary-totals + .summary-grand-total { margin-top: 0; }
.aside-breakdown { display: grid; gap: 5px; margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.aside-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.aside-breakdown strong { color: var(--ink); font-weight: 500; white-space: nowrap; }
.aside-breakdown .is-discount strong { color: var(--forest); }
.confirmation-copy { color: var(--forest); font-size: 13px; line-height: 1.7; margin-top: 10px; }
@media (max-width: 540px) {
  .summary-total-row { font-size: 13px; }
  .summary-total-row > strong { font-size: 19px; }
}
