.shop-page { display: block; background: #f4efe7; min-height: 100vh; }
.shop-shell { width: min(100%, 58rem); margin: auto; padding: clamp(1rem,4vw,3rem); }
.shop-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.shop-nav a { color: var(--ink); }
.shop-nav strong { font: 1.45rem Georgia, serif; }
.shop-page h1 { margin-bottom: 1rem; }
.shop-page h2 { margin-bottom: .6rem; }
.shop-page .card + .card { margin-top: .9rem; }
.shop-page form { display: grid; gap: .8rem; }
.shop-page .actions { margin-top: .4rem; }
.shop-page p { line-height: 1.5; }
.shop-page .card a:not(.button) { color: var(--ink); }
.shop-page [hidden] { display: none !important; }
.shop-page .alert:not(:empty) { border: 1px solid var(--line); padding: .75rem; background: #fff8e8; border-radius: .4rem; }
.shop-page .methods { display: grid; gap: .65rem; margin-bottom: .8rem; }
.shop-page .option { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; border: 1px solid var(--line); padding: .7rem; border-radius: .4rem; }
.shop-page .option input { width: auto; }
.shop-page .option span { flex: 1; }
.shop-page summary { cursor: pointer; font-weight: 600; }

.checkout-page { --checkout-ink:#34241b; --checkout-muted:#695548; --checkout-panel:#fffbf5; color:var(--checkout-ink); }
.checkout-header {
  display:flex; justify-content:space-between; align-items:center; gap:.8rem;
  min-height:4.7rem; padding:.75rem max(1rem,calc((100vw - 74rem)/2));
  background:var(--checkout-panel); border-bottom:1px solid var(--line);
}
.checkout-header a,.checkout-back { color:var(--checkout-ink); text-underline-offset:.19em; }
.checkout-brand { display:flex; align-items:center; gap:.65rem; text-decoration:none; font:1.3rem Georgia,serif; }
.checkout-brand img { border-radius:50%; object-fit:contain; }
.checkout-shell { width:min(calc(100% - 2rem),74rem); margin:auto; padding:clamp(1.2rem,4vw,3rem) 0; }
.checkout-shell h1 { font:clamp(2.15rem,5vw,3.6rem)/1.12 Georgia,serif; margin:.65rem 0 1rem; }
.checkout-back { font-size:.88rem; }
.checkout-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:clamp(1rem,3vw,2.25rem); align-items:start; }
.checkout-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; margin:0 0 1rem; list-style:none; counter-reset:stage; gap:.4rem; }
.checkout-progress li {
  counter-increment:stage; color:var(--checkout-muted); font-size:.85rem; font-weight:600;
  display:flex; gap:.5rem; align-items:center; padding:.6rem .25rem .7rem; border-bottom:2px solid #dccfc3;
}
.checkout-progress li::before {
  content:counter(stage); display:grid; place-items:center; background:#ede1d5; color:var(--checkout-ink);
  width:1.55rem; height:1.55rem; border-radius:50%; flex:none;
}
.checkout-progress li[aria-current="step"] { color:#382417; border-color:#865733; }
.checkout-progress li[aria-current="step"]::before { background:#533321; color:#fffaf3; }
.checkout-card,.checkout-summary { padding:clamp(1rem,3vw,1.85rem); border-radius:.8rem; background:var(--checkout-panel); box-shadow:0 8px 24px #44261510; }
.checkout-card h2,.checkout-summary h2 { margin:0 0 1rem; font:1.65rem Georgia,serif; }
.checkout-card input,.checkout-card select { min-height:2.7rem; background:#fffdfa; border-color:#bfae9f; }
.checkout-card input[readonly] { background:#f1e8de; color:#604f43; }
.checkout-card label { color:var(--checkout-ink); font-weight:550; }
.checkout-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:.55rem; margin-top:1.2rem; }
.checkout-actions button:not(.quiet) { background:#503221; border-color:#503221; }
.checkout-actions button:not(.quiet):hover:not(:disabled) { background:#6a4530; }
.checkout-carrier { margin-top:1rem; }
.checkout-summary { position:sticky; top:1rem; }
.checkout-items { list-style:none; padding:0; margin:0; }
.checkout-items li { display:grid; grid-template-columns:3.35rem minmax(0,1fr) auto; gap:.65rem; align-items:center; padding:.72rem 0; border-bottom:1px solid var(--line); }
.checkout-items img { width:3.35rem; height:3.35rem; border-radius:.35rem; object-fit:cover; background:#efe3d7; }
.checkout-items small { display:block; color:var(--checkout-muted); }
.checkout-totals,.checkout-review { margin:1rem 0 0; }
.checkout-totals div { display:flex; justify-content:space-between; gap:.7rem; padding:.38rem 0; }
.checkout-totals dd,.checkout-review dd { margin:0; }
.checkout-total { border-top:1px solid var(--line); margin-top:.4rem; padding-top:.75rem !important; font-weight:700; }
.checkout-summary-note { font-size:.84rem; color:var(--checkout-muted); margin:.65rem 0 0; }
.checkout-review div { margin:.45rem 0; }
.checkout-review dt { font-weight:650; }
.checkout-review dd { color:var(--checkout-muted); }
.checkout-payment-note { background:#f1e8de; border-radius:.5rem; padding:.85rem; }
@media(max-width:760px) {
  .checkout-grid { grid-template-columns:1fr; }
  .checkout-summary { position:static; }
  .checkout-actions button:last-child { flex:1; }
  .checkout-progress li { font-size:.78rem; gap:.25rem; }
}
