/* Receipt-reward claim flow — compact single-screen panel, layered on the brand styles.css.
   One card, centered, above the fold. Reuses brand tokens + .btn. */

/* Full-screen brand backdrop with one centered card */
.screen { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--plum-deep); }
.panel { width: 100%; max-width: 460px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 4.5vw, 32px); text-align: center; }

.panel-logo { height: 34px; width: auto; margin: 0 auto 10px; display: block; }
.panel-eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--plum); margin: 0 0 12px; }
.panel-lineup { width: 100%; height: auto; border-radius: var(--radius); margin: 0 auto 14px; display: block; }

/* Reward options chooser */
.reward-row { margin: 2px 0 16px; }
.reward-note { font-size: .84rem; color: var(--ink-soft); margin: 0 0 10px; }
.reward-note b { color: var(--ink); }
.reward-icons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.reward-tile { width: 56px; height: 36px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.reward-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.reward-icons .more { font-family: var(--font-body); font-size: .82rem; color: var(--ink-soft); align-self: center; padding-left: 2px; }

/* Visual 1-2-3 */
.vsteps { display: flex; gap: 8px; margin: 0 0 18px; }
.vstep { flex: 1; background: var(--lilac); border-radius: var(--radius); padding: 13px 6px 11px; text-align: center; }
.vstep .ic { font-size: 1.8rem; color: var(--plum); line-height: 1; }
.vstep .num { font-family: var(--font-head); font-size: .7rem; color: var(--plum-deep); letter-spacing: .04em; margin-top: 6px; }
.vstep .lbl { font-size: .77rem; color: var(--ink); margin-top: 2px; line-height: 1.2; }
.panel-h1 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.panel-sub { font-size: .95rem; color: var(--ink-soft); line-height: 1.45; margin: 0 0 18px; }

/* Form controls */
.field { text-align: left; margin-bottom: 10px; }
.input { width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 14px 15px; border: 1.5px solid #d9d4df; border-radius: var(--btn-radius); background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.input:focus { outline: 0; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(122,79,128,.16); }
.hint { font-size: .82rem; color: var(--ink-soft); margin: 6px 0 14px; }

.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.preview { margin: 12px 0; border-radius: var(--radius); border: 1px solid var(--line); max-height: 240px; width: 100%; object-fit: contain; }

/* Store line + directions */
.panel-store { margin-top: 14px; font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }
.panel-store .dirlink { display: inline-block; margin-top: 4px; color: var(--plum); font-weight: 600; }
.panel-legal { font-size: .74rem; color: var(--ink-soft); margin: 14px 0 0; }
.panel-legal a { text-decoration: underline; }

/* Co-brand (Total Wine) lockup */
.cobrand { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 10px; flex-wrap: wrap; }
.cobrand .lbl { font-size: .7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.tw-lock { display: inline-flex; align-items: center; gap: 4px; font-family: Georgia, "Times New Roman", serif; color: #111; }
.tw-lock b { font-weight: 700; font-size: 1rem; letter-spacing: .01em; }
.tw-lock svg { width: 13px; height: 14px; }
.tw-lock small { font-size: .56rem; letter-spacing: .1em; align-self: flex-end; margin-bottom: 2px; }
.tw-logo { height: 26px; width: auto; display: inline-block; }

/* Compact store map */
.panel-map { width: 100%; height: 150px; border: 0; border-radius: var(--radius); margin: 12px 0 8px; display: block; }
@media (max-height: 560px) { .panel-map { height: 104px; } }

/* Success screen */
.success { text-align: center; padding: 4px 0; }
.success-check { width: 58px; height: 58px; border-radius: 50%; background: #eafaf0; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.success-check svg { width: 28px; height: 28px; }
.success h2 { margin: 0 0 8px; }
.success .panel-sub { margin-bottom: 0; display: block; }

/* Messages */
.msg { margin-top: 12px; font-size: .92rem; padding: 11px 13px; border-radius: var(--btn-radius); display: none; text-align: left; }
.msg.show { display: block; }
.msg.ok { background: #eafaf0; color: #0F6E56; }
.msg.warn { background: #fff7e6; color: #854F0B; }
.msg.err { background: #fdecea; color: #A32D2D; }
.hidden { display: none !important; }

/* Optional store list (general page) — kept short */
.locator { list-style: none; padding: 0; margin: 0; text-align: left; }
.locator li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.locator li:last-child { border-bottom: 0; }
.locator a { color: var(--plum); font-weight: 600; }

/* Short screens: shed non-essentials so it still fits with no scroll */
@media (max-height: 700px) {
  .panel-lineup { max-height: 92px; object-fit: cover; margin-bottom: 8px; }
  .panel-sub { display: none; }
}
@media (max-height: 560px) {
  .panel-lineup { display: none; }
  .panel-eyebrow { margin-bottom: 6px; }
}
