/* /plugins/activity-popups/assets/css/popups.css */
/* Live Activity Popups: one small note at a time in a bottom corner, in the
   theme's own colours (--paper, --ink, --rule, --theme-600). "start" is the
   reading side's corner, so it flips in right-to-left languages. On a phone
   it spans the width above the bottom bar (--appop-lift, set by the script
   from the bar's height). Long names and words wrap rather than being cut. */
.appop{position:fixed;z-index:45;bottom:calc(var(--appop-lift, 0px) + 16px + env(safe-area-inset-bottom, 0px));inset-inline-start:16px;width:min(360px, calc(100vw - 32px));pointer-events:none}
.appop[data-pos="end"]{inset-inline-start:auto;inset-inline-end:16px}
.appop-live{display:block}
.appop-toast{pointer-events:auto;position:relative;display:flex;align-items:flex-start;gap:12px;padding:12px 40px 12px 12px;padding-inline:12px 40px;border:1px solid var(--rule, rgba(15,23,42,.12));border-radius:14px;background:var(--paper, #fff);color:var(--ink, #0f172a);box-shadow:0 12px 32px rgba(0,0,0,.18);opacity:0;transform:translateY(12px);transition:opacity .28s ease, transform .28s ease}
.appop-toast.is-in{opacity:1;transform:none}
.appop-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:10px;background:var(--paper-2, rgba(15,23,42,.05));color:var(--theme-600, #4f46e5);font-size:20px;overflow:hidden}
.appop-icon img{display:block;width:100%;height:100%;object-fit:cover}
.appop-body{display:flex;flex-direction:column;gap:3px;min-width:0;color:inherit;text-decoration:none}
a.appop-body:hover .appop-line strong,a.appop-body:focus-visible .appop-line strong{color:var(--theme-600, #4f46e5);text-decoration:underline}
a.appop-body:focus-visible{outline:2px solid var(--theme-600, #4f46e5);outline-offset:3px;border-radius:6px}
.appop-line{margin:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.appop-line strong{font-weight:700}
.appop-meta{margin:0;font-size:12px;line-height:1.35;color:var(--ink-soft, #64748b);overflow-wrap:anywhere}
.appop-close{position:absolute;top:6px;inset-inline-end:6px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft, #64748b);font-size:15px;cursor:pointer}
.appop-close:hover{color:var(--theme-600, #4f46e5);background:var(--paper-2, rgba(15,23,42,.06))}
.appop-close:focus-visible{outline:2px solid var(--theme-600, #4f46e5);outline-offset:1px}
@media (max-width:639px){
  .appop,.appop[data-pos="end"]{inset-inline:8px;width:auto;bottom:calc(var(--appop-lift, 0px) + 8px + env(safe-area-inset-bottom, 0px))}
  .appop-icon{width:40px;height:40px;font-size:17px}
  .appop-line{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){
  .appop-toast{transition:none;transform:none}
}
@media print{.appop{display:none}}

/* /plugins/rewards-store/assets/css/page.css */
/* Rewards Store: the customer's pages and the homepage row. Cards are the
   theme's own ed-card and buttons its ed-btn-primary; other tones follow
   the text colour and the theme's --theme-* scale, so each theme keeps its
   look in light and dark. */
.rws-page{box-sizing:border-box;width:100%;max-width:1080px;margin:0 auto;padding:24px 16px 48px;display:flex;flex-direction:column;gap:18px}
.rws-page *,.rws-home *{box-sizing:border-box}
.rws-head{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}
.rws-head-main{flex:1 1 240px;min-width:0}
.rws-head h1,.rws-hero h1{margin:0 0 4px;font-size:clamp(22px,4vw,30px);font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.rws-head p{margin:0;line-height:1.5;opacity:.8}
.rws-head-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;font-size:20px;color:var(--theme-600,#4f46e5);background:color-mix(in srgb,currentColor 8%,transparent)}
.dark .rws-head-icon{color:var(--theme-400,#818cf8)}
.rws-balance{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:12px;background:color-mix(in srgb,currentColor 6%,transparent);font-size:13px}
.rws-balance b{font-size:18px}
.rws-link{font-weight:600;color:var(--theme-600,#4f46e5);text-decoration:none}
.dark .rws-link{color:var(--theme-400,#818cf8)}
.rws-back{margin:0}
.rws-muted{font-size:13.5px;line-height:1.5;opacity:.75;margin:0}

.rws-filters{display:flex;flex-wrap:wrap;gap:8px}
.rws-filter{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);font-size:14px;font-weight:600;color:inherit;text-decoration:none}
.rws-filter[aria-current]{background:var(--theme-600,#4f46e5);border-color:var(--theme-600,#4f46e5);color:#fff}

.rws-empty{margin:0;padding:20px}
.rws-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.rws-card{margin:0;border-radius:16px;overflow:hidden;border:1px solid color-mix(in srgb,currentColor 12%,transparent);background:color-mix(in srgb,currentColor 3%,transparent)}
.rws-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.rws-card-link:focus-visible{outline:2px solid var(--theme-600,#4f46e5);outline-offset:2px}
.rws-card-img{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:color-mix(in srgb,var(--theme-600,#4f46e5) 10%,transparent);color:var(--theme-600,#4f46e5);font-size:36px}
.rws-card-img img{width:100%;height:100%;object-fit:cover}
.rws-card-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
.rws-card-title{margin:0;font-size:16px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.rws-card-cost{font-size:15px;font-weight:800;color:var(--theme-700,#4338ca)}
.dark .rws-card-cost{color:var(--theme-300,#a5b4fc)}
.rws-card-left{font-size:12.5px;opacity:.7}

.rws-chip{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;min-height:22px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:700;background:color-mix(in srgb,currentColor 10%,transparent)}
.rws-chip.is-physical{background:rgba(245,158,11,.16);color:#b45309}
.rws-chip.is-code{background:rgba(16,185,129,.15);color:#047857}
.rws-chip.is-coupon{background:rgba(236,72,153,.14);color:#be185d}
.dark .rws-chip.is-physical{color:#fbbf24}
.dark .rws-chip.is-code{color:#6ee7b7}
.dark .rws-chip.is-coupon{color:#f9a8d4}

.rws-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;padding:20px}
@media (max-width:760px){.rws-hero{grid-template-columns:1fr}}
.rws-hero-img{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:color-mix(in srgb,var(--theme-600,#4f46e5) 10%,transparent);color:var(--theme-600,#4f46e5);font-size:56px}
.rws-hero-img img{width:100%;height:100%;object-fit:cover}
.rws-hero-main{display:flex;flex-direction:column;gap:10px;min-width:0}
.rws-cost{margin:0;font-size:22px;font-weight:800;color:var(--theme-700,#4338ca)}
.dark .rws-cost{color:var(--theme-300,#a5b4fc)}
.rws-desc{margin:0;line-height:1.6}
.rws-how{margin:0;font-size:14px;line-height:1.5;opacity:.85}
.rws-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0}
.rws-facts div{min-width:0}
.rws-facts dt{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.65}
.rws-facts dd{margin:2px 0 0;font-weight:700;font-size:14px;overflow-wrap:anywhere}
.rws-redeem{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0}
.rws-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding-left:22px;padding-right:22px;text-decoration:none;text-align:center}
.rws-why{margin:0;padding:12px 14px;border-radius:10px;background:color-mix(in srgb,currentColor 7%,transparent);font-weight:600}
.rws-flash{margin:0;padding:12px 14px;border-radius:10px;font-size:14px}
.rws-flash--ok{background:rgba(16,185,129,.12);color:#047857}
.rws-flash--error{background:rgba(239,68,68,.12);color:#b91c1c}
.dark .rws-flash--ok{color:#6ee7b7}
.dark .rws-flash--error{color:#fca5a5}

.rws-mine{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.rws-mine-row{display:flex;flex-direction:column;gap:6px;margin:0;padding:16px}
.rws-mine-row.is-cancelled{opacity:.7}
.rws-mine-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px}
.rws-mine-title{margin:0;font-size:17px;font-weight:700;overflow-wrap:anywhere}
.rws-code-wrap{display:flex;flex-direction:column;gap:4px;margin:4px 0 0}
.rws-code-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.65}
.rws-code{display:block;padding:10px 12px;border-radius:10px;border:1px dashed color-mix(in srgb,currentColor 30%,transparent);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;font-weight:700;overflow-wrap:anywhere;word-break:break-all;user-select:all}

.rws-home{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:24px 16px}
.rws-home-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;margin-bottom:14px}
.rws-home-title{margin:0;font-size:clamp(20px,3vw,26px);font-weight:800;overflow-wrap:anywhere}
@media (max-width:480px){.rws-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rws-card-body{padding:10px}.rws-card-title{font-size:14.5px}}

