:root {
    --ink: #24201d;
    --muted: #81766e;
    --cream: #fff8f2;
    --orange: #ff6330;
    --orange-dark: #e94b18;
    --line: #eee3da;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 4% 2%, rgba(255, 175, 118, .28), transparent 25%),
        radial-gradient(circle at 96% 26%, rgba(255, 215, 185, .34), transparent 24%),
        var(--cream);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.store-shell { width: min(100%, 520px); margin: 0 auto; padding: 26px 18px 35px; }
.page-back {
    display: inline-flex; align-items: center; margin: 0 0 16px; padding: 7px 12px;
    border: 1px solid var(--line); border-radius: 999px; color: var(--orange-dark);
    background: rgba(255,255,255,.76); font: inherit; font-size: 13px; cursor: pointer;
}
header { padding: 0 4px 22px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 750; }
.brand-mark {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
    color: white; background: var(--orange); box-shadow: 0 8px 17px rgba(255, 99, 48, .25);
}
.step { float: right; margin-top: 7px; color: #b49b8a; font-size: 11px; letter-spacing: 1px; }
.eyebrow { margin: 34px 0 9px; color: var(--orange); font-size: 10px; letter-spacing: 2px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(32px, 9vw, 44px); line-height: 1.14; letter-spacing: -2px; }
.subtitle { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.products { display: grid; gap: 11px; }
.product-card { position: relative; border: 1.5px solid transparent; border-radius: 22px; background: rgba(255,255,255,.84); transition: .2s ease; }
.product-card.selected { border-color: rgba(255, 99, 48, .62); box-shadow: 0 15px 35px rgba(96, 57, 31, .11); background: #fff; }
.product-select { display: flex; width: 100%; gap: 14px; padding: 14px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.check {
    position: absolute; top: 11px; right: 11px; display: grid; place-items: center;
    width: 21px; height: 21px; border-radius: 50%; color: transparent; background: #eee7e1; font-size: 12px;
}
.selected .check { color: white; background: var(--orange); }
.product-image { flex: 0 0 96px; height: 108px; overflow: hidden; border-radius: 17px; background: #f5dfca; }
.product-image img, .image-placeholder { width: 100%; height: 100%; }
.product-image img { object-fit: cover; }
.image-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #ffe1c1, #f5b67d); font-size: 42px; }
.product-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 3px 28px 1px 0; }
.product-copy small { color: var(--orange-dark); font-size: 10px; font-weight: 700; }
.product-copy strong { margin-top: 6px; font-size: 18px; }
.description { margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.price { margin-top: auto; color: var(--orange-dark); }
.price i { margin-right: 2px; font-size: 12px; font-style: normal; }
.price b { font-size: 21px; }

.composer {
    margin-top: 14px; padding: 18px; border-radius: 24px; background: #fff;
    box-shadow: 0 20px 50px rgba(91, 57, 33, .12);
}
.composer-row { display: flex; align-items: center; justify-content: space-between; }
.label { display: block; color: var(--muted); font-size: 11px; }
.selected-name { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 14px; padding: 4px; border-radius: 13px; background: #fff6ef; }
.stepper button { width: 32px; height: 32px; border: 0; border-radius: 10px; color: var(--orange-dark); background: #fff; font-size: 20px; cursor: pointer; }
.stepper strong { min-width: 15px; text-align: center; }
.message-field { display: block; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.message-field span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.message-field input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--ink); background: #fffaf6; font: inherit; font-size: 13px; }
.message-field input:focus { border-color: #f4a47c; box-shadow: 0 0 0 3px rgba(255,99,48,.08); }
.total-row { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 2px 13px; }
.total-row > span { color: var(--muted); font-size: 13px; }
.total-row strong { color: var(--orange-dark); font-size: 29px; }
.total-row small { margin-right: 2px; font-size: .58em; }
.assist-button {
    display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 58px;
    border: 0; border-radius: 17px; color: white; background: linear-gradient(135deg, #ff7b45, #ef4e1a);
    box-shadow: 0 13px 24px rgba(239,78,26,.23); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer;
}
.assist-button i { font-size: 21px; font-style: normal; }
.self-pay-button {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px;
    margin-top: 10px; border: 1px solid var(--orange); border-radius: 15px; color: var(--orange-dark);
    background: #fff8f2; font: inherit; font-size: 15px; font-weight: 750; cursor: pointer;
}
.self-pay-button i { font-style: normal; font-size: 18px; }
.hint { margin: 11px 0 0; color: #aaa09a; text-align: center; font-size: 10px; }
.empty { padding: 48px 20px; border-radius: 24px; background: white; text-align: center; box-shadow: 0 20px 50px rgba(91,57,33,.1); }
.empty > span { font-size: 45px; }
.empty h2 { margin: 14px 0 7px; }
.empty p { color: var(--muted); font-size: 13px; }
.empty a { display: inline-block; margin-top: 9px; color: var(--orange-dark); }
.legal-links { display: flex; justify-content: center; gap: 18px; padding-top: 18px; font-size: 11px; }
.legal-links a { color: var(--orange-dark); }

@media (min-width: 700px) {
    .store-shell { padding-top: 38px; padding-bottom: 50px; }
}
