
.co {
  --co-dark: #1a1a1a;
  --co-darker: #111;
  --co-cream: #f5f0e6;
  --co-gold: #c9a45c;
  --co-gold-2: #b8964e;
  --co-btn: var(--btn-bg, #7d6026);
  --co-soft: #c8c2b4;
  margin-top: var(--s4);
}
.co h2, .co h3 { margin-top: 0; }
.co-lead { font-size: var(--fs-2); max-width: 46rem; margin: 0 0 var(--s6); color: var(--ink); }


.co-how {
  background: var(--co-dark); color: var(--co-cream);
  border-top: 3px solid var(--co-gold);
  border-radius: var(--radius); padding: var(--s6) var(--s5);
  --focus: var(--co-cream);
}
.co-how h2 { color: var(--co-cream); font-size: var(--fs-h3); margin-bottom: var(--s2); }
.co-how-head { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); align-items: baseline; justify-content: space-between; }
.co-how-head p { margin: 0; color: var(--co-soft); flex: 1 1 20rem; }
.co-how-head h2 { flex: 1 1 100%; }
.co-replay {
  font: inherit; font-size: var(--t-xs); font-weight: 600; color: var(--co-cream); background: none;
  border: 1px solid var(--co-gold); border-radius: 999px; min-height: 2.75rem; padding: 0 var(--s4); cursor: pointer;
}
.co-replay:hover { background: #2a2a2a; }
.co-replay:focus-visible, .co-how a:focus-visible, .co-more summary:focus-visible { outline: 3px solid var(--co-cream); outline-offset: 3px; }
.co-how a { color: var(--co-gold); }

.co-tl { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.co-tl-step { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s4); padding-bottom: var(--s5); }
.co-tl-step:last-child { padding-bottom: 0; }

.co-tl-step::before {
  content: ""; position: absolute; left: calc(1.375rem - 1px); top: 2.75rem; bottom: 0; width: 2px; background: var(--co-gold-2);
}
.co-tl-step:last-child::before { display: none; }
.co-tl-num {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  font-weight: 700; font-size: var(--fs-1);
  background: var(--co-gold); color: var(--co-darker); border: 2px solid var(--co-gold);
  position: relative; z-index: 1;
}
.co-tl-body h3 { font-size: var(--fs-1); color: var(--co-cream); margin: .45rem 0 var(--s1); }
.co-tl-body > p { margin: 0; color: var(--co-soft); font-size: var(--fs-0); }
.co-here {
  display: inline-block; margin: var(--s2) 0 0 !important; font-size: var(--t-xs) !important; font-weight: 700;
  color: var(--co-darker) !important; background: var(--co-cream); border-radius: 999px; padding: .1rem .6rem;
}

.co-anim > li .co-tl-num { background: var(--co-darker); color: var(--co-soft); border-color: #555; }
.co-anim > li::before { background: #444; }
.co-anim > li.is-lit .co-tl-num { background: var(--co-gold); color: var(--co-darker); border-color: var(--co-gold); }
.co-anim > li.is-lit::before { background: var(--co-gold-2); }
.co-tl-step.is-open .co-tl-num { box-shadow: 0 0 0 4px #c9a45c55; }


.co-more { margin-top: var(--s2); }
.co-more summary {
  list-style: none; cursor: pointer; display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--co-gold); color: var(--co-gold);
}
.co-more summary::-webkit-details-marker { display: none; }
.co-more summary:hover, .co-more[open] summary { background: var(--co-gold); color: var(--co-darker); }
.co-i { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 1.05rem; line-height: 1; }
.co-how-head .co-i {
  display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: 2px solid var(--co-gold); color: var(--co-gold); font-size: .85rem; vertical-align: -.2em;
}
.co-more-text {
  margin-top: var(--s2); padding: var(--s3) var(--s4); background: #262626; border-left: 3px solid var(--co-gold);
  border-radius: var(--radius); font-size: var(--fs-0); color: var(--co-cream);
}
.co-more-text p { margin: 0 0 var(--s2); }
.co-more-text p:last-child { margin-bottom: 0; }

@media (width >= 62rem) {
  .co-how { padding: var(--s6) var(--s6) var(--s6); }
  .co-tl { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
  .co-tl-step { grid-template-columns: 1fr; gap: var(--s3); padding-bottom: 0; }
  .co-tl-step::before { left: 2.75rem; right: calc(-1 * var(--s4)); top: calc(1.375rem - 1px); bottom: auto; width: auto; height: 2px; }
  .co-tl-body h3 { margin-top: 0; }
}


.co-checkout { margin-top: var(--s7); scroll-margin-top: var(--s4); }
.co-steps-nav { scroll-margin-top: var(--s4); }
.co-steps { list-style: none; margin: 0 0 var(--s5); padding: 0; display: flex; gap: 0; }
.co-steps li { flex: 1 1 0; position: relative; }
.co-steps li + li::before {
  content: ""; position: absolute; top: 1.375rem; right: calc(50% + 1.6rem); left: calc(-50% + 1.6rem); height: 2px; background: var(--line-strong);
}
.co-steps li.is-done + li::before, .co-steps li.is-current::before { background: var(--co-btn); }
.co-steps a {
  display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center;
  color: var(--ink); text-decoration: none; min-height: 44px; padding: 0 var(--s1); border-radius: var(--radius);
}
.co-steps a:hover .co-l { text-decoration: underline; }
.co-steps a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.co-n {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  font-weight: 700; background: var(--surface); color: var(--ink); border: 2px solid var(--line-strong); position: relative; z-index: 1;
}
.co-l { font-size: var(--fs-0); font-weight: 600; line-height: 1.25; }
.co-steps .is-current .co-n { background: var(--co-dark); color: var(--co-cream); border-color: var(--co-gold); box-shadow: 0 0 0 3px #c9a45c66; }
.co-steps .is-current .co-l { color: var(--co-dark); font-weight: 700; }
.co-steps .is-done .co-n { background: var(--co-btn); border-color: var(--co-btn); color: var(--co-cream); }
@media (width < 30rem) { .co-l { font-size: var(--t-xs); } }


.co-grid { display: grid; gap: var(--s5); }
.co-main { min-width: 0; }
.co-main > form { margin: 0; }
@media (width >= 62rem) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--s6); align-items: start; }
  .co-aside { position: sticky; top: var(--s5); }
}

.co-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); scroll-margin-top: var(--s4);
}
.co-panel + .co-panel, .co-main > section + form, .co-main > form > .co-panel + .co-panel { margin-top: var(--s5); }
.co-js .co-main > section + form { margin-top: 0; }
.co-js .co-main > form > .co-panel + .co-panel { margin-top: 0; }
@media (width >= 48rem) { .co-panel { padding: var(--s6); } }
.co-panel > h2 { font-size: var(--fs-h3); line-height: 1.25; margin-bottom: var(--s4); }
@media (width >= 48rem) { .co-panel > h2 { font-size: 1.75rem; } }
.co-panel > h2:focus { outline: none; }
.co-panel > h2:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.co-of {
  display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--co-btn); margin-bottom: var(--s1);
}
.co-panel h3 { font-size: var(--fs-2); color: var(--forest-800); margin-bottom: var(--s2); }
.co-panel .configurator, .co-panel .quote-list, .co-panel .quote-summary { background: none; border: 0; padding: 0; border-radius: 0; }
.co-panel .quote-list { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.co-panel .configurator > .hint { display: block; margin-top: var(--s4); }
.co-panel .cfg-steps { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: var(--s4); }
@media (width >= 48rem) { .co-panel .cfg-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.co-empty-hint { display: block; margin: var(--s4) 0 0; }


.co .btn { min-height: 3.25rem; font-size: var(--fs-1); }
.co-nav { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: center; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.co-nav .co-next, .co-nav .co-send { margin-left: auto; }
@media (width < 36rem) {
  .co-nav { flex-direction: column-reverse; align-items: stretch; }
  .co-nav .btn { width: 100%; margin-left: 0; }
}
.co-next::after { content: "\2192"; margin-left: var(--s1); }
.co-back::before { content: "\2190"; margin-right: var(--s1); }


.co .form-status { margin: 0 0 var(--s5); border-left: 3px solid var(--co-btn); padding: var(--s2) 0 var(--s2) var(--s4); font-weight: 600; }
.co-fields { display: grid; gap: var(--s5); }
@media (width >= 40rem) {
  .co-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
  .co-fields .field[data-quote-legacy], .co-fields .field:has(textarea) { grid-column: 1 / -1; }
}
.co-js .co-fields .field [aria-invalid="true"] ~ .err { display: block; }
.co-js .co-fields .field [aria-invalid="true"] { border-color: var(--error); outline: 1px solid var(--error); outline-offset: -2px; }
.co-errsum {
  margin: 0 0 var(--s5); padding: var(--s4) var(--s5); border: 2px solid var(--error); border-left-width: 6px;
  border-radius: var(--radius); background: #fbf0ee; color: var(--ink);
}
.co-errsum:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.co-errsum h3 { color: var(--error); font-size: var(--fs-1); margin: 0 0 var(--s2); }
.co-errsum ul { margin: 0; padding-left: 1.25rem; }
.co-errsum a { color: var(--error); font-weight: 600; }


.co-edit { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0; }
.co-edit .btn { min-height: 2.75rem; font-size: var(--fs-0); padding: 0 var(--s4); }
.co-plain { margin: 0 0 var(--s4); }
.co-plain summary { cursor: pointer; font-weight: 600; color: var(--forest-800); min-height: 44px; display: flex; align-items: center; }
.co-plain summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.co .status-note { border-left: 3px solid var(--co-btn); padding: var(--s2) 0 var(--s2) var(--s4); font-weight: 600; margin: 0 0 var(--s5); }
.co .gdpr { background: var(--band-grey); }
.co-send { min-width: 14rem; }
.co .quote-preview { margin-top: var(--s4); }


.co-sum {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--co-gold);
  border-radius: var(--radius); padding: var(--s5);
}
.co-sum h2 { font-size: var(--fs-2); margin-bottom: var(--s1); }
.co-sum-meta { margin: 0 0 var(--s3); color: var(--muted); font-size: var(--fs-0); }
.co-sum-lines { list-style: none; margin: 0 0 var(--s4); padding: 0; max-height: 22rem; overflow-y: auto; }
.co-sum-lines li { padding: var(--s3) 0; border-top: 1px solid var(--line); }
.co-sum-lines p { margin: 0; }
.co-sum-name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.co-sum-lid { font-size: var(--t-xs); color: var(--muted); }
.co-sum-row { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs-0); margin-top: var(--s1) !important; }
.co-sum-qty { font-variant-numeric: tabular-nums; }
.co-sum-price { color: var(--co-btn); font-weight: 600; white-space: nowrap; }
.co-sum-terms { margin: 0; padding: var(--s3) 0 0; border-top: 2px solid var(--co-dark); font-size: var(--fs-0); }
.co-sum-terms div { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s1) 0; }
.co-sum-terms dt { color: var(--muted); }
.co-sum-terms dd { margin: 0; font-weight: 600; text-align: right; }
.co-sum-note { font-size: var(--t-xs); color: var(--muted); margin: var(--s3) 0 var(--s4); }
.co-sum-edit { width: 100%; }
.co-sum-lines:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }


.co-info { display: grid; gap: var(--s5); margin-top: var(--s7); }
@media (width >= 62rem) { .co-info { grid-template-columns: 3fr 2fr; gap: var(--s6); align-items: start; } }
.co-bank { background: var(--co-cream); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s5); }
@media (width >= 48rem) { .co-bank { padding: var(--s6); } }
.co-bank:focus { outline: none; }
.co-bank:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.co-bank h2, .co-faq h2 { font-size: var(--fs-h3); margin-bottom: var(--s4); }
.co-bank-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.co-bank-steps li { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s3); align-items: start; }
.co-bank-steps p { margin: .55rem 0 0; }
.co-bank-steps .co-tl-num { background: var(--co-btn); border-color: var(--co-btn); color: var(--co-cream); }
.co-bank-steps.co-anim > li .co-tl-num { background: var(--surface); color: var(--muted); border-color: var(--line-strong); }
.co-bank-steps.co-anim > li.is-lit .co-tl-num { background: var(--co-btn); border-color: var(--co-btn); color: var(--co-cream); }
.co-bank-safe { margin: var(--s5) 0 0; padding: var(--s3) var(--s4); background: var(--surface); border-left: 4px solid var(--co-btn); border-radius: var(--radius); font-size: var(--fs-0); }
.co-faq-item { border-bottom: 1px solid var(--line); }
.co-faq-item:first-of-type { border-top: 1px solid var(--line); }
.co-faq-item summary {
  list-style: none; cursor: pointer; min-height: 3rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  font-weight: 600; color: var(--forest-800); padding: var(--s2) 0;
}
.co-faq-item summary::-webkit-details-marker { display: none; }
.co-faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--co-btn); flex: none; }
.co-faq-item[open] summary::after { content: "\2212"; }
.co-faq-item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.co-faq-a p { margin: 0 0 var(--s4); }


@media (prefers-reduced-motion: no-preference) {
  .co-anim > li .co-tl-num, .co-anim > li::before, .co-steps .co-n, .co-steps li::before, .co-more summary {
    transition: background-color .35s ease-out, color .35s ease-out, border-color .35s ease-out, box-shadow .35s ease-out;
  }
  .co-anim > li.is-lit .co-tl-num { animation: co-pop .45s ease-out; }
  @keyframes co-pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .co *, .co *::before, .co *::after { transition: none !important; animation: none !important; }
}


@media print {
  .co-how, .co-steps-nav, .co-aside, .co-info, .co-nav, .co-edit { display: none !important; }
  .co [data-co-step] { display: block !important; border: 0; padding: 0; }
}
.co-fields + .hp + .gdpr, .co-fields + .gdpr { margin-top: var(--s5); }
