/* v3.13 member app look (see festive.js). Used by the member app and the back office preview. */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx .dc { position: absolute; font-style: normal; opacity: .9; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.fx .fl { position: absolute; top: -20px; font-style: normal; opacity: .85; animation: fest-fall linear infinite; }
@keyframes fest-fall { 0% { transform: translateY(-20px) rotate(0); } 100% { transform: translateY(260px) translateX(18px) rotate(220deg); opacity: .1; } }
@media (prefers-reduced-motion: reduce) { .fx .fl { display: none; } }
.fest-hero { position: relative; overflow: hidden; }
.fest-hero > :not(.fx) { position: relative; z-index: 1; }
.fest-greet { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: var(--accent, #fff); font-weight: 700; font-size: 13.5px; backdrop-filter: blur(2px); }

/* hero slider */
.hs { position: relative; margin-top: 16px; border-radius: 18px; overflow: hidden; background: #e5e7eb; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.hs-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-s { flex: 0 0 100%; scroll-snap-align: start; position: relative; aspect-ratio: 2 / 1; display: block; color: #fff; text-decoration: none; }
.hs-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hs-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.62)); display: flex; flex-direction: column; gap: 2px; }
.hs-cap b { font-size: 17px; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.hs-cap span { font-size: 13px; opacity: .92; }
.hs-dots { position: absolute; right: 10px; top: 10px; display: flex; gap: 5px; }
.hs-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s; }
.hs-dots i.on { width: 18px; border-radius: 4px; background: #fff; }

/* featured products */
.fp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fp-head .link { font-size: 14px; white-space: nowrap; }
.fp-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.fp-row::-webkit-scrollbar { display: none; }
.fp-c { flex: 0 0 136px; scroll-snap-align: start; background: var(--card, #fff); border: 1px solid var(--line, #e2e8e5); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.fp-img { aspect-ratio: 1; background: color-mix(in srgb, var(--brand) 10%, #fff); display: grid; place-items: center; position: relative; color: var(--brand); font-size: 34px; font-weight: 800; }
.fp-img img { width: 100%; height: 100%; object-fit: cover; }
.fp-img em { position: absolute; left: 6px; top: 6px; background: var(--brand); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.fp-b { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.fp-n { font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.fp-p { font-weight: 800; color: var(--brand); margin-top: auto; }
.fp-m { font-size: 12px; font-weight: 700; color: var(--ok, #15803d); }
.fp-j { font-size: 11px; color: var(--muted, #66756f); }
/* v3.18 flags (Merdeka, Kaamatan) drawn as pictures */
svg.flag { width: 1.5em; height: .75em; display: inline-block; vertical-align: middle; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
