:root {
    --cream: #fbf6f1;
    --ink: #2c1c20;
    --burgundy: #8e2f3c;
    --blush: #f6e7e4;
    --line: #e8dcd4;
    --card: #fffcf9;
    --muted: #6f5960;
    --bar-block: calc(12px + 64px + 12px + 1px + env(safe-area-inset-bottom, 0px));
    --bar-clear: calc(var(--bar-block) + 24px);
    --sans: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.4;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); }
html { scroll-padding-bottom: var(--bar-clear); }
body { min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

.app {
    width: min(430px, 100%);
    margin: 0 auto;
    min-height: 100vh;
    padding: 12px 18px var(--bar-clear);
}

.brand, .theme {
    margin: 0;
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
h1 {
    margin: 6px 0 0;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0;
}
.lede, .quote {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.25;
}
.shop { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.shop a {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 96px;
    padding: 10px;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.shop img, .choice img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--blush);
}
.shop h2, .choice h2 {
    margin: 2px 0 0;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}
.shop .quote {
    margin: 4px 0 0;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-tag { font-weight: 700; font-size: 14px; }
.shop-bar {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--burgundy);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 8px;
}
.back, .skip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}
.skip { color: var(--burgundy); }

.hero { margin: 0; }
.hero img {
    display: block;
    width: 100%;
    height: 172px;
    object-fit: cover;
    border-radius: 18px;
    background: var(--blush);
}
.product h1 { font-size: 42px; }
.upsell h1 { font-size: 36px; }
.each { margin: 12px 0 0; font-weight: 700; }
.field-label {
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 700;
}
.stepper, .mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.stepper button, .mini button, .add {
    min-width: 48px;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    font-size: 22px;
    line-height: 1;
}
.stepper span, .mini span {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}
.notes { display: grid; gap: 10px; margin-top: 16px; }
.note-box,
.note-box textarea,
.choice,
.choice .add,
.choice .mini {
    scroll-margin-bottom: var(--bar-clear);
}
.note-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 12px 8px;
}
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 700;
}
.check input { width: 20px; height: 20px; accent-color: var(--burgundy); }
textarea {
    display: block;
    width: 100%;
    min-height: 72px;
    margin-top: 4px;
    border: 0;
    resize: vertical;
    background: transparent;
    padding: 0;
}
.count, .quiet, .also { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.alert {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--blush);
    color: var(--burgundy);
    font-weight: 700;
}

.summary, .held-card {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
}
.line.total {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    align-items: baseline;
    font-weight: 700;
}
.line.total strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.destination { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; }
select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 12px;
    font-weight: 600;
}
.incentive {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--blush);
    font-weight: 700;
}
.incentive.off { background: transparent; border: 1px solid var(--line); font-weight: 600; }
details { margin-top: 10px; }
summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
details p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

.offer { margin: 14px 0 0; font-size: 16px; line-height: 1.45; }
.subhead {
    margin: 22px 0 0;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}
.choices { list-style: none; margin: 8px 0 0; padding: 0 0 8px; }
.choice {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: center;
    min-height: 60px;
    padding: 6px 0;
    border-top: 1px solid var(--line);
}
.choice img { width: 48px; height: 48px; border-radius: 10px; }
.choice .meta { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.add {
    min-width: 64px;
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: transparent;
    font-size: 15px;
    font-weight: 700;
}

.sticky {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(430px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: #fbf6f1;
    border-top: 1px solid var(--line);
}
.sticky p { margin: 0; }
.sticky .amount { font-family: var(--serif); font-size: 32px; line-height: 1; font-weight: 500; }
.primary, button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--burgundy);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}
.primary[aria-disabled="true"], button.primary:disabled { opacity: 0.45; }

.held h1 { font-size: 40px; }
.held .primary { margin-top: 18px; }

.board-page { width: min(1120px, 100%); padding-bottom: 40px; }
.board-page h1 { font-size: 40px; max-width: 16ch; }
.frames { display: flex; gap: 28px; margin-top: 22px; align-items: flex-start; overflow-x: auto; }
.frames figure { margin: 0; }
.frames figcaption { margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.phone-slot { width: 304px; height: 658px; }
.phone {
    width: 390px;
    height: 844px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: var(--cream);
    transform: scale(0.78);
    transform-origin: top left;
}
.phone iframe { width: 390px; height: 844px; border: 0; }

@media (max-width: 430px) {
    .product h1 { font-size: 44px; }
}
