.points-store-page {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  color: #f8f3e8;
  background: linear-gradient(125deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 28px 28px, #0b0a09;
}
.points-store-page::before { position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .18; background: radial-gradient(circle at center, transparent 0 35%, #000 90%); }
.points-store-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; filter: blur(10px); opacity: .24; }
.points-store-glow--one { top: -260px; right: -100px; background: radial-gradient(circle, #eb466b, transparent 68%); }
.points-store-glow--two { bottom: 0; left: -260px; background: radial-gradient(circle, #d6a941, transparent 68%); }

.points-store-nav { position: relative; z-index: 3; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; min-height: 70px; padding: max(10px, env(safe-area-inset-top)) 18px 8px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(8,7,7,.74); backdrop-filter: blur(18px); }
.points-store-nav > button { width: 44px; height: 44px; color: #fff; font-size: 34px; }
.points-store-brand { display: flex; align-items: baseline; gap: 8px; justify-self: center; }
.points-store-brand > span { display: grid; width: 34px; height: 34px; place-items: center; color: #0b0905; border-radius: 10px 2px 10px 2px; background: linear-gradient(145deg, #f3d987, #a97018); font: 900 11px/1 Georgia, serif; }
.points-store-brand strong { font: italic 700 22px/1 "Iowan Old Style", Georgia, serif; }
.points-store-brand small { color: #e55372; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.points-balance-pill { display: none; }

.points-store-shell { position: relative; z-index: 2; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 120px; }
.points-store-intro { max-width: 680px; margin-bottom: 42px; }
.points-store-intro > p { margin: 0 0 12px; color: #d9ae58; font-size: 10px; font-weight: 900; letter-spacing: .22em; }
.points-store-intro h1 { margin: 0; color: #fff; font: 500 clamp(42px, 8vw, 82px)/.88 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.045em; }
.points-store-intro h1 em { color: #e84d70; font-weight: 500; }
.points-store-intro > span { display: block; max-width: 56ch; margin-top: 22px; color: rgba(255,255,255,.56); font-size: 14px; line-height: 1.65; }
.points-mobile-balance { display: inline-grid; gap: 2px; margin-top: 18px; padding: 9px 13px; border: 1px solid rgba(232,189,91,.18); border-radius: 999px; background: rgba(232,189,91,.07); }
.points-mobile-balance small { color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.points-mobile-balance strong { color: #e8bd5b; font-size: 12px; }

.points-pack-section, .points-membership-section, .points-channel-section, .points-order-section { margin-top: 34px; }
.points-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.points-section-heading > div { display: flex; align-items: center; gap: 12px; }
.points-section-heading > div > span { color: #d8ad4a; font: 700 11px/1 Georgia, serif; }
.points-section-heading h2 { margin: 0; color: #fff; font: 500 22px/1.1 "Iowan Old Style", Georgia, serif; }
.points-section-heading > small { color: rgba(255,255,255,.38); font-size: 11px; text-align: right; }

.points-pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.points-pack-card { position: relative; min-width: 0; min-height: 176px; overflow: hidden; padding: 25px 18px 18px; color: #fff; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.points-pack-card:hover { transform: translateY(-2px); border-color: rgba(231,195,105,.44); }
.points-pack-card.is-selected { border-color: #e8bd5b; background: linear-gradient(145deg, rgba(219,166,63,.16), rgba(255,255,255,.035)); box-shadow: 0 18px 50px rgba(0,0,0,.28), inset 0 0 0 1px rgba(235,198,107,.18); }
.points-pack-label { display: block; margin-bottom: 13px; color: rgba(255,255,255,.48); font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.points-pack-card > strong { display: block; color: #fff; font: 500 clamp(27px, 6vw, 42px)/1 "Iowan Old Style", Georgia, serif; letter-spacing: -.03em; }
.points-pack-card > strong small { color: rgba(255,255,255,.64); font: 600 11px/1 var(--font-family); letter-spacing: 0; }
.points-pack-price { display: flex; align-items: baseline; gap: 8px; margin-top: 13px; }
.points-pack-price span { font-size: 17px; font-weight: 800; }
.points-pack-price del { color: rgba(255,255,255,.3); font-size: 11px; }
.points-pack-value { display: block; margin-top: 6px; color: rgba(255,255,255,.42); font-size: 10px; }
.points-sale-ribbon { position: absolute; top: 0; left: 0; padding: 5px 11px; color: #130b0d; border-radius: 0 0 10px 0; background: linear-gradient(90deg, #e6486c, #f18c72); font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.points-hot-badge { position: absolute; top: 14px; right: 14px; color: #f16380; font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.points-pack-check { position: absolute; right: 14px; bottom: 14px; display: grid; width: 22px; height: 22px; place-items: center; color: #111; border-radius: 50%; background: #e8bd5b; font-size: 12px; font-style: normal; opacity: 0; transform: scale(.7); transition: .18s ease; }
.points-pack-card.is-selected .points-pack-check { opacity: 1; transform: scale(1); }

.points-membership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.points-membership-card { position: relative; display: grid; min-width: 0; min-height: 180px; align-content: center; gap: 7px; overflow: hidden; padding: 22px 18px; color: #fff; border: 1px solid rgba(225,190,103,.18); border-radius: 16px; background: linear-gradient(145deg, rgba(79,65,37,.5), rgba(35,30,22,.62)); text-align: left; }
.points-membership-card:hover { border-color: rgba(235,204,126,.5); }
.points-membership-card.is-selected { border-color: #e8bd5b; box-shadow: inset 0 0 0 1px rgba(232,189,91,.16), 0 20px 50px rgba(0,0,0,.22); }
.points-membership-card > span:not(.points-membership-best) { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.points-membership-card > strong { font: 600 34px/1.1 "Iowan Old Style", Georgia, serif; }
.points-membership-card > small { color: rgba(255,255,255,.43); font-size: 10px; }
.points-membership-card > em { color: #f1d486; font-size: 12px; font-style: normal; }
.points-membership-card > i { position: absolute; right: 14px; bottom: 14px; display: grid; width: 22px; height: 22px; place-items: center; color: #111; border-radius: 50%; background: #e8bd5b; font-size: 12px; font-style: normal; opacity: 0; transform: scale(.7); transition: .18s ease; }
.points-membership-card.is-selected > i { opacity: 1; transform: scale(1); }
.points-membership-best { position: absolute; top: 0; right: 0; padding: 5px 10px; color: #1a1105; border-radius: 0 0 0 10px; background: #e8bd5b; font-size: 8px; font-weight: 950; letter-spacing: .1em; }
.points-membership-note { margin: 11px 0 0; color: rgba(255,255,255,.38); font-size: 10px; line-height: 1.5; }
.points-current-membership { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; padding: 11px 14px; color: #dff9e9; border: 1px solid rgba(113,212,158,.25); border-radius: 12px; background: rgba(113,212,158,.075); font-size: 11px; }
.points-current-membership span { font-weight: 800; }
.points-current-membership strong { font-size: 10px; }

.points-channel-card { position: relative; display: flex; width: min(100%, 390px); min-height: 108px; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid #e84d70; border-radius: 16px; background: rgba(255,255,255,.035); }
.points-channel-card > div:first-child { display: grid; gap: 7px; }
.points-channel-card strong { font: 600 25px/1 "Iowan Old Style", Georgia, serif; }
.points-channel-recommend { position: absolute; top: -11px; left: 14px; padding: 4px 10px; color: #fff; border-radius: 999px; background: #e84d70; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.points-card-brands { display: flex; flex-wrap: wrap; gap: 4px; }
.points-card-brands span { padding: 3px 5px; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.18); border-radius: 4px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.points-channel-card > i { color: #e8bd5b; font-style: normal; }

.points-checkout-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 34px; padding: 23px 25px; border: 1px solid rgba(232,189,91,.24); border-radius: 18px; background: linear-gradient(120deg, rgba(232,189,91,.1), rgba(255,255,255,.035)); }
.points-checkout-panel > div { display: grid; gap: 3px; }
.points-checkout-panel > div > span { color: rgba(255,255,255,.44); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.points-checkout-panel > div > strong { font: 500 24px/1.2 "Iowan Old Style", Georgia, serif; }
.points-checkout-panel > div > small { color: rgba(255,255,255,.47); font-size: 11px; }
.points-checkout-panel button { display: flex; min-width: 240px; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 20px; color: #160c0e; border-radius: 999px; background: linear-gradient(100deg, #e84d70, #f0a46f); font-size: 14px; font-weight: 850; box-shadow: 0 12px 34px rgba(232,77,112,.22); }
.points-checkout-panel button:disabled { opacity: .46; cursor: wait; }
.points-checkout-panel button span { font-size: 20px; }
.points-store-message { margin: 14px 0 0; color: #ffb6c5; font-size: 12px; }
.points-store-loading { grid-column: 1 / -1; padding: 44px; color: rgba(255,255,255,.5); text-align: center; }

.points-order-list { display: grid; gap: 8px; }
.points-order-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.points-order-row > div { display: grid; gap: 3px; }
.points-order-row small { color: rgba(255,255,255,.4); font-size: 10px; }
.points-order-row > span { padding: 4px 8px; color: #d9bc73; border-radius: 999px; background: rgba(217,188,115,.1); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.points-order-row > span[data-status="PAID"] { color: #71d49e; background: rgba(113,212,158,.1); }
.points-order-row a { color: #f08aa1; font-size: 11px; text-decoration: underline; }

.profile-account-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-points-button { display: inline-flex; align-items: center; justify-content: center; color: #161008; border-color: transparent; background: #d9b66f; font-weight: 800; }
.profile-membership-active { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 9px 12px; color: #e9d18e; border: 1px solid rgba(217,182,111,.22); border-radius: 11px; background: rgba(217,182,111,.07); font-size: 10px; }
.profile-membership-active span { font-weight: 850; }
.profile-membership-active strong { color: rgba(255,255,255,.6); }

@media (max-width: 620px) {
  .points-store-nav { grid-template-columns: 44px 1fr 44px; padding-right: 12px; padding-left: 12px; }
  .points-store-brand strong { font-size: 18px; }
  .points-store-brand small { display: none; }
  .points-store-shell { width: min(100% - 24px, 540px); padding-top: 32px; }
  .points-store-intro { margin-bottom: 34px; }
  .points-store-intro h1 { font-size: clamp(42px, 15vw, 64px); }
  .points-store-intro > span { font-size: 12px; }
  .points-section-heading { align-items: start; flex-direction: column; gap: 6px; }
  .points-section-heading > small { text-align: left; }
  .points-pack-card { min-height: 168px; padding: 24px 13px 14px; }
  .points-pack-card > strong { font-size: clamp(25px, 7.7vw, 34px); }
  .points-membership-card { min-height: 164px; padding: 18px 13px; }
  .points-membership-card > strong { font-size: 28px; }
  .points-checkout-panel { position: sticky; z-index: 5; bottom: 10px; align-items: stretch; flex-direction: column; gap: 14px; padding: 16px; backdrop-filter: blur(18px); }
  .points-checkout-panel button { width: 100%; min-width: 0; }
  .points-order-row { grid-template-columns: 1fr auto; }
  .points-order-row a { grid-column: 1 / -1; }
}

@media (min-width: 820px) {
  .points-store-nav { grid-template-columns: 1fr auto 1fr; padding-right: 32px; padding-left: 32px; }
  .points-store-nav > button { justify-self: start; }
  .points-balance-pill { display: flex; align-items: center; gap: 10px; justify-self: end; padding: 8px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.04); }
  .points-balance-pill span { color: rgba(255,255,255,.4); font-size: 10px; text-transform: uppercase; }
  .points-balance-pill strong { color: #e8bd5b; font-size: 13px; }
  .points-mobile-balance { display: none; }
  .points-pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .points-pack-card--popular { grid-column: 3; grid-row: 1 / span 2; display: flex; min-height: 362px; flex-direction: column; justify-content: center; padding: 30px; }
  .points-pack-card--popular > strong { font-size: 55px; }
  .points-pack-card--popular .points-pack-price span { font-size: 27px; }
  .points-membership-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) { .points-pack-card, .points-pack-check { transition: none; } }

.payment-return-notice { position: fixed; z-index: var(--z-toast, 400); right: 16px; bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; width: min(430px, calc(100% - 32px)); align-items: center; gap: 12px; padding: 14px; color: #fff; border: 1px solid rgba(232,189,91,.3); border-radius: 16px; background: rgba(20,17,15,.94); box-shadow: 0 18px 55px rgba(0,0,0,.5); backdrop-filter: blur(18px); }
.payment-return-notice > i { display: grid; width: 34px; height: 34px; place-items: center; color: #171006; border-radius: 50%; background: #e8bd5b; font-style: normal; font-weight: 900; }
.payment-return-notice[data-tone="pending"] > i { animation: points-notice-spin 1.3s linear infinite; }
.payment-return-notice[data-tone="success"] > i { background: #71d49e; }
.payment-return-notice[data-tone="error"] > i { background: #f0798d; }
.payment-return-notice > div { display: grid; min-width: 0; gap: 2px; }
.payment-return-notice strong { font-size: 13px; }
.payment-return-notice span { overflow: hidden; color: rgba(255,255,255,.56); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.payment-return-notice a { color: #ebc86f; font-size: 11px; font-weight: 800; }
.payment-return-notice button { width: 30px; height: 30px; color: rgba(255,255,255,.5); font-size: 20px; }
@keyframes points-notice-spin { to { transform: rotate(360deg); } }

@media (min-width: 768px) { .payment-return-notice { bottom: 24px; } }
