.checkout {
  --checkout-muted: #505a4e;
  max-width: 80rem;
  margin-inline: auto;
  padding: clamp(2rem,3.7vw,3.75rem) clamp(1.2rem,4.2vw,4.5rem) clamp(4rem,7vw,7rem);
}
.co-steps { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0 0 clamp(1.5rem,2.4vw,2.25rem); color: var(--checkout-muted); font-size: .94rem; }
.co-steps li + li::before { content: "/"; margin-right: .6rem; color: #8f978a; }
.co-steps [aria-current] { color: var(--ink); font-weight: 650; }
.co-steps a, .co-text { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.co-layout { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(22rem,.9fr); column-gap: clamp(2.25rem,5vw,5rem); align-items: start; }
.co-main, .co-summary { min-width: 0; }
.co-main { grid-column: 1; grid-row: 1; }
.co-action-row { grid-column: 1; grid-row: 2; }
.checkout h1 { margin: 0; font-size: clamp(2.35rem,3.6vw,3.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.05em; }
.checkout h2 { font-size: clamp(1.3rem,1.6vw,1.6rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 550; }
.co-heading { margin-bottom: clamp(1.5rem,2.6vw,2.25rem); }
.co-intro, .co-location p, .co-payment p, .co-address p, .co-empty p, .co-account > p {
  color: var(--checkout-muted); font-size: 1.05rem; line-height: 1.55; max-width: 58ch; margin: .6rem 0 0;
}
.co-section-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-bottom: .8rem; }
.co-text { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--ink); font-size: .94rem; }
.co-form-heading { margin: 1.8rem 0 1rem; }
.co-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 1rem; }
.co-field { display: grid; grid-column: 1 / -1; gap: .4rem; min-width: 0; font-size: .97rem; line-height: 1.3; font-weight: 550; }
.co-field.co-half { grid-column: auto; }
.checkout .co-field input, .checkout .co-field select {
  width: 100%; min-width: 0; height: 48px; padding: 0 .8rem; border: 1px solid #9ba296; border-radius: .3rem;
  color: var(--ink); background-color: #fff; font: inherit; font-weight: 400; font-size: 1rem;
}
.co-location, .co-payment { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.25rem; }
.co-location .co-text { margin-top: .35rem; }
.co-action {
  display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 50px; margin-top: .85rem;
  padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: .35rem; background: #263126; color: white; font-size: 1.02rem; font-weight: 550; text-align: center;
}
.co-action:hover, .co-action:focus-visible { background: #3b4b38; }
.co-summary {
  grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--masthead-height) + 1rem);
  max-height: calc(100dvh - var(--masthead-height) - 2rem); overflow: auto; overscroll-behavior: contain;
  padding: clamp(1.25rem,2.1vw,2rem); border-radius: .5rem; background: #eff0e8;
}
.co-summary-toggle { display: none; }
.co-summary .co-section-head { margin: 0; min-height: 44px; }
.co-lines { list-style: none; margin: .6rem 0 0; padding: 0; }
.co-lines li { display: grid; grid-template-columns: 4.6rem minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid #cbd0c3; }
.co-lines img { width: 100%; height: 4.8rem; object-fit: contain; mix-blend-mode: multiply; }
.co-lines a, .co-lines strong, .co-lines b { font-size: 1.01rem; line-height: 1.35; font-weight: 550; }
.co-lines a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: #919b8c; }
.co-lines a, .co-lines strong, .co-address { overflow-wrap: anywhere; }
.co-lines span, .co-lines small { display: block; font-size: .9rem; line-height: 1.4; color: var(--checkout-muted); margin-top: .25rem; }
.co-totals { border-top: 1px solid #cbd0c3; margin: 0; padding: 1.1rem 0; font-size: 1rem; }
.co-totals > div, .co-total { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.co-totals > div + div { margin-top: .5rem; }
.co-totals dd { margin: 0; text-align: right; }
.co-total { border-top: 1px solid #cbd0c3; padding-top: 1rem; font-size: 1.1rem; font-weight: 550; }
.co-total strong { font-size: 1.5rem; line-height: 1.25; font-weight: 600; }
.co-total small { font-size: .82rem; font-weight: 450; letter-spacing: .015em; vertical-align: middle; color: var(--checkout-muted); }
.co-address { font-style: normal; font-size: 1.08rem; }
.co-address p { margin-top: .35rem; }
.co-kicker { font-size: 1rem; color: var(--checkout-muted); margin: 0 0 .7rem; }
.co-empty, .co-account { min-height: 46vh; }
.co-empty .co-action, .co-account .co-action, .co-finish .co-action { max-width: 20rem; margin-top: 1.5rem; }
.co-finish .co-text { display: flex; margin-top: .35rem; }
.pdp-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; margin-bottom: 10px; color: #40513c; }
.pdp-stock::before { content: ""; width: 6px; height: 6px; background: #5c7353; border-radius: 50%; }
@media(max-width:48rem) {
  .checkout { padding-top: 1.4rem; }
  .co-layout { display: flex; flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .co-summary { position: static; padding: 1rem; max-height: none; overflow: visible; }
  .co-summary:has(.co-summary-toggle) { padding: 0; }
  .co-summary-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .8rem; min-height: 52px; padding: .8rem 1rem; background: transparent; border: 0; color: var(--ink); font-size: 1rem; }
  .co-summary-toggle small { display: block; font-size: .8rem; font-weight: 400; }
  .co-summary-toggle span { display: inline-flex; align-items: center; gap: .55rem; }
  .co-summary-toggle span::after { content: ""; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .co-summary-toggle[aria-expanded=true] span::after { transform: translateY(2px) rotate(225deg); }
  .co-summary-toggle[aria-expanded=false] + .co-summary-content { display: none; }
  .co-summary-toggle + .co-summary-content { padding: 0 1rem 1rem; }
  .co-intro, .co-location p, .co-payment p, .co-address p { font-size: 1rem; }
  .co-lines li { grid-template-columns: 3.4rem minmax(0,1fr) auto; gap: .7rem; }
  .co-lines img { height: 3.8rem; }
  .co-action-row .co-action { margin: 0; }
}
@media(max-width:22rem) {
  .co-field.co-half { grid-column: 1/-1; }
  .co-lines li { grid-template-columns: 2.65rem minmax(0,1fr) auto; }
}

.account-home,.account-back{width:min(calc(100% - 2.5rem),56rem);margin-inline:auto}
.account-home{padding-block:clamp(2.75rem,7vw,6.5rem)}
.account-home h1{font-size:clamp(2.5rem,5vw,4.25rem);font-weight:500;line-height:1.06;letter-spacing:-.055em;margin:0 0 clamp(1.75rem,4vw,3rem)}
.account-home nav{border-top:1px solid var(--line)}
.account-home nav a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(18px,2.4vw,30px) 4px;border-bottom:1px solid var(--line);font-size:clamp(1.3rem,2vw,1.65rem);font-weight:500;letter-spacing:-.035em}
.account-home nav small{display:block;margin-top:.35rem;font-size:1rem;font-weight:400;letter-spacing:0;color:#565e52}
.account-home nav a:hover{color:#52644b}
.account-home nav svg,.account-back svg{flex:none;width:16px}
.account-back{margin-top:1.5rem}.account-back a{display:inline-flex;align-items:center;gap:.45rem;min-height:44px}
