/* Cart, checkout and order-status styles (shared). */
.header-actions{display:flex;align-items:center;gap:.6rem}
.cart-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;border:1px solid #f3c623;background:transparent;color:#f3c623;cursor:pointer}
.cart-count{position:absolute;top:-6px;inset-inline-end:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#f3c623;color:#07090d;font-size:.72rem;line-height:20px;text-align:center}
.add-to-cart{display:flex;width:100%;justify-content:center;margin-top:.9rem;padding:.8rem 1rem;background:#f7f8fa;color:#07090d;border:0;font:inherit;font-weight:900;cursor:pointer;transition:background .2s}
.add-to-cart:hover{background:#fff}.add-to-cart.added{background:#3ccf7a}
.add-to-cart:disabled{opacity:.4;cursor:not-allowed}
.card-body .order-product{background:transparent!important;color:#f3c623!important;border:1px solid #f3c623!important;font-weight:800}
.no-scroll{overflow:hidden}
.cart-backdrop{position:fixed;inset:0;background:#0009;z-index:40}
.cart-drawer{position:fixed;top:0;bottom:0;inset-inline-end:0;width:min(420px,100vw);background:#0f141c;border-inline-start:1px solid #2d3541;z-index:41;display:flex;flex-direction:column;box-shadow:0 0 40px #000a;animation:slidein .22s ease}
@keyframes slidein{from{transform:translateX(var(--slide,100%))}to{transform:none}}
html[dir="rtl"] .cart-drawer{--slide:-100%}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.2rem;border-bottom:1px solid #2d3541}
.cart-head h2{margin:0;font-size:1.2rem}
.cart-close{background:none;border:0;color:#f7f8fa;font-size:2rem;line-height:1;cursor:pointer;width:44px;height:44px}
.cart-lines{flex:1;overflow:auto;padding:.6rem 1.2rem}
.cart-line{display:grid;grid-template-columns:64px 1fr auto;gap:.8rem;align-items:center;padding:.8rem 0;border-bottom:1px solid #1f2733}
.cart-line img{width:64px;height:64px;object-fit:cover}
.cart-line strong{display:block}.cart-line span{display:block;font-size:.82rem;color:#c4ccd6}
.qty{display:flex;align-items:center;border:1px solid #2d3541}
.qty button{width:34px;height:34px;background:none;border:0;color:#f7f8fa;font-size:1.1rem;cursor:pointer}
.qty button:disabled{opacity:.3;cursor:not-allowed}
.qty output{min-width:26px;text-align:center;font-weight:800}
.cart-empty{padding:2rem 1.2rem;color:#c4ccd6;margin:0}
.cart-foot{padding:1rem 1.2rem 1.4rem;border-top:1px solid #2d3541;display:grid;gap:.6rem}
.cart-total-row{display:flex;justify-content:space-between;margin:0;font-size:1.1rem}
.cart-total{color:#f3c623;font-size:1.3rem}
.cart-note{margin:0;font-size:.78rem;color:#c4ccd6}
.cart-foot .button{justify-content:center;text-align:center;width:100%;cursor:pointer;font:inherit;font-weight:900}
.cart-checkout.is-disabled{opacity:.5}
.toast{position:fixed;bottom:1.2rem;left:50%;transform:translateX(-50%);background:#f3c623;color:#07090d;padding:.8rem 1.2rem;font-weight:800;z-index:60;max-width:calc(100vw - 2rem);box-shadow:0 10px 30px #0008}

/* Checkout + order pages */
.shop-page{max-width:1080px;margin:0 auto;padding:2rem 5vw 4rem}
.shop-page h1{font-size:clamp(1.8rem,4vw,2.8rem);margin:.4rem 0 1.4rem}
.checkout-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:start}
.panel{background:#10161f;border:1px solid #2d3541;padding:1.4rem;margin-bottom:1.2rem}
.panel h2{font-size:1.1rem;margin:0 0 1rem;color:#f3c623}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.fields .full{grid-column:1/-1}
.field label{display:block;font-size:.85rem;font-weight:800;margin-bottom:.35rem}
.field input,.field select,.field textarea{width:100%;background:#07090d;color:#f7f8fa;border:1px solid #3a4452;padding:.75rem .8rem;font:inherit;font-size:16px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #f3c623;border-color:#f3c623}
.field [aria-invalid="true"]{border-color:#ff5a36}
.field .hint{font-size:.75rem;color:#9aa4b1;margin:.3rem 0 0}
.field .err{font-size:.78rem;color:#ff8a6b;margin:.3rem 0 0;min-height:0}
.methods{display:grid;gap:.7rem}
.method{display:grid;grid-template-columns:auto 1fr;gap:.8rem;align-items:center;border:1px solid #3a4452;padding:1rem;cursor:pointer;background:#07090d}
.method:has(input:checked){border-color:#f3c623;background:#1a1606}
.method input{width:20px;height:20px;accent-color:#f3c623}
.method strong{display:block}.method small{display:block;color:#c4ccd6;font-size:.8rem;margin-top:.2rem}
.summary-line{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid #1f2733;font-size:.92rem}
.summary-total{display:flex;justify-content:space-between;font-size:1.2rem;font-weight:900;margin-top:.8rem}
.summary-total span:last-child{color:#f3c623}
.terms{display:flex;gap:.6rem;align-items:flex-start;font-size:.85rem;margin:1rem 0}
.terms input{width:20px;height:20px;accent-color:#f3c623;flex:none;margin-top:.1rem}
.terms a{color:#f3c623}
.submit{width:100%;padding:1rem;font:inherit;font-size:1.05rem;font-weight:900;background:#f3c623;color:#07090d;border:0;cursor:pointer}
.submit:disabled{opacity:.6;cursor:progress}
.form-error{background:#2a1010;border:1px solid #ff5a36;color:#ffc2b3;padding:.8rem 1rem;margin:0 0 1rem;font-weight:700}
.secure-note{font-size:.78rem;color:#9aa4b1;text-align:center;margin:.8rem 0 0}
.hp{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.status-card{max-width:620px;margin:2rem auto;text-align:center}
.status-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 1rem;font-size:2.2rem;font-weight:900}
.status-icon.ok{background:#173d27;color:#3ccf7a}.status-icon.wait{background:#3a3110;color:#f3c623}.status-icon.bad{background:#3d1717;color:#ff6b5a}
.status-card .actions{display:grid;gap:.7rem;margin-top:1.4rem}
.status-card .button{justify-content:center}
.spinner{width:22px;height:22px;border:3px solid #f3c62355;border-top-color:#f3c623;border-radius:50%;display:inline-block;animation:spin 1s linear infinite;vertical-align:middle}
@keyframes spin{to{transform:rotate(360deg)}}
.back-link{color:#f3c623;text-decoration:none;font-weight:800;font-size:.9rem}
@media(max-width:860px){.checkout-grid{grid-template-columns:1fr}.checkout-grid aside{order:-1}.fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cart-drawer,.spinner{animation:none}}
.cart-foot .cart-checkout,.status-card .button.primary,.empty-cart .button.primary{background:#f3c623;color:#07090d!important;border:0;display:flex}
.cart-foot .cart-continue,.status-card .button.ghost{background:transparent;color:#f7f8fa!important;border:1px solid #3a4452;display:flex}
.top-total{display:none}
@media(max-width:860px){.checkout-grid aside{order:0}.top-total{display:flex;justify-content:space-between;align-items:center;background:#10161f;border:1px solid #2d3541;padding:.8rem 1rem;margin:-0.6rem 0 1.2rem;font-weight:800}.top-total b{color:#f3c623}}
.cart-foot>.button{justify-self:stretch;width:auto!important;justify-content:center}
