:root {
  --burgundy: #7d1830;
  --burgundy-dark: #5e1022;
  --burgundy-soft: #f8edf0;
  --gold: #c59c42;
  --amber: #f3a323;
  --ink: #201a1c;
  --muted: #7f7377;
  --line: #ece4e6;
  --paper: #fffdfb;
  --surface: #f8f5f4;
  --green: #177b58;
  --blue: #2c67a4;
  --shadow: 0 24px 70px rgba(61, 27, 37, .14);
  --soft-shadow: 0 10px 30px rgba(65, 31, 41, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #eee9e7; font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
.material-symbols-rounded { font-size: 22px; line-height: 1; font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; }
.hidden { display: none !important; }

.prototype-note { position: fixed; z-index: 100; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 13px; border: 1px solid rgba(125,24,48,.15); border-radius: 100px; background: rgba(255,253,251,.9); box-shadow: 0 8px 30px rgba(47,26,31,.1); backdrop-filter: blur(14px); font-size: 12px; white-space: nowrap; }
.prototype-note > .material-symbols-rounded { font-size: 17px; color: var(--burgundy); }
.prototype-note strong { margin-left: 6px; }
.persona-chip { padding: 6px 10px; border: 0; border-radius: 20px; color: var(--muted); background: var(--surface); font-weight: 700; font-size: 11px; }
.persona-chip.active { color: #fff; background: var(--burgundy); }

.app-shell { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 120px); margin: 84px auto 36px; display: grid; grid-template-columns: minmax(340px, 1fr) 520px; border: 1px solid rgba(125, 24, 48, .1); border-radius: 34px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.side-panel { position: relative; min-height: 760px; padding: 62px 64px 42px; display: flex; flex-direction: column; overflow: hidden; color: #fff; background: linear-gradient(145deg, #651124 0%, #8d1c37 55%, #55101e 100%); }
.side-panel::before, .side-panel::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.side-panel::before { width: 480px; height: 480px; top: -250px; right: -200px; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.side-panel::after { width: 280px; height: 280px; bottom: -190px; left: -120px; box-shadow: 0 0 0 50px rgba(255,255,255,.025); }
.brand-logo { position: relative; z-index: 1; width: 112px; height: 64px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.side-copy { position: relative; z-index: 1; margin-top: 100px; }
.eyebrow { margin: 0 0 7px; color: var(--burgundy); font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.side-copy .eyebrow { color: #e9cb84; }
.side-copy h1 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.side-copy > p:last-child { max-width: 520px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }
.side-feature-list { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: 50px; }
.side-feature-list > div { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.07); }
.side-feature-list > div > .material-symbols-rounded { display: grid; flex: 0 0 40px; height: 40px; place-items: center; color: #f1d18a; border-radius: 12px; background: rgba(255,255,255,.1); }
.side-feature-list p { display: grid; gap: 3px; margin: 0; }
.side-feature-list strong { font-size: 13px; }
.side-feature-list small { color: rgba(255,255,255,.62); font-size: 11px; }
.side-footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: auto; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .03em; }
.side-footer .material-symbols-rounded { font-size: 17px; }

.app { position: relative; height: min(860px, calc(100vh - 120px)); min-height: 680px; overflow: hidden; background: var(--paper); }
.app-header { position: absolute; z-index: 20; top: 0; right: 0; left: 0; height: 78px; padding: 18px 24px 10px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(180deg, var(--paper) 72%, rgba(255,253,251,0)); }
.header-brand { display: flex; align-items: center; gap: 9px; }
.header-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 11px; }
.header-brand > span { display: grid; gap: 1px; }
.header-brand small { color: var(--muted); font-size: 9px; }
.header-brand strong { font-family: "Manrope", sans-serif; font-size: 12px; }
.location-button { max-width: 240px; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--ink); background: none; text-align: left; }
.location-button > .material-symbols-rounded:first-child { display: grid; flex: 0 0 34px; height: 34px; place-items: center; color: var(--burgundy); border-radius: 11px; background: var(--burgundy-soft); font-variation-settings: "FILL" 1; }
.location-button span:nth-child(2) { display: grid; min-width: 0; }
.location-button small { color: var(--muted); font-size: 10px; }
.location-button strong { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.location-button .chevron { color: var(--muted); font-size: 17px; }
.header-actions { display: flex; gap: 8px; }
.icon-button { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
.icon-button .material-symbols-rounded { font-size: 20px; }
.icon-button .dot { position: absolute; width: 7px; height: 7px; top: 7px; right: 8px; border: 2px solid #fff; border-radius: 50%; background: #f03d5f; }
.icon-button .count { position: absolute; min-width: 16px; height: 16px; top: -5px; right: -5px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--paper); border-radius: 10px; color: #fff; background: var(--burgundy); font-size: 8px; font-style: normal; font-weight: 800; }

.screen-container { height: 100%; overflow: hidden; }
.screen { display: none; height: 100%; padding: 88px 24px 104px; overflow: auto; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.active { display: block; animation: screenIn .26s ease both; }
@keyframes screenIn { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.greeting-row { display: flex; justify-content: space-between; align-items: flex-end; }
.greeting { margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.greeting-row h2, .page-title-row h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 23px; line-height: 1.2; letter-spacing: -.04em; }
.greeting-row h2 span { font-size: 18px; }
.member-pill { display: flex; align-items: center; gap: 4px; padding: 7px 10px; color: var(--burgundy); border: 1px solid rgba(125,24,48,.12); border-radius: 20px; background: var(--burgundy-soft); font-size: 10px; font-weight: 800; }
.member-pill .material-symbols-rounded { font-size: 14px; font-variation-settings: "FILL" 1; }

.loyalty-card { position: relative; margin-top: 18px; min-height: 190px; padding: 20px; overflow: hidden; color: #fff; border-radius: 22px; background: linear-gradient(135deg, #74162c 0%, #92213d 58%, #50101f 100%); box-shadow: 0 16px 36px rgba(125,24,48,.25); }
.frost { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.frost-one { width: 190px; height: 190px; top: -110px; right: -70px; box-shadow: 0 0 0 35px rgba(255,255,255,.025); }
.frost-two { width: 120px; height: 120px; bottom: -70px; left: -55px; box-shadow: 0 0 0 26px rgba(255,255,255,.02); }
.loyalty-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.loyalty-top > div { display: flex; align-items: center; gap: 6px; font-family: "Manrope", sans-serif; font-size: 10px; letter-spacing: .1em; }
.loyalty-top .material-symbols-rounded { font-size: 16px; }
.tier-badge { padding: 6px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.11); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.point-label { position: relative; margin-top: 20px; color: rgba(255,255,255,.66); font-size: 10px; }
.point-row { position: relative; display: flex; align-items: baseline; gap: 7px; }
.point-row strong { font-family: "Manrope", sans-serif; font-size: 32px; letter-spacing: -.04em; }
.point-row span { color: rgba(255,255,255,.7); font-size: 11px; }
.progress-row { position: relative; margin-top: 13px; display: flex; justify-content: space-between; color: rgba(255,255,255,.68); font-size: 9px; }
.progress-row b { color: #f1d18a; }
.progress-track { position: relative; height: 5px; margin-top: 7px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.13); }
.progress-track i { display: block; width: 82%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1d18a, #fff1bd); }
.loyalty-actions { position: absolute; right: 20px; bottom: 16px; left: 20px; display: flex; align-items: center; justify-content: space-between; }
.loyalty-actions button { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; color: rgba(255,255,255,.9); background: none; font-size: 9px; font-weight: 700; }
.loyalty-actions button:first-child { padding: 6px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.1); }
.loyalty-actions .material-symbols-rounded { font-size: 14px; }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.quick-actions > button { display: grid; justify-items: center; gap: 7px; padding: 0; border: 0; color: var(--ink); background: none; }
.quick-actions small { font-size: 9px; line-height: 1.35; font-weight: 700; }
.quick-icon, .title-icon, .menu-icon, .notice-icon { display: grid; place-items: center; color: var(--burgundy); border-radius: 14px; background: var(--burgundy-soft); }
.quick-icon { width: 45px; height: 45px; }
.quick-icon .material-symbols-rounded { font-size: 21px; }
.amber { color: #a26608 !important; background: #fff4dc !important; }
.blue { color: var(--blue) !important; background: #eaf3fb !important; }
.green { color: var(--green) !important; background: #e8f6f0 !important; }
.burgundy { color: var(--burgundy) !important; background: var(--burgundy-soft) !important; }
.muted { color: #6e6668 !important; background: #f0eded !important; }

.section-heading { margin: 28px 0 13px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading.compact { margin-top: 26px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 16px; line-height: 1.25; letter-spacing: -.025em; }
.section-heading > button { padding: 0; border: 0; color: var(--burgundy); background: none; font-size: 9px; font-weight: 800; }
.promo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 90%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-strip::-webkit-scrollbar, .product-row::-webkit-scrollbar, .reward-row::-webkit-scrollbar { display: none; }
.promo-banner { position: relative; min-height: 142px; padding: 18px; overflow: hidden; scroll-snap-align: start; border-radius: 18px; }
.promo-banner.maroon { color: #fff; background: linear-gradient(135deg, #651125, #8d1b37); }
.promo-banner.gold { color: #fff; background: linear-gradient(135deg, #6a4c18, #b28631); }
.promo-banner .mini-pill, .hero-promo-card .mini-pill { display: inline-block; padding: 5px 7px; border-radius: 6px; color: #61202d; background: #f7dc95; font-size: 7px; font-weight: 800; letter-spacing: .06em; }
.promo-banner h3 { margin: 9px 0 3px; font-family: "Manrope", sans-serif; font-size: 17px; line-height: 1.15; letter-spacing: -.025em; }
.promo-banner p { margin: 0 0 10px; color: rgba(255,255,255,.66); font-size: 9px; }
.promo-banner button { padding: 6px 9px; border: 0; border-radius: 7px; color: var(--burgundy); background: #fff; font-size: 8px; font-weight: 800; }
.food-orbit { position: absolute; width: 110px; height: 110px; right: -12px; bottom: -12px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: 0 0 0 16px rgba(255,255,255,.04); }
.food-orbit span { font-size: 48px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); transform: rotate(-8deg); }
.food-orbit b { position: absolute; top: 4px; left: 13px; color: rgba(255,255,255,.65); }
.food-orbit i { position: absolute; right: 17px; bottom: 12px; width: 8px; height: 8px; border-radius: 50%; background: #f4d788; }

.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 11px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(60, 31, 39, .05); }
.product-visual { position: relative; height: 116px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f7f1ef, #fff); }
.product-visual::before { content: ""; position: absolute; width: 90px; height: 90px; border: 1px solid rgba(125,24,48,.08); border-radius: 50%; box-shadow: 0 0 0 13px rgba(125,24,48,.025); }
.product-visual > span { position: relative; z-index: 1; font-size: 52px; filter: drop-shadow(0 10px 12px rgba(64,29,40,.16)); transform: rotate(-7deg); }
.discount-badge { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 4px 7px; border-radius: 6px; color: #fff; background: var(--burgundy); font-size: 7px; font-weight: 800; }
.favorite { position: absolute; z-index: 2; top: 7px; right: 7px; display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; color: var(--burgundy); background: rgba(255,255,255,.9); }
.favorite .material-symbols-rounded { font-size: 17px; }
.favorite.active .material-symbols-rounded { font-variation-settings: "FILL" 1; }
.product-content { padding: 11px; }
.brand-name { display: block; margin-bottom: 3px; color: var(--burgundy); font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-content h4 { min-height: 31px; margin: 0; font-size: 11px; line-height: 1.35; }
.product-pack { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 7px; margin-top: 9px; }
.price-row p { display: grid; margin: 0; }
.price-row s { color: #a69da0; font-size: 7px; }
.price-row strong { font-family: "Manrope", sans-serif; color: var(--burgundy); font-size: 11px; white-space: nowrap; }
.add-cart { display: grid; flex: 0 0 28px; height: 28px; place-items: center; border: 0; border-radius: 9px; color: #fff; background: var(--burgundy); box-shadow: 0 5px 13px rgba(125,24,48,.22); }
.add-cart .material-symbols-rounded { font-size: 16px; }
.distribution-callout { margin-top: 24px; padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; border: 1px solid #dbe9e2; border-radius: 17px; background: #f0f8f4; }
.callout-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--green); border-radius: 12px; background: #dff1e8; }
.distribution-callout small { color: var(--green); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.distribution-callout h3 { margin: 2px 0 3px; font-size: 13px; }
.distribution-callout p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.distribution-callout button { grid-column: 2; justify-self: start; padding: 7px 11px; border: 0; border-radius: 8px; color: #fff; background: var(--green); font-size: 8px; font-weight: 800; }
.store-only-note { margin-top: 20px; padding: 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #e8dfd9; border-radius: 15px; background: #fff9f5; }
.store-only-note > .material-symbols-rounded { display: grid; flex: 0 0 36px; height: 36px; place-items: center; color: var(--burgundy); border-radius: 11px; background: var(--burgundy-soft); font-size: 19px; }
.store-only-note strong { display: block; font-size: 9px; }
.store-only-note p { margin: 3px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }

.page-title-row { margin: 4px 0 21px; display: flex; justify-content: space-between; align-items: center; }
.page-title-row .eyebrow { margin-bottom: 5px; }
.title-icon { width: 42px; height: 42px; border: 0; }
.title-icon .material-symbols-rounded { font-size: 22px; }
.filter-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: #fff; font-size: 9px; font-weight: 700; }
.filter-chips button.active { color: #fff; border-color: var(--burgundy); background: var(--burgundy); }
.hero-promo-card { position: relative; min-height: 190px; margin-top: 15px; padding: 22px; overflow: hidden; color: #fff; border-radius: 22px; background: linear-gradient(135deg, #601024, #8e1b38 68%, #651126); }
.hero-promo-card .mini-pill.light { color: #6e162c; background: #f7df9c; }
.hero-promo-card h3 { margin: 13px 0 7px; font-family: "Manrope", sans-serif; font-size: 24px; line-height: 1.08; letter-spacing: -.035em; }
.hero-promo-card p { max-width: 210px; margin: 0 0 14px; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.55; }
.hero-promo-card button { padding: 8px 11px; border: 0; border-radius: 8px; color: var(--burgundy); background: #fff; font-size: 8px; font-weight: 800; }
.hero-promo-art { position: absolute; width: 170px; height: 170px; right: -36px; bottom: -40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: 0 0 0 25px rgba(255,255,255,.025); }
.hero-promo-art > span { font-family: "Manrope", sans-serif; font-size: 42px; font-weight: 800; transform: rotate(-8deg); }
.hero-promo-art span small { font-size: 17px; }
.hero-promo-art b { position: absolute; right: 52px; bottom: 16px; font-size: 31px; filter: drop-shadow(0 7px 8px rgba(0,0,0,.2)); }
.hero-promo-art i { position: absolute; top: 24px; left: 27px; color: rgba(255,255,255,.6); font-style: normal; }
.promo-list { margin-top: 18px; display: grid; gap: 11px; }
.promo-item { display: grid; grid-template-columns: 88px 1fr; min-height: 103px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.promo-item-art { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f7efec, #fff7f2); }
.promo-item-art::after { content: ""; position: absolute; width: 68px; height: 68px; border: 1px solid rgba(125,24,48,.08); border-radius: 50%; }
.promo-item-art span { z-index: 1; font-size: 37px; filter: drop-shadow(0 7px 9px rgba(0,0,0,.13)); transform: rotate(-7deg); }
.promo-item-copy { padding: 13px 12px; }
.promo-item-copy > span { color: var(--burgundy); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.promo-item-copy h4 { margin: 3px 0 4px; font-size: 12px; }
.promo-item-copy p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.promo-meta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.promo-meta small { color: #a1989b; font-size: 7px; }
.promo-meta button { padding: 5px 8px; border: 1px solid rgba(125,24,48,.15); border-radius: 7px; color: var(--burgundy); background: var(--burgundy-soft); font-size: 7px; font-weight: 800; }

.search-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 7px 7px 7px 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(60,31,39,.04); }
.search-box > .material-symbols-rounded { color: #91868a; font-size: 20px; }
.search-box input { width: 100%; min-width: 0; padding: 7px 0; border: 0; outline: 0; color: var(--ink); background: none; font-size: 11px; }
.search-box input::placeholder { color: #aaa1a4; }
.search-box button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; color: var(--burgundy); background: var(--burgundy-soft); }
.search-box button .material-symbols-rounded { font-size: 18px; }
.product-filter { margin-top: 13px; }
.catalog-info { margin: 18px 0 11px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.catalog-info b { color: var(--ink); }
.catalog-info button { display: flex; align-items: center; gap: 2px; padding: 0; border: 0; color: var(--ink); background: none; font-size: 9px; font-weight: 700; }
.catalog-info .material-symbols-rounded { font-size: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.empty-state { padding: 52px 20px; text-align: center; }
.empty-state > .material-symbols-rounded { font-size: 44px; color: #b7adaf; }
.empty-state h3 { margin: 10px 0 5px; font-size: 14px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 10px; }

.points-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; color: #fff; border-radius: 20px; background: linear-gradient(135deg, #6e1429, #9b2745); box-shadow: 0 14px 32px rgba(125,24,48,.2); }
.points-copy { display: grid; }
.points-copy > small { color: rgba(255,255,255,.62); font-size: 9px; }
.points-copy > strong { margin-top: 2px; font-family: "Manrope", sans-serif; font-size: 28px; letter-spacing: -.04em; }
.points-copy > strong i { color: rgba(255,255,255,.72); font-size: 10px; font-style: normal; font-weight: 600; }
.points-copy p { margin: 2px 0 0; color: rgba(255,255,255,.66); font-size: 8px; }
.points-copy p b { color: #f3d793; }
.points-hero > button { display: grid; justify-items: center; gap: 5px; padding: 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; color: #fff; background: rgba(255,255,255,.11); font-size: 8px; font-weight: 800; }
.points-hero > button .material-symbols-rounded { font-size: 24px; }
.tier-card { margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tier-top { display: flex; justify-content: space-between; align-items: center; }
.tier-top > div { display: flex; align-items: center; gap: 9px; }
.tier-medal { display: grid; width: 38px; height: 38px; place-items: center; color: #8a7451; border-radius: 12px; background: #f0ece4; }
.tier-medal .material-symbols-rounded { font-size: 22px; font-variation-settings: "FILL" 1; }
.tier-top p { display: grid; gap: 1px; margin: 0; }
.tier-top small { color: var(--muted); font-size: 8px; }
.tier-top strong { font-size: 13px; }
.tier-top > button { padding: 0; border: 0; color: var(--burgundy); background: none; font-size: 8px; font-weight: 800; }
.tier-scale { margin-top: 17px; display: flex; justify-content: space-between; color: #aba1a4; font-size: 7px; font-weight: 700; }
.tier-scale .done, .tier-scale .active { color: var(--burgundy); }
.tier-progress { position: relative; height: 5px; margin: 7px 4px 0; border-radius: 10px; background: #eee9e8; }
.tier-progress i { display: block; width: 82%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9e2a46, #c79655); }
.tier-progress b { position: absolute; width: 11px; height: 11px; top: 50%; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: #ba8142; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.tier-hint { display: flex; align-items: center; gap: 5px; margin: 12px 0 0; color: var(--muted); font-size: 8px; }
.tier-hint .material-symbols-rounded { color: var(--green); font-size: 15px; }
.tier-hint span:last-of-type { color: var(--burgundy); font-weight: 800; }
.level-rules { margin-top: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.level-rule-head { display: flex; align-items: flex-start; justify-content: space-between; }
.level-rule-head .eyebrow { margin-bottom: 3px; }
.level-rule-head h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 13px; }
.level-rule-head > span { padding: 5px 7px; border-radius: 8px; color: var(--muted); background: var(--surface); font-size: 7px; font-weight: 700; }
.level-rule-list { margin-top: 11px; display: grid; }
.level-rule-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.level-rule-list > div:last-child { border-bottom: 0; }
.level-dot { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; }
.level-dot .material-symbols-rounded { font-size: 19px; font-variation-settings: "FILL" 1; }
.level-dot.silver { color: #747d87; background: #eef0f2; }
.level-dot.gold { color: #a77717; background: #fff3d8; }
.level-dot.platinum { color: #5a5879; background: #eeedf8; }
.level-rule-list p { display: grid; gap: 1px; margin: 0; }
.level-rule-list strong { font-size: 9px; }
.level-rule-list small { color: var(--muted); font-size: 7px; }
.level-rule-list b { color: var(--burgundy); font-family: "Manrope", sans-serif; font-size: 9px; }
.level-rule-note { margin: 9px 0 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 7px; }
.level-rule-note .material-symbols-rounded { color: var(--blue); font-size: 14px; }
.reward-row { display: grid; grid-auto-flow: column; grid-auto-columns: 43%; gap: 10px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reward-row article { padding: 12px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.reward-icon { width: 100%; height: 63px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 11px; background: linear-gradient(145deg, #f8f1ef, #fff9f6); font-size: 29px; }
.reward-icon .material-symbols-rounded { color: var(--burgundy); font-size: 31px; font-variation-settings: "FILL" 1; }
.reward-row article > span { color: var(--burgundy); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.reward-row h4 { min-height: 29px; margin: 3px 0; font-size: 10px; line-height: 1.35; }
.reward-row p { min-height: 22px; margin: 0 0 5px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.reward-row article > b { display: block; margin-bottom: 8px; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 9px; }
.reward-row button { width: 100%; padding: 6px; border: 1px solid rgba(125,24,48,.15); border-radius: 8px; color: var(--burgundy); background: var(--burgundy-soft); font-size: 8px; font-weight: 800; }
.reward-row article.locked { background: #fbfaf9; }
.reward-row button:disabled { cursor: default; color: #8f8788; border-color: #e7e1df; background: #f1eeec; }
.reward-audience { padding: 5px 8px; color: var(--burgundy); border-radius: 999px; background: var(--burgundy-soft); font-size: 7px; font-weight: 800; }
.history-heading { margin-bottom: 8px; }
.point-history { display: grid; }
.point-history > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.history-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; }
.history-icon.plus { color: var(--green); background: #e9f6f0; }
.history-icon.minus { color: var(--burgundy); background: var(--burgundy-soft); }
.history-icon .material-symbols-rounded { font-size: 18px; }
.point-history p { display: grid; gap: 2px; margin: 0; }
.point-history p strong { font-size: 9px; }
.point-history p small { color: var(--muted); font-size: 7px; }
.point-history > div > b { color: var(--green); font-size: 9px; }
.point-history > div:nth-child(2) > b { color: var(--burgundy); }
.how-points { margin-top: 15px; display: flex; gap: 9px; padding: 12px; border-radius: 13px; color: var(--blue); background: #eef5fb; }
.how-points > .material-symbols-rounded { font-size: 18px; }
.how-points strong { display: block; font-size: 9px; }
.how-points p { margin: 2px 0 0; color: #64809a; font-size: 8px; }

.profile-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 17px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #6c1328, #8e1c38); }
.avatar { position: relative; display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(255,255,255,.13); font-family: "Manrope", sans-serif; font-weight: 800; }
.avatar i { position: absolute; width: 10px; height: 10px; right: -1px; bottom: 3px; border: 2px solid #7c1831; border-radius: 50%; background: #71c398; }
.profile-card h3 { margin: 0 0 2px; font-size: 13px; }
.profile-card p { margin: 0 0 5px; color: rgba(255,255,255,.62); font-size: 8px; }
.profile-card > div:nth-child(2) > span { display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px; border-radius: 10px; color: #f4d992; background: rgba(255,255,255,.1); font-size: 7px; font-weight: 800; }
.profile-card > div:nth-child(2) .material-symbols-rounded { font-size: 11px; font-variation-settings: "FILL" 1; }
.profile-card > button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; color: #fff; background: rgba(255,255,255,.1); }
.profile-card > button .material-symbols-rounded { font-size: 17px; }
.persona-switch-card { margin-top: 13px; padding: 13px; border: 1px solid #eadfd9; border-radius: 15px; background: #fffaf6; }
.persona-switch-card > div:first-child { display: flex; align-items: center; gap: 9px; }
.persona-switch-card > div:first-child > .material-symbols-rounded { display: grid; width: 33px; height: 33px; place-items: center; color: #a26716; border-radius: 10px; background: #fff0d7; font-size: 18px; }
.persona-switch-card p { display: grid; gap: 1px; margin: 0; }
.persona-switch-card strong { font-size: 9px; }
.persona-switch-card small { color: var(--muted); font-size: 7px; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 10px; padding: 3px; border-radius: 10px; background: #f0eae7; }
.segmented-control button { padding: 7px; border: 0; border-radius: 8px; color: var(--muted); background: none; font-size: 8px; font-weight: 800; }
.segmented-control button.active { color: #fff; background: var(--burgundy); box-shadow: 0 4px 10px rgba(125,24,48,.18); }
.account-stats { margin: 13px 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.account-stats > div { display: flex; align-items: center; gap: 7px; padding: 13px 9px; border-right: 1px solid var(--line); }
.account-stats > div:last-child { border: 0; }
.account-stats .material-symbols-rounded { color: var(--burgundy); font-size: 18px; }
.account-stats p { display: grid; margin: 0; }
.account-stats strong { font-family: "Manrope", sans-serif; font-size: 10px; }
.account-stats small { color: var(--muted); font-size: 6px; }
.personal-info-card { margin-bottom: 20px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.personal-info-head { display: flex; align-items: flex-start; justify-content: space-between; }
.personal-info-head .eyebrow { margin-bottom: 3px; }
.personal-info-head h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 13px; }
.personal-info-head button { padding: 5px 8px; border: 1px solid rgba(125,24,48,.14); border-radius: 8px; color: var(--burgundy); background: var(--burgundy-soft); font-size: 7px; font-weight: 800; }
.personal-info-list { margin-top: 10px; display: grid; gap: 2px; }
.personal-info-list > div { display: grid; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.personal-info-list > div:last-child { border: 0; }
.personal-info-list > div > .material-symbols-rounded { display: grid; width: 31px; height: 31px; place-items: center; color: var(--burgundy); border-radius: 9px; background: var(--burgundy-soft); font-size: 16px; }
.personal-info-list p { display: grid; gap: 2px; margin: 0; }
.personal-info-list small { color: var(--muted); font-size: 7px; }
.personal-info-list strong { font-size: 8px; line-height: 1.45; }
.menu-group { margin-top: 17px; }
.menu-group > p { margin: 0 0 7px; color: #968c8f; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.menu-group > button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: none; text-align: left; }
.menu-icon { width: 34px; height: 34px; border-radius: 10px; }
.menu-icon .material-symbols-rounded { font-size: 18px; }
.menu-group > button > span:nth-child(2) { display: grid; gap: 2px; }
.menu-group strong { font-size: 9px; }
.menu-group small { color: var(--muted); font-size: 7px; }
.menu-group > button > .material-symbols-rounded:last-child { color: #aaa0a3; font-size: 17px; }
.logout-button { width: 100%; margin-top: 23px; padding: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(125,24,48,.15); border-radius: 10px; color: var(--burgundy); background: var(--burgundy-soft); font-size: 9px; font-weight: 800; }
.logout-button .material-symbols-rounded { font-size: 16px; }
.app-version { margin: 15px 0 0; color: #b0a7a9; text-align: center; font-size: 7px; }

.bottom-nav { position: absolute; z-index: 25; right: 0; bottom: 0; left: 0; height: 78px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,253,251,.95); backdrop-filter: blur(14px); }
.bottom-nav button { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; padding: 0; border: 0; color: #9c9295; background: none; }
.bottom-nav button > .material-symbols-rounded { font-size: 21px; }
.bottom-nav small { font-size: 7px; font-weight: 700; }
.bottom-nav button.active { color: var(--burgundy); }
.bottom-nav button.active > .material-symbols-rounded { font-variation-settings: "FILL" 1; }
.bottom-nav button.active::after { content: ""; position: absolute; top: -8px; width: 22px; height: 2px; border-radius: 3px; background: var(--burgundy); }
.bottom-nav .shop-nav > span { display: grid; width: 43px; height: 43px; margin-top: -23px; place-items: center; border: 4px solid var(--paper); border-radius: 50%; color: #fff; background: var(--burgundy); box-shadow: 0 8px 16px rgba(125,24,48,.25); }
.bottom-nav .shop-nav .material-symbols-rounded { font-size: 21px; }
.bottom-nav .shop-nav.active::after { display: none; }

.overlay { position: fixed; z-index: 199; inset: 0; opacity: 0; pointer-events: none; background: rgba(31,18,22,.48); backdrop-filter: blur(3px); transition: opacity .22s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 200; left: 50%; bottom: 0; width: min(520px, 100%); max-height: 76vh; padding: 11px 22px 26px; overflow: auto; border-radius: 24px 24px 0 0; background: var(--paper); box-shadow: 0 -20px 60px rgba(39,20,26,.2); transform: translate(-50%, 110%); transition: transform .3s cubic-bezier(.22,.9,.3,1); }
.drawer.show { transform: translate(-50%, 0); }
.drawer-handle { width: 42px; height: 4px; margin: 0 auto 16px; border-radius: 4px; background: #dfd7d8; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.drawer-header h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 20px; }
.drawer-header button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.drawer-header button .material-symbols-rounded { font-size: 18px; }
.notification-list { margin-top: 14px; }
.notification-list > div { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.notification-list > .unread::after { content: ""; position: absolute; width: 6px; height: 6px; top: 16px; right: 0; border-radius: 50%; background: #e43f5f; }
.notice-icon { width: 38px; height: 38px; border-radius: 12px; }
.notice-icon .material-symbols-rounded { font-size: 19px; }
.notification-list p { display: grid; gap: 3px; margin: 0; }
.notification-list strong { font-size: 11px; }
.notification-list small { max-width: 340px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.notification-list time { color: #aaa1a3; font-size: 8px; }
.cart-list { margin-top: 13px; display: grid; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item-art { display: grid; place-items: center; border-radius: 12px; background: var(--surface); font-size: 28px; }
.cart-item p { display: grid; align-content: center; gap: 3px; margin: 0; }
.cart-item strong { font-size: 10px; }
.cart-item small { color: var(--muted); font-size: 8px; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--burgundy); background: #fff; font-size: 12px; }
.qty-control span { min-width: 10px; text-align: center; font-size: 10px; font-weight: 800; }
.cart-summary { margin-top: 15px; display: grid; gap: 7px; }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 10px; }
.cart-summary > div span { color: var(--muted); }
.cart-summary .positive { color: var(--green); }
.cart-summary > button { margin-top: 7px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; color: #fff; background: var(--burgundy); font-size: 10px; font-weight: 800; }
.cart-summary > button .material-symbols-rounded { font-size: 16px; }

.modal { position: fixed; z-index: 210; top: 50%; left: 50%; width: min(360px, calc(100% - 32px)); max-height: calc(100vh - 30px); padding: 24px; overflow: auto; opacity: 0; pointer-events: none; border-radius: 22px; background: var(--paper); box-shadow: 0 24px 70px rgba(43,20,27,.25); text-align: center; transform: translate(-50%, -44%) scale(.96); transition: .22s ease; }
.modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-icon { width: 58px; height: 58px; display: grid; margin: 0 auto 13px; place-items: center; color: var(--burgundy); border-radius: 17px; background: var(--burgundy-soft); }
.modal-icon .material-symbols-rounded { font-size: 30px; }
.modal h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 19px; }
.modal > p { margin: 7px auto 15px; max-width: 280px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.modal-points { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 12px; background: var(--surface); font-size: 9px; }
.modal-points span { color: var(--muted); }
.modal-points strong { color: var(--burgundy); }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.modal-actions button { padding: 10px; border-radius: 10px; font-size: 9px; font-weight: 800; }
.modal-actions .secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.modal-actions .primary { border: 0; color: #fff; background: var(--burgundy); }
.member-barcode-modal { width: min(390px, calc(100% - 26px)); padding: 0 22px 22px; }
.member-barcode-modal::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; left: 0; height: 76px; background: linear-gradient(135deg, #691328, #941f3c); }
.member-card-head { height: 76px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.member-card-head > div { display: flex; align-items: center; gap: 6px; font-family: "Manrope", sans-serif; font-size: 10px; letter-spacing: .1em; }
.member-card-head .material-symbols-rounded { font-size: 16px; }
.member-card-head > span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.1); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.member-barcode-modal > .eyebrow { margin-top: 19px; text-align: center; }
.member-barcode-modal > h3 { font-size: 18px; text-align: center; }
.member-barcode-modal > p:not(.eyebrow) { margin-bottom: 13px; text-align: center; }
.barcode-panel { padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(56,28,37,.06); text-align: center; }
.barcode-panel canvas { display: block; width: 100%; height: 92px; image-rendering: pixelated; }
.barcode-panel > strong { display: block; margin-top: 5px; font-family: "Manrope", sans-serif; font-size: 11px; letter-spacing: .18em; }
.barcode-panel > small { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }
.barcode-panel > small b { color: var(--ink); }
.barcode-steps { margin-top: 13px; display: grid; gap: 7px; text-align: left; }
.barcode-steps > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.barcode-steps > div > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: var(--burgundy); background: var(--burgundy-soft); font-size: 8px; font-weight: 800; }
.barcode-steps p { display: grid; gap: 1px; margin: 0; }
.barcode-steps strong { font-size: 8px; }
.barcode-steps small { color: var(--muted); font-size: 7px; }
.barcode-status { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 11px; color: var(--green); background: #edf8f3; text-align: left; }
.barcode-status > .material-symbols-rounded { font-size: 18px; }
.barcode-status p { display: grid; gap: 1px; margin: 0; }
.barcode-status strong { font-size: 8px; }
.barcode-status small { color: #5d8874; font-size: 7px; }
.barcode-close { width: 100%; margin-top: 12px; padding: 10px; border: 0; border-radius: 10px; color: #fff; background: var(--burgundy); font-size: 9px; font-weight: 800; }
.login-modal { padding: 27px; text-align: left; }
.login-modal > img { width: 78px; height: 45px; margin-bottom: 14px; object-fit: contain; object-position: left; }
.login-modal > p { max-width: none; margin: 7px 0 18px; }
.login-modal .eyebrow { margin: 0 0 5px; }
.login-method-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 12px; padding: 3px; border-radius: 11px; background: #efe9e7; }
.login-method-switch button { padding: 8px 5px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 9px; color: var(--muted); background: none; font-size: 8px; font-weight: 800; }
.login-method-switch button .material-symbols-rounded { font-size: 15px; }
.login-method-switch button.active { color: #fff; background: var(--burgundy); box-shadow: 0 5px 12px rgba(125,24,48,.18); }
.login-method-panel { animation: screenIn .22s ease both; }
.login-modal .form-field { display: grid; gap: 5px; margin-top: 10px; color: var(--ink); font-size: 8px; font-weight: 800; }
.login-modal .form-field > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.login-modal .form-field .material-symbols-rounded { color: #9d9295; font-size: 17px; }
.login-modal input { width: 100%; padding: 8px 0; border: 0; outline: 0; font-size: 10px; }
.login-modal .form-field button { display: grid; padding: 0; border: 0; background: none; }
.barcode-scanner-demo { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #faf7f6; text-align: center; }
.scanner-corners { position: relative; width: 100%; height: 85px; display: grid; place-items: center; margin-bottom: 9px; overflow: hidden; border-radius: 10px; background: #fff; }
.scanner-corners::before, .scanner-corners::after { content: ""; position: absolute; inset: 10px; border-color: var(--burgundy); border-style: solid; }
.scanner-corners::before { border-width: 2px 0; }
.scanner-corners::after { border-width: 0 2px; }
.scanner-corners .material-symbols-rounded { color: #3e3437; font-size: 52px; font-variation-settings: "FILL" 0, "wght" 300; }
.scanner-corners i { position: absolute; z-index: 2; right: 13px; left: 13px; height: 2px; background: #df3153; box-shadow: 0 0 8px #df3153; animation: scannerLine 2s ease-in-out infinite; }
@keyframes scannerLine { 0%,100% { top: 18px; } 50% { top: 66px; } }
.barcode-scanner-demo > strong { display: block; font-size: 9px; }
.barcode-scanner-demo > small { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }
.scan-simulation { width: 100%; margin-top: 9px; padding: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 9px; color: #fff; background: var(--burgundy); font-size: 8px; font-weight: 800; }
.scan-simulation .material-symbols-rounded { font-size: 15px; }
.manual-code-divider { position: relative; margin: 14px 0 0; border-top: 1px solid var(--line); text-align: center; }
.manual-code-divider span { position: relative; top: -8px; padding: 0 7px; color: #a59b9e; background: var(--paper); font-size: 7px; }
.login-modal .compact-field { margin-top: 0; }
.login-submit, .register { width: 100%; padding: 11px; border-radius: 10px; font-size: 9px; font-weight: 800; }
.login-submit { margin-top: 14px; border: 0; color: #fff; background: var(--burgundy); }
.forgot { width: 100%; margin-top: 10px; padding: 0; border: 0; color: var(--burgundy); background: none; font-size: 8px; font-weight: 700; }
.login-divider { position: relative; margin: 15px 0; border-top: 1px solid var(--line); text-align: center; }
.login-divider span { position: relative; top: -8px; padding: 0 8px; color: #aaa0a3; background: var(--paper); font-size: 7px; }
.register { border: 1px solid rgba(125,24,48,.17); color: var(--burgundy); background: var(--burgundy-soft); }
.demo-note { margin-top: 14px; display: flex; align-items: flex-start; gap: 5px; color: #9f9598; font-size: 7px; line-height: 1.4; }
.demo-note .material-symbols-rounded { margin-top: 1px; font-size: 12px; }
.registration-modal { width: min(430px, calc(100% - 26px)); padding: 22px; text-align: left; }
.registration-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.registration-head .modal-icon { width: 44px; height: 44px; margin: 0; border-radius: 13px; }
.registration-head .modal-icon .material-symbols-rounded { font-size: 23px; }
.registration-head .eyebrow { margin-bottom: 3px; }
.registration-head h3 { font-size: 17px; }
.registration-head > button { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; }
.registration-head > button .material-symbols-rounded { font-size: 17px; }
.registration-copy { margin: 10px 0 12px !important; font-size: 8px !important; }
.registration-modal .form-field { display: grid; gap: 5px; margin-top: 9px; color: var(--ink); font-size: 8px; font-weight: 800; }
.registration-modal .form-field > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.registration-modal .form-field .material-symbols-rounded { color: #9d9295; font-size: 16px; }
.registration-modal input, .registration-modal select, .registration-modal textarea { width: 100%; min-width: 0; padding: 7px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 9px; font-family: inherit; resize: none; appearance: none; }
.registration-modal .textarea-field { align-items: start !important; }
.registration-modal .textarea-field > .material-symbols-rounded { margin-top: 7px; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.registration-submit { width: 100%; margin-top: 13px; padding: 11px; border: 0; border-radius: 10px; color: #fff; background: var(--burgundy); font-size: 9px; font-weight: 800; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; max-width: calc(100% - 30px); display: flex; align-items: center; gap: 8px; padding: 10px 14px; opacity: 0; pointer-events: none; color: #fff; border-radius: 11px; background: #292324; box-shadow: 0 10px 30px rgba(0,0,0,.2); transform: translate(-50%, 15px); transition: .22s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .material-symbols-rounded { color: #85d2aa; font-size: 18px; }
.toast p { margin: 0; font-size: 9px; }

@media (max-width: 900px) {
  body { background: var(--paper); }
  .prototype-note { top: 8px; max-width: calc(100% - 16px); }
  .prototype-note > span:nth-child(2), .prototype-note strong { display: none; }
  .app-shell { width: 100%; min-height: 100vh; margin: 0; display: block; border: 0; border-radius: 0; box-shadow: none; }
  .side-panel { display: none; }
  .app { width: 100%; height: 100vh; min-height: 620px; padding-top: 42px; }
  .app-header { top: 42px; }
  .screen { padding-top: 126px; }
}

@media (max-width: 400px) {
  .app-header, .screen { padding-left: 18px; padding-right: 18px; }
  .quick-actions { gap: 4px; }
  .promo-strip { grid-auto-columns: 94%; }
  .product-row { grid-auto-columns: 46%; }
}

@media (min-width: 901px) {
  .overlay { left: auto; width: 520px; right: calc((100vw - min(1180px, calc(100vw - 40px))) / 2); }
  .drawer { left: auto; right: calc((100vw - min(1180px, calc(100vw - 40px))) / 2); transform: translate(0, 110%); }
  .drawer.show { transform: translate(0, 0); }
  .modal { margin-left: 270px; }
  .toast { margin-left: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Tampilan pelanggan pada member.aldofrozenfood.com */
html.customer-site body { min-height: 100vh; background: linear-gradient(145deg, #f8f1ef 0%, #eee6e4 100%); }
html.customer-site .prototype-note,
html.customer-site .side-panel,
html.customer-site .persona-switch-card { display: none; }
html.customer-site .app-shell { width: min(480px, 100%); min-height: 100vh; margin: 0 auto; display: block; border: 0; border-radius: 0; box-shadow: 0 20px 65px rgba(61,27,37,.13); }
html.customer-site .app { width: 100%; height: 100vh; min-height: 620px; padding-top: 0; }
html.customer-site .app-header { top: 0; }
html.customer-site .screen { padding-top: 88px; }
html.customer-site .overlay { inset: 0; width: auto; }
html.customer-site .modal,
html.customer-site .toast { margin-left: 0; }
html.customer-site .drawer { left: 50%; right: auto; width: min(480px, 100%); transform: translate(-50%, 110%); }
html.customer-site .drawer.show { transform: translate(-50%, 0); }

@media (min-width: 600px) {
  html.customer-site .app-shell { min-height: calc(100vh - 32px); height: calc(100vh - 32px); margin: 16px auto; border: 1px solid rgba(125,24,48,.1); border-radius: 28px; overflow: hidden; }
  html.customer-site .app { height: 100%; min-height: 640px; }
}

@media (max-width: 599px) {
  html.customer-site body { background: var(--paper); }
  html.customer-site .app-shell { box-shadow: none; }
}
