.order-hero {
  padding-block:clamp(3.5rem,8vw,6.5rem);
  background:
    radial-gradient(circle at 80% 20%,rgba(124,128,86,.18),transparent 32%),
    linear-gradient(135deg,var(--cream),var(--cream-2));
  border-bottom:1px solid var(--border);
}
.order-hero__grid { display:grid; grid-template-columns:1.4fr .8fr; gap:clamp(2rem,6vw,5rem); align-items:end; }
.order-hero h1 { font-size:clamp(3rem,8vw,6.5rem); line-height:.9; margin:.6rem 0 1.6rem; }
.order-hero__card {
  background:var(--olive-deep); color:var(--cream); border-radius:var(--r-lg);
  padding:1.7rem; display:grid; grid-template-columns:auto 1fr; column-gap:.7rem; row-gap:.35rem;
  box-shadow:var(--shadow);
}
.order-hero__card b,.order-hero__card span:not(.live-dot),.order-hero__card small { grid-column:2; }
.order-hero__card small { color:rgba(247,244,236,.7); line-height:1.5; margin-top:.65rem; }
.live-dot { width:10px; height:10px; margin-top:.4rem; border-radius:50%; background:#B8D879; box-shadow:0 0 0 5px rgba(184,216,121,.16); }
.order-steps { display:flex; flex-wrap:wrap; gap:.8rem 1.3rem; margin-top:2rem; color:var(--olive-deep); font-weight:600; }
.order-steps span { display:flex; align-items:center; gap:.5rem; }
.order-steps b { width:26px; height:26px; border-radius:50%; display:grid; place-items:center; color:var(--cream); background:var(--olive); font-size:.8rem; }
.order-section { padding-block:var(--space); }
.order-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr); gap:clamp(2rem,4vw,3.5rem); align-items:start; }
.order-catalog { min-width:0; }
.order-mode { margin-bottom:2rem; padding:1rem 1.2rem; border-radius:var(--r); background:#FFF4D6; border:1px solid #E8D28B; color:#6C5518; }
.order-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.order-product {
  display:grid; grid-template-columns:118px 1fr; min-height:155px; background:var(--white);
  border:1px solid var(--border); border-radius:var(--r); overflow:hidden; transition:.25s var(--ease);
}
.order-product:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.order-product__image { position:relative; overflow:hidden; background:var(--olive-tint); }
.order-product__image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.order-product__body { padding:1.05rem; display:flex; flex-direction:column; gap:.35rem; min-width:0; }
.order-product__body h3 { font-family:var(--font-body); font-size:1.08rem; }
.order-product__body p { font-size:.82rem; color:var(--muted); display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.order-product__foot { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.order-product__price { font-weight:700; color:var(--olive-deep); }
.add-button {
  border:0; border-radius:var(--pill); background:var(--olive); color:var(--cream); cursor:pointer;
  padding:.55rem .8rem; font-weight:700; line-height:1; transition:.2s var(--ease);
}
.add-button:hover { background:var(--olive-deep); transform:scale(1.04); }
.order-loading { grid-column:1/-1; min-height:160px; display:grid; place-items:center; color:var(--muted); border:1px dashed var(--border); border-radius:var(--r); }
.builder-head { margin-top:clamp(4rem,8vw,7rem); margin-bottom:2rem; }
.builder-head h2 { margin:.35rem 0 .6rem; }
.builder-head p { color:var(--muted); }
.custom-builder { display:flex; flex-direction:column; gap:1rem; }
.custom-step { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:1.4rem; }
.custom-step__head { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; margin-bottom:1rem; }
.custom-step__head h3 { font-family:var(--font-body); font-size:1.08rem; }
.custom-step__head span { color:var(--muted); font-size:.82rem; }
.custom-options { display:flex; flex-wrap:wrap; gap:.55rem; }
.custom-option { position:relative; cursor:pointer; }
.custom-option input { position:absolute; opacity:0; pointer-events:none; }
.custom-option span {
  display:flex; align-items:center; gap:.45rem; border:1.5px solid var(--border);
  border-radius:var(--pill); padding:.52rem .78rem; font-size:.88rem; transition:.2s var(--ease);
}
.custom-option img { width:27px; height:27px; border-radius:50%; object-fit:cover; }
.custom-option input:checked + span { border-color:var(--olive); background:var(--olive-tint); color:var(--olive-deep); box-shadow:0 0 0 2px rgba(90,94,59,.08); }
.custom-option input:focus-visible + span { outline:3px solid rgba(90,94,59,.25); outline-offset:2px; }
.custom-option__price { color:var(--muted); font-size:.78rem; }
.custom-builder__footer {
  position:sticky; bottom:1rem; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1rem 1.2rem; border-radius:var(--r); background:rgba(67,70,43,.96); color:var(--cream); box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}
.custom-builder__footer div { display:flex; flex-direction:column; }
.custom-builder__footer strong { font-family:var(--font-display); font-size:1.55rem; }
.custom-builder__footer .btn { background:var(--cream); color:var(--olive-deep); padding:.75rem 1.1rem; }
.order-cart {
  position:sticky; top:92px; background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:1.5rem; box-shadow:var(--shadow-sm);
}
.order-cart__head { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-bottom:1.2rem; border-bottom:1px solid var(--border); }
.order-cart__head h2 { font-size:1.8rem; }
.cart-count { display:inline-grid; place-items:center; min-width:24px; height:24px; padding:0 .35rem; border-radius:var(--pill); background:var(--cream); color:var(--olive-deep); font-size:.78rem; }
.cart-count--large { background:var(--olive); color:var(--cream); min-width:34px; height:34px; font-size:.9rem; }
.cart-lines { display:flex; flex-direction:column; max-height:360px; overflow:auto; }
.cart-empty { text-align:center; padding:2.2rem 1rem; color:var(--muted); display:flex; flex-direction:column; gap:.35rem; }
.cart-empty b { color:var(--ink); }
.cart-line { display:grid; grid-template-columns:1fr auto; gap:.8rem; padding:1rem 0; border-bottom:1px solid var(--border); }
.cart-line__name { font-weight:700; color:var(--olive-deep); }
.cart-line__options { display:block; color:var(--muted); font-size:.78rem; line-height:1.45; margin-top:.25rem; }
.cart-line__price { font-weight:700; text-align:right; }
.cart-line__actions { display:flex; align-items:center; gap:.35rem; margin-top:.55rem; }
.cart-line__actions button { width:28px; height:28px; border:1px solid var(--border); background:var(--cream); border-radius:50%; cursor:pointer; }
.cart-line__remove { width:auto !important; padding:0 .55rem; border-radius:var(--pill) !important; margin-left:.35rem; color:#7E3B2A; }
.cart-total { display:flex; justify-content:space-between; align-items:baseline; padding:1rem 0; }
.cart-total strong { font-family:var(--font-display); font-size:1.7rem; color:var(--olive-deep); }
.checkout-form { border-top:1px solid var(--border); padding-top:1.2rem; }
.checkout-form h3 { font-family:var(--font-body); font-size:1.1rem; margin-bottom:1rem; }
.checkout-form .field { gap:.35rem; margin-bottom:.8rem; }
.checkout-form .field label { font-size:.84rem; }
.checkout-form .field label span { color:var(--muted); font-weight:400; }
.checkout-form .field input,.checkout-form .field select,.checkout-form .field textarea { padding:.72rem .8rem; font-size:.9rem; }
.checkout-form .field textarea { min-height:76px; }
.checkout-form .form-row { gap:.7rem; }
.checkout-form .consent { margin:.9rem 0; font-size:.78rem; }
.payment-note { display:flex; align-items:center; gap:.7rem; padding:.8rem; border-radius:var(--r-sm); background:var(--olive-tint); color:var(--olive-deep); }
.payment-note__icon { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--olive); color:var(--cream); }
.payment-note > span:last-child { display:flex; flex-direction:column; }
.payment-note small { color:var(--muted); margin-top:.15rem; }
.checkout-submit { width:100%; justify-content:center; margin-top:1rem; }
.checkout-error { margin-top:.8rem; padding:.8rem; border-radius:var(--r-sm); background:#F6E4DE; color:#7E3B2A; font-size:.85rem; }
.toast { position:fixed; right:1rem; bottom:1rem; z-index:400; padding:.9rem 1.1rem; border-radius:var(--r); background:var(--olive-deep); color:var(--cream); box-shadow:var(--shadow); }
.status-page { min-height:72vh; display:grid; place-items:center; padding:3rem 1.2rem; }
.status-card { width:min(100%,560px); background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:clamp(1.5rem,5vw,3rem); box-shadow:var(--shadow); text-align:center; }
.status-mark { width:74px; height:74px; margin:0 auto 1.4rem; border-radius:50%; display:grid; place-items:center; background:var(--olive); color:var(--cream); font-size:2rem; }
.status-card h1 { font-size:clamp(2rem,7vw,3.8rem); }
.status-card p { color:var(--muted); margin:1rem auto; max-width:42ch; }
.status-details { display:grid; gap:.75rem; margin:1.5rem 0; text-align:left; }
.status-details div { display:flex; justify-content:space-between; gap:1rem; padding:.85rem 0; border-bottom:1px solid var(--border); }
.status-details span { color:var(--muted); }
@media (max-width:1050px) {
  .order-layout { grid-template-columns:1fr; }
  .order-cart { position:static; }
}
@media (max-width:760px) {
  .order-hero__grid { grid-template-columns:1fr; }
  .order-products { grid-template-columns:1fr; }
  .order-product { grid-template-columns:104px 1fr; }
  .custom-builder__footer { bottom:.6rem; }
}
@media (max-width:420px) {
  .order-steps { flex-direction:column; align-items:flex-start; }
  .custom-step { padding:1.1rem; }
  .custom-step__head { align-items:flex-start; flex-direction:column; gap:.25rem; }
  .custom-builder__footer { flex-direction:column; align-items:stretch; }
  .custom-builder__footer .btn { justify-content:center; }
}
