/* Loyalty launcher, rewards page and referral landing. Inherits the theme's font; colors from --ly-color / --ly-text. */
.ly, .lyp { --ly-color: #111; --ly-text: #fff; --ly-border: rgba(0,0,0,.12); --ly-muted: rgba(0,0,0,.6); --ly-radius: 12px; font: inherit; line-height: 1.45; color: #1a1a1a; }
.ly *, .ly *::before, .ly *::after, .lyp *, .lyp *::before, .lyp *::after { box-sizing: border-box; }
.ly { position: fixed; bottom: var(--ly-y, 20px); z-index: 2147483000; }
.ly--right { right: 20px; } .ly--left { left: 20px; }
.ly-launcher { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ly-color); color: var(--ly-text); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.ly-launcher:focus-visible, .ly-btn:focus-visible, .ly-card:focus-visible, .ly-x:focus-visible { outline: 3px solid color-mix(in srgb, var(--ly-color) 40%, transparent); outline-offset: 2px; }
.ly-panel { position: absolute; bottom: 64px; width: 370px; max-width: calc(100vw - 32px); max-height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.22); overflow: hidden; }
.ly-panel[hidden] { display: none; }
.ly--right .ly-panel { right: 0; } .ly--left .ly-panel { left: 0; }
.ly-panel-top { position: relative; padding: 22px 22px 18px; }
.ly-panel-body { padding: 16px 18px 18px; overflow-y: auto; }
.ly-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: inherit; cursor: pointer; }
.ly-head p { margin: 0; }
.ly-logo { max-height: 32px; width: auto; margin-bottom: 10px; display: block; }
.ly-hi { opacity: .85; font-size: .95em; }
.ly-balance { font-size: 1.6em; font-weight: 700; letter-spacing: -.01em; margin: 2px 0 4px !important; }
.ly-sub { display: block; opacity: .85; font-size: .88em; margin-top: 2px; }
.ly-cta { margin-top: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ly-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--ly-color); border-radius: 8px; background: var(--ly-color); color: var(--ly-text) !important; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ly-btn:disabled { opacity: .55; cursor: progress; }
.ly-btn--sm { min-height: 32px; padding: 4px 12px; font-size: .88em; }
.ly-btn--ghost { background: transparent; color: var(--ly-color) !important; }
.ly-btn--light { background: var(--ly-text); color: var(--ly-color) !important; border-color: var(--ly-text); }
.ly-link-light { color: inherit !important; text-decoration: underline; }
.ly h3 { font-size: 1em; margin: 16px 0 8px; }
.ly-panel-body > h3:first-child, .ly-panel-body > .ly-back + h3 { margin-top: 4px; }
.ly-muted { color: var(--ly-muted); font-size: .9em; }
.ly-list { list-style: none; margin: 0; padding: 0; }
.ly-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ly-border); }
.ly-list li:last-child { border-bottom: 0; }
.ly-list li > span:first-child { min-width: 0; }
.ly-list small { display: block; color: var(--ly-muted); font-size: .85em; margin-top: 1px; }
.ly-list li.is-done b { color: var(--ly-muted); }
.ly-done { color: #1e7a3c; font-weight: 700; }
.ly-codes code, .ly-flash code { font-family: ui-monospace, Menlo, monospace; background: #f3f3f3; padding: 1px 6px; border-radius: 4px; }
.ly-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ly-cards { display: grid; gap: 8px; margin-top: 4px; }
.ly-card { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 0 8px; width: 100%; padding: 12px 14px; border: 1px solid var(--ly-border); border-radius: 10px; background: #fff; font: inherit; color: inherit; cursor: pointer; }
.ly-card:hover { border-color: var(--ly-color); }
.ly-card small { grid-column: 1; color: var(--ly-muted); font-size: .85em; }
.ly-card span { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.4em; color: var(--ly-muted); }
.ly-back { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: .9em; color: var(--ly-muted); cursor: pointer; }
.ly-back svg { width: 16px; height: 16px; }
.ly-center { text-align: center; margin: 14px 0 0; font-size: .9em; }
.ly-center a { color: inherit; }
.ly-brand { text-align: center; color: var(--ly-muted); font-size: .75em; margin: 10px 0 0; }
.ly-flash { border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-size: .92em; }
.ly-flash--ok { background: #e7f5ec; color: #1b5e31; } .ly-flash--err { background: #fdecea; color: #8a1c12; }
.ly-flash a { color: inherit; font-weight: 600; }
.ly-copy { display: flex; gap: 8px; }
.ly-copy input, .ly-bday select, .ly-ref-form input { flex: 1; min-width: 0; font: inherit; padding: 8px 10px; border: 1px solid var(--ly-border); border-radius: 8px; background: #fff; color: inherit; }
.ly-bday select { flex: 0 1 auto; }
.ly-progress { height: 8px; border-radius: 99px; background: #eee; overflow: hidden; margin: 8px 0 4px; }
.ly-progress span { display: block; height: 100%; background: var(--ly-color); border-radius: 99px; }
.ly-tier { margin: 0; }
.ly-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.ly-tiers li.is-current { background: #fafafa; margin: 0 -8px; padding: 10px 8px; border-radius: 8px; }
.ly-pos { color: #1e7a3c; } .ly-neg { color: #8a1c12; }
@media (max-width: 600px) {
  .ly--nomobile { display: none; }
  .ly-launcher span { display: none; } .ly-launcher { width: 52px; padding: 0; justify-content: center; }
  .ly--right { right: 14px; } .ly--left { left: 14px; }
  .ly-panel { position: fixed; left: 8px; right: 8px; bottom: 76px; width: auto; max-width: none; }
}
@media (prefers-reduced-motion: no-preference) { .ly-panel:not([hidden]) { animation: ly-in .18s ease-out; } @keyframes ly-in { from { opacity: 0; transform: translateY(8px); } } }

/* Rewards page and referral landing */
.lyp { max-width: 1100px; margin: 0 auto 64px; padding: 0 16px; }
.lyp h1 { font-size: clamp(1.8em, 4vw, 2.6em); margin: 0 0 8px; line-height: 1.1; }
.lyp h2 { font-size: 1.3em; margin: 0 0 12px; }
.lyp h3 { font-size: 1.05em; margin: 18px 0 8px; }
.ly-hero { margin: 24px 0; padding: clamp(32px, 6vw, 64px) 24px; border-radius: 16px; background: var(--ly-color) center / cover no-repeat; color: var(--ly-text); text-align: center; }
.ly-hero p { max-width: 560px; margin: 0 auto; opacity: .92; }
.ly-hero .ly-cta { justify-content: center; margin-top: 20px; }
.ly-hero-balance { font-size: 1.5em; font-weight: 700; margin-top: 16px !important; opacity: 1 !important; }
.ly-sec { padding: 28px 0; border-top: 1px solid var(--ly-border); }
.ly-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ly-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.ly-steps li { padding: 18px; border: 1px solid var(--ly-border); border-radius: var(--ly-radius); counter-increment: s; }
.ly-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ly-color); color: var(--ly-text); font-weight: 700; margin-bottom: 8px; }
.ly-steps b, .ly-steps span { display: block; } .ly-steps span { color: var(--ly-muted); font-size: .92em; }
.lyp details { border-bottom: 1px solid var(--ly-border); padding: 12px 0; } .lyp summary { cursor: pointer; font-weight: 600; } .lyp details p { margin: 8px 0 0; color: var(--ly-muted); }
.ly-ref { max-width: 520px; margin: 48px auto; text-align: center; }
.ly-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8em; color: var(--ly-muted); margin: 0 0 8px; }
.ly-ref-form { margin-top: 24px; text-align: left; } .ly-ref-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.ly-ref h1 code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; }
@media (max-width: 720px) { .ly-grid2, .ly-steps { grid-template-columns: 1fr; } }
/* Points on an order that hasn't shipped */
.ly-late { border: 1px solid color-mix(in srgb, var(--ly-color, #111) 25%, #ddd); background: color-mix(in srgb, var(--ly-color, #111) 5%, #fff); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.ly-late h3 { margin: 0 0 6px; font-size: 1em; }
.ly-late-row { display: grid; gap: 8px; }
.ly-late-row + .ly-late-row { border-top: 1px solid #e6e6e6; margin-top: 10px; padding-top: 10px; }
.ly-late-row p { margin: 0; font-size: .92em; }
.ly-late-row .ly-btn { justify-self: start; }
.ly-late-pick { font: inherit; font-size: .9em; padding: 6px 8px; border: 1px solid #ccc; border-radius: 6px; background: #fff; max-width: 100%; }
