:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #121315; color: #f9fafb; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top right, #3a2d0b, transparent 42%), #121315; }
.shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; margin-bottom: 38px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hero { margin-bottom: 24px; }
.eyebrow { margin: 0 0 8px; color: #fbc02d; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(32px, 8vw, 52px); line-height: 1; margin-bottom: 14px; }
h2 { margin-bottom: 6px; font-size: 22px; }
.hero p, .step-heading p, .muted { color: #aeb4bc; }
.card { border: 1px solid #343638; border-radius: 18px; background: #1e2022; padding: 22px; margin-bottom: 16px; box-shadow: 0 16px 45px #0002; }
.step-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.step-heading > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fbc02d; color: #121315; font-weight: 900; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
button, .link { border: 0; cursor: pointer; font: inherit; font-weight: 800; border-radius: 10px; padding: 12px 16px; }
.choice { background: #292c2f; color: #f9fafb; border: 1px solid #414448; text-align: left; }
.choice:hover, .choice.selected { border-color: #fbc02d; background: #352e19; }
.pickup-choice { display: grid; gap: 6px; text-align: left; }
.pickup-choice small { color: #aeb4bc; font-weight: 500; line-height: 1.4; }
.pickup-selector { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #343638; }
.pickup-details { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: #292c2f; line-height: 1.5; }
.pickup-map { display: grid; gap: 8px; margin-top: 12px; }
.pickup-map-link { color: #fbc02d; font-weight: 800; text-decoration: underline; }
.cart-content.is-disabled { opacity: .45; pointer-events: none; user-select: none; }
.primary { display: inline-flex; justify-content: center; width: 100%; background: #fbc02d; color: #121315; margin-top: 16px; }
.secondary { background: #3a3e42; color: #fff; align-self: end; }
.save-btn { margin-left: auto; align-self: center; padding: 6px 12px; font-size: 12px; white-space: nowrap; }
.save-modal { width: min(420px, calc(100% - 32px)); border: 1px solid #484c51; border-radius: 16px; padding: 24px; background: #1e2022; color: #f9fafb; box-shadow: 0 16px 45px #0008; }
.save-modal::backdrop { background: #0009; }
.save-modal p { color: #aeb4bc; line-height: 1.5; }
.save-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 14px; }
.save-options button { width: 100%; margin: 0; padding: 10px 8px; font-size: 12px; }
.save-options button[aria-pressed="true"] { border: 1px solid #fbc02d; background: #352e19; color: #fbc02d; }
.save-modal #close-save-modal { width: 100%; }
.text-link { display: block; margin: 14px auto 0; padding: 4px; background: transparent; color: #aeb4bc; font-size: 12px; text-decoration: underline; }
.text-link:hover { color: #f9fafb; }
.save-order-link { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 16px 0 0; padding: 9px 0 0; border-top: 1px solid #343638; color: #8d949c; font-size: 11px; }
.save-order-link p { margin: 0; color: #8d949c; font-size: 11px; }
.save-order-link a { color: #fbc02d; font-size: 11px; overflow-wrap: anywhere; text-decoration: underline; }
.save-order-link button { width: auto; margin: 0; padding: 5px 9px; border: 1px solid #343638; background: transparent; color: #8d949c; font-size: 11px; }
#copy-order-feedback, #copy-return-form-feedback { flex-basis: 100%; margin: 0; min-height: 0; color: #8d949c; font-size: 11px; }
.form-grid, .cart-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cart-form { grid-template-columns: 2fr 1fr .7fr auto; align-items: end; }
label { display: grid; gap: 7px; color: #d6d9dd; font-size: 13px; font-weight: 700; }
input, select { width: 100%; border: 1px solid #484c51; border-radius: 9px; background: #121315; color: #fff; padding: 11px 12px; font: inherit; }
.quantity-control { display: flex; align-items: stretch; }
.quantity-control input { min-width: 0; border-radius: 0; text-align: center; appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.quantity-control button { width: 42px; padding: 0; border: 1px solid #484c51; background: #292c2f; color: #fbc02d; font-size: 22px; line-height: 1; }
.quantity-control button:first-child { border-radius: 9px 0 0 9px; }
.quantity-control button:last-child { border-radius: 0 9px 9px 0; }
.quantity-control button:hover { background: #3a3e42; }
input:focus, select:focus { outline: 2px solid #fbc02d; outline-offset: 1px; }
.phone-field { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; }
.phone-field span { white-space: nowrap; padding: 11px 10px; border: 1px solid #484c51; border-radius: 9px; color: #fbc02d; font-weight: 800; }
.wide { grid-column: 1 / -1; }
.optional { color: #8d949c; font-weight: 400; }
.cart { margin-top: 18px; display: grid; gap: 8px; }
.cart-error { margin: 10px 0 0; color: #ff8b8b; font-size: 13px; font-weight: 700; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid #343638; border-radius: 10px; }
.cart-row small { display: block; color: #969da5; margin-top: 3px; }
.remove { padding: 5px 8px; color: #ff8b8b; background: transparent; }
.success { border-color: #7e6817; background: linear-gradient(135deg, #292513, #1e2022); }
.alias { display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.alias code { flex: 1; overflow: auto; border-radius: 9px; padding: 13px; background: #121315; color: #fbc02d; font-size: 16px; }
.alias button { background: #3a3e42; color: #fff; }
.recipient-note strong { color: #fbc02d; }
.link { text-decoration: none; }
.shipping-note { margin: 24px 0 0; padding-top: 8px; text-align: center; color: #fbc02d; font-size: 13px; font-weight: 800; }
.discount-note { margin: 16px 0 0; text-align: center; color: #7ee08a; font-size: 13px; font-weight: 800; animation: discount-glow 1.6s ease-in-out infinite; }
@keyframes discount-glow {
    0%, 100% { filter: brightness(1); text-shadow: none; }
    50% { filter: brightness(1.6); text-shadow: 0 0 14px rgba(126,224,138,.75); }
}
@media (prefers-reduced-motion: reduce) { .discount-note { animation: none; } }
.payment-choice { display: flex; gap: 12px; margin: 16px 0; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2px solid #2a2c30; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; flex: 1; transition: border-color .15s; }
.payment-option:has(input:checked) { border-color: #fbc02d; background: rgba(251,192,45,.08); }
.payment-option input[type="radio"] { width: 18px; min-width: 18px; height: 18px; padding: 0; margin: 0; border: 0; flex-shrink: 0; accent-color: #fbc02d; }
.feedback { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #8f3d3d; border-radius: 10px; background: #3a2020; color: #ffd0d0; }
.processing-status { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 12px; border: 1px solid #66551d; border-radius: 10px; background: #292513; color: #fbc02d; font-size: 13px; font-weight: 700; }
.processing-status::before { content: ''; width: 14px; height: 14px; flex: none; border: 2px solid #79631d; border-top-color: #fbc02d; border-radius: 50%; animation: order-processing-spin .8s linear infinite; }
@keyframes order-processing-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .processing-status::before { animation: none; } }
@media (max-width: 640px) { .shell { width: min(100% - 20px, 720px); padding-top: 16px; } .brand { flex-wrap: wrap; } .card { padding: 16px; } .choice-grid, .form-grid, .cart-form { grid-template-columns: 1fr; } .payment-choice { flex-direction: column; } .cart-row { grid-template-columns: 1fr auto; } .cart-row .remove { grid-column: 2; grid-row: 1 / span 2; } }
