/* Vendor pages: registration form, vendor dashboard, participant offers */
.gfv { min-height: 100vh; background: var(--gf-green); color: #0a0a0a; }
.gfv-top { background: var(--gf-green); padding: .8rem 0; }
.gfv-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gfv-back { color: #fff; font-size: .85rem; text-decoration: underline; }
.gfv-main { padding: 1rem 16px 3rem; max-width: 760px; }
.gfv-main > h1 { color: #fff; font-size: 1.35rem; line-height: 1.25; margin: .4rem 0 1rem; }
.gfv-card { background: #fff; border-radius: 18px; padding: 1.4rem 1.2rem 1.6rem; box-shadow: 0 16px 44px rgba(0,0,0,.25); margin-bottom: 1rem; }
.gfv-card h2 { font-size: 1.05rem; margin: 1.6rem 0 .2rem; color: var(--gf-green); }
.gfv-card > h2:first-child { margin-top: 0; }
.gfv-card h3 { font-size: .95rem; margin: 1.4rem 0 .2rem; color: var(--gf-green); }
.gfv-card textarea.gf-input { resize: vertical; min-height: 3rem; font-family: inherit; }
.gfv-lead { font-size: .9rem; margin: .3rem 0 .2rem; }
.gfv-note { background: #fffde0; border: 1px solid #e6df6a; border-radius: 12px; padding: .8rem 1rem; margin-top: 1.2rem; font-size: .9rem; }
.gfv-note p { margin: .3rem 0 0; }
.gfv-deal { border: 1px solid #d7e2db; border-radius: 14px; padding: .4rem 1rem 1rem; margin: 1rem 0 0; min-width: 0; }
.gfv-deal legend { font-weight: 700; font-size: .9rem; color: var(--gf-green); padding: 0 .4rem; }
.gfv-deal legend small { font-weight: 400; color: var(--gf-muted); }
.gfv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.gfv-grid .gf-field { min-width: 0; }
.gfv-grid input[readonly] { background: #f1f5f2; }
.gfv-sign { margin-top: 1.2rem; }
.gfv-card .gf-btn { margin-top: 1.4rem; width: 100%; }
.gfv-closed, .gfv-done { text-align: center; }
.gfv-done svg { margin: 0 auto .4rem; display: block; }
@media (max-width: 420px) { .gfv-grid { grid-template-columns: 1fr; } }

/* ---- vendor dashboard ---- */
.gfv-main-wide { max-width: 860px; }
.gfv-dash .gfv-main { padding-top: 1rem; }
.gfv-logout { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .3rem .9rem; font: inherit; font-size: .85rem; cursor: pointer; }
.gfv-loading { color: #fff; }
.gfv-head h2 { margin: 0 0 .2rem; }
.gfv-sub { color: var(--gf-muted); font-size: .88rem; margin: .2rem 0 .8rem; }
.gfv-hint { font-size: .75rem; color: var(--gf-muted); margin-top: .2rem; }
.gfv-grid3 { grid-template-columns: repeat(3, 1fr); }
.gfv-quick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .4rem 0 .2rem; font-size: .85rem; }
.gfv-chip { border: 1px solid var(--gf-green); background: #fff; color: var(--gf-green); border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.gfv-chip:hover { background: var(--gf-lemon); }
.gfv-btn-sm { border: 1px solid #b8c7bf; background: #fff; border-radius: 10px; padding: .35rem .8rem; font: inherit; font-size: .82rem; cursor: pointer; }
.gfv-btn-sm.is-danger { color: #a4221d; border-color: #e3b3b0; }
.gfv-offer { display: flex; align-items: center; gap: .8rem; border: 1px solid #d7e2db; border-radius: 14px; padding: .7rem .8rem; margin-top: .6rem; }
.gfv-offer.is-live { border-color: var(--gf-green); background: #f1fbe9; }
.gfv-offer.is-ended, .gfv-offer.is-cancelled { opacity: .55; }
.gfv-offer-body { flex: 1; min-width: 0; }
.gfv-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.gfv-price { font-weight: 700; color: var(--gf-green); font-size: .95rem; }
.gfv-when { font-size: .82rem; margin-top: .15rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.gfv-live { background: #d4271c; color: #fff; font-weight: 700; font-size: .7rem; letter-spacing: .08em; padding: .1rem .5rem; border-radius: 999px; }
.gfv-count.is-hot { color: #d4271c; font-weight: 700; }
.gfv-state { color: var(--gf-muted); }
.gfv-itemform { border: 1px dashed #b8c7bf; border-radius: 14px; padding: .8rem 1rem 1rem; margin-bottom: 1rem; }
.gfv-itemform .gf-btn { margin-top: .8rem; }
.gfv-preview { width: 100%; height: 150px; border-radius: 12px; background: #f1f5f2; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--gf-muted); font-size: .85rem; margin: .4rem 0; }
.gfv-preview img { width: 100%; height: 100%; object-fit: contain; }
.gfv-photo-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.gfv-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.gfv-item { border: 1px solid #d7e2db; border-radius: 14px; padding: .5rem; display: flex; flex-direction: column; gap: .25rem; }
.gfv-item.is-off { opacity: .5; }
.gfv-item img, .gfv-noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #f1f5f2; display: flex; align-items: center; justify-content: center; color: var(--gf-muted); font-size: .8rem; }
.gfv-item-actions { display: flex; gap: .4rem; margin-top: .3rem; }
.gfv-deal-row { display: flex; flex-direction: column; padding: .4rem 0; border-bottom: 1px solid #edf1ee; font-size: .88rem; }
.gfv-toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translate(-50%, 140%); background: #083d2e; color: #fff; padding: .7rem 1.2rem; border-radius: 12px; z-index: 50; transition: transform .25s; max-width: 92vw; font-size: .9rem; }
.gfv-toast.is-err { background: #a4221d; }
.gfv-toast.is-show { transform: translate(-50%, 0); }
@media (max-width: 460px) { .gfv-grid3 { grid-template-columns: 1fr 1fr; } }

/* ---- participant offers ---- */
.gfv-title { color: #fff; }
.gfv-lead-w { color: #d7e6df; font-size: .95rem; margin: .2rem 0 1rem; }
.gfo-h { color: var(--gf-lemon); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin: 1.4rem 0 .7rem; }
.gfv-offers-page .gfv-main { max-width: 1040px; }
.gfo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }
.gfo-card { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 44px rgba(0,0,0,.28); position: relative; }
.gfo-card.is-live { box-shadow: 0 0 0 3px var(--gf-lemon), 0 18px 44px rgba(0,0,0,.3); }
.gfo-card.is-soon { opacity: .93; }
.gfo-media { position: relative; background: #eef3f0; aspect-ratio: 4 / 3; overflow: hidden; }
.gfo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gfo-noimg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.gfo-tag { position: absolute; left: .7rem; top: .7rem; background: #d4271c; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: .28rem .65rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.is-soon .gfo-tag { background: #083d2e; }
.is-live .gfo-tag::before { content: ""; display: inline-block; width: .5rem; height: .5rem; background: #fff; border-radius: 50%; margin-right: .4rem; animation: gfo-pulse 1s infinite; }
.gfo-off { position: absolute; right: .7rem; top: .7rem; background: var(--gf-lemon); color: #052a20; font-size: 1.15rem; font-weight: 800; padding: .3rem .7rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.25); transform: rotate(3deg); }
.gfo-stand { background: var(--gf-lemon); color: #052a20; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem 1rem; border-top: 3px solid #083d2e; border-bottom: 3px solid #083d2e; }
.gfo-stand-k { font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.gfo-stand-n { font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: .02em; text-align: right; word-break: break-word; }
.gfo-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.gfo-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; color: #0a0a0a; }
.gfo-vendor { font-size: .85rem; color: #52625a; }
.gfo-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .6rem; margin-top: .35rem; }
.gfo-price strong { font-size: 1.9rem; line-height: 1.1; color: var(--gf-green); }
.gfo-price s { color: #8a978f; font-size: 1rem; }
.gfo-save { color: #0a7a3d; font-weight: 700; font-size: .9rem; }
.gfo-timerwrap { margin-top: .6rem; }
.gfo-timer { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem; color: var(--gf-green); }
.gfo-timer.is-hot { color: #d4271c; animation: gfo-pulse 1s infinite; }
.gfo-bar { height: 8px; background: #e3ebe6; border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.gfo-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #0d5a44, #7fb800); border-radius: 99px; transition: width 1s linear; }
.gfo-qty { font-size: .8rem; color: #8a4b00; font-weight: 700; margin-top: .45rem; background: #fff3d6; border-radius: 8px; padding: .2rem .55rem; align-self: flex-start; }
.gfo-empty { text-align: center; color: #d7e6df; padding: 2.5rem 1rem; }
.gfo-empty strong { color: #fff; font-size: 1.2rem; }
.gfo-empty-i { font-size: 3rem; }
@keyframes gfo-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .gfo-timer.is-hot, .is-live .gfo-tag::before { animation: none; } .gfo-bar i { transition: none; } }

/* specificity fixes: the site theme was overriding link and heading colours on the green background */
.gfv .gfv-top a.gfv-back, .gfv a.gfv-back { color: #fff; text-decoration: none; font-weight: 600; }
.gfv .gfo-h { color: var(--gf-lemon); }
.gfv .gfv-main > h1, .gfv .gfv-title { color: #fff; }

/* ---- email vault ---- */
.gfvault-list { display: flex; flex-direction: column; gap: .4rem; margin-top: .8rem; max-height: 46vh; overflow: auto; }
.gfvault-row { text-align: left; background: #fff; border: 1px solid #d7e2db; border-radius: 12px; padding: .6rem .8rem; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: .1rem; }
.gfvault-row span { font-size: .78rem; color: var(--gf-muted); }
.gfvault-row.is-sel, .gfvault-row:hover { border-color: var(--gf-green); background: #f1fbe9; }
.gfvault-meta { font-size: .85rem; margin-bottom: .6rem; line-height: 1.5; word-break: break-all; }
.gfvault-frame { width: 100%; height: 70vh; border: 1px solid #d7e2db; border-radius: 12px; background: #fff; }
.gfv-demo-banner { background: #e9f205; color: #083d2e; text-align: center; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; }
.gfv-demo-banner a { color: #083d2e; text-decoration: underline; }


/* ---- raffle ---- */
.gfv-raffle-wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: .6rem; }
.gfv-raffle-qr { width: 120px; height: 120px; border: 1px solid #d7e2db; border-radius: 12px; background: #fff; padding: 6px; }
.gfv-raffle-code { font-size: 1.4rem; font-weight: 700; letter-spacing: .06em; color: var(--gf-green); }
.gfv-pending { margin-top: 1rem; border-top: 1px solid #edf1ee; padding-top: .8rem; }
.gfv-pending-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid #edf1ee; }
.gfv-pending-row:last-child { border-bottom: none; }

/* ---- vendor dashboard: prominent stand + simple offer steps ---- */
.gfv-headrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.gfv-standbadge { background: var(--gf-lemon); color: #052a20; border: 3px solid #083d2e; border-radius: 16px; padding: .35rem 1.1rem; text-align: center; min-width: 6.5rem; }
.gfv-standbadge span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.gfv-standbadge b { display: block; font-size: 2.1rem; line-height: 1.1; }
.gfv-step { margin-top: 1.1rem; }
.gfv-step-h { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: 1rem; }
.gfv-step-n { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--gf-green); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex: none; }
.gfv-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.gfv-pick { border: 2px solid #d7e2db; background: #fff; border-radius: 14px; padding: .4rem; display: flex; flex-direction: column; gap: .15rem; text-align: left; cursor: pointer; font: inherit; }
.gfv-pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.gfv-pick strong { font-size: .85rem; line-height: 1.2; }
.gfv-pick span { font-size: .78rem; color: var(--gf-muted); }
.gfv-pick.is-on { border-color: var(--gf-green); background: #f1fbe9; box-shadow: 0 0 0 2px var(--gf-lemon); }
.gfv-pick.is-nophoto { border-style: dashed; opacity: .75; }
.gfv-pick-no { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: #f1f5f2; border-radius: 10px; }
.gfv-callout { grid-column: 1 / -1; background: #fffde0; border: 1px solid #e6df6a; border-radius: 14px; padding: .9rem 1rem; }
.gfv-callout p { margin: .2rem 0 .6rem; font-size: .9rem; }
.gfv-callout .gf-btn { width: auto; margin-top: .2rem; }
.gfv-reg { font-size: .9rem; margin-bottom: .5rem; color: #33443b; }
.gfv-pct { background: var(--gf-lemon); color: #052a20; font-weight: 800; border-radius: 8px; padding: .1rem .5rem; }
.gfv-durations { display: flex; flex-wrap: wrap; gap: .5rem; }
.gfv-dur { border: 2px solid var(--gf-green); background: #fff; color: var(--gf-green); border-radius: 12px; padding: .55rem 1rem; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; min-width: 5.2rem; }
.gfv-dur.is-on { background: var(--gf-green); color: #fff; box-shadow: 0 0 0 3px var(--gf-lemon); }
.gfv-prevwrap { margin-top: 1.2rem; border-top: 1px dashed #c9d6ce; padding-top: .9rem; }
.gfv-prev-h { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gf-muted); margin-bottom: .5rem; }
.gfv-prev-empty { color: var(--gf-muted); font-size: .9rem; }
.gfv-pc { max-width: 300px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.18); border: 1px solid #e3ebe6; }
.gfv-pc-media { position: relative; aspect-ratio: 4 / 3; background: #eef3f0; }
.gfv-pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gfv-pc-off { position: absolute; right: .5rem; top: .5rem; background: var(--gf-lemon); color: #052a20; font-weight: 800; padding: .2rem .55rem; border-radius: 10px; }
.gfv-pc-stand { background: var(--gf-lemon); color: #052a20; border-top: 3px solid #083d2e; border-bottom: 3px solid #083d2e; display: flex; align-items: center; justify-content: space-between; padding: .4rem .8rem; }
.gfv-pc-stand span { font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.gfv-pc-stand b { font-size: 1.5rem; }
.gfv-pc-body { padding: .6rem .8rem .8rem; }
.gfv-pc-price { display: flex; gap: .5rem; align-items: baseline; }
.gfv-pc-price b { font-size: 1.4rem; color: var(--gf-green); }
.gfv-pc-price s { color: #8a978f; }
.gfv-pc-t { font-size: .82rem; color: var(--gf-muted); margin-top: .2rem; }
.gfv-go { margin-top: 1.2rem; font-size: 1.05rem; }

/* ---- sold / left + fair-wide totals ---- */
.gfo-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; margin: .4rem 0 1rem; }
.gfo-tot { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: .6rem .5rem; text-align: center; color: #fff; }
.gfo-tot b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--gf-lemon); font-variant-numeric: tabular-nums; }
.gfo-tot span { font-size: .72rem; letter-spacing: .04em; color: #d7e6df; }
.gfo-tot.is-hot b { color: #fff; }
.gfo-tot.is-hot { background: #d4271c; border-color: #d4271c; }
.gfo-sold { margin-top: .7rem; }
.gfo-sold-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: #33443b; }
.gfo-sold-row strong { color: #8a4b00; font-size: .95rem; }
.gfo-sold-row strong.is-out { color: #d4271c; }
.gfo-sbar { height: 9px; background: #e3ebe6; border-radius: 99px; overflow: hidden; margin-top: .3rem; }
.gfo-sbar i { display: block; height: 100%; background: linear-gradient(90deg, #f0a500, #d4271c); border-radius: 99px; }
.gfo-sold-n { margin-top: .6rem; font-size: .85rem; font-weight: 700; color: #8a4b00; }
.gfo-soldout { position: absolute; inset: 0; background: rgba(8,61,46,.72); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; letter-spacing: .12em; transform: none; }
/* vendor: record sales */
.gfv-sold { margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed #c9d6ce; width: 100%; }
.gfv-sold-t { font-size: .85rem; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.gfv-sbar { height: 8px; background: #e3ebe6; border-radius: 99px; overflow: hidden; margin: .3rem 0 .45rem; }
.gfv-sbar i { display: block; height: 100%; background: linear-gradient(90deg, #f0a500, #d4271c); border-radius: 99px; }
.gfv-sold-btns { display: flex; gap: .4rem; flex-wrap: wrap; }
.gfv-offer { flex-wrap: wrap; }
.gfv-totals { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; background: #f1fbe9; border: 1px solid #cfe3b8; border-radius: 12px; padding: .5rem .8rem; margin: .3rem 0 .8rem; font-size: .85rem; }
.gfv-totals b { color: var(--gf-green); font-size: 1rem; }

/* tidy: inputs inside the vendor grids must not spill past their card; the "all vendors" strip reads as one line of text */
.gfv-grid .gf-input, .gfv-itemform .gf-input, .gfv-offercard .gf-input { width: 100%; box-sizing: border-box; max-width: 100%; }
.gfv-totals { display: block; line-height: 1.9; }
.gfv-totals b { margin: 0 .1rem; }

/* ---- vendor dashboard navigation: Items | Offers | Customer QR ---- */
.gfv-panel[hidden] { display: none; }
.gfv-nav { display: flex; gap: .5rem; margin: 0 0 1rem; position: sticky; top: 0; z-index: 30; background: var(--gf-green); padding: .5rem 0; }
.gfv-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; position: relative; background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.28); border-radius: 16px; padding: .75rem .6rem; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .15s, transform .15s; }
.gfv-tab:hover { background: rgba(255,255,255,.2); }
.gfv-tab.is-on { background: var(--gf-lemon); color: #052a20; border-color: var(--gf-lemon); box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.gfv-tab-i { font-size: 1.35rem; line-height: 1; }
.gfv-tab-b { display: none; background: #fff; color: #052a20; border-radius: 99px; font-size: .72rem; font-weight: 800; padding: .08rem .5rem; margin-left: .15rem; }
.gfv-tab-b.is-show { display: inline-block; }
.gfv-tab-b.is-hot { background: #d4271c; color: #fff; animation: gfo-pulse 1.2s infinite; }
.gfv-tab.is-on .gfv-tab-b { background: #052a20; color: #fff; }
@media (max-width: 640px) {
  .gfv-dash .gfv-main { padding-bottom: 6.5rem; }
  .gfv-nav { position: fixed; left: 0; right: 0; bottom: 0; top: auto; margin: 0; padding: .45rem .6rem calc(.45rem + env(safe-area-inset-bottom)); background: #052a20; border-top: 2px solid var(--gf-lemon); box-shadow: 0 -8px 24px rgba(0,0,0,.35); gap: .4rem; z-index: 60; }
  .gfv-tab { flex-direction: column; gap: .1rem; padding: .45rem .2rem; border-radius: 14px; font-size: .78rem; }
  .gfv-tab-b { position: absolute; top: .15rem; right: .35rem; margin: 0; }
  .gfv-toast { bottom: 5.6rem; }
}
.gfv-btn-sm.is-primary { background: var(--gf-green); color: #fff; border-color: var(--gf-green); font-weight: 700; }
.gfv-btn-sm.is-primary:disabled { background: #e6ece8; color: #7d8c84; border-color: #d1dbd5; }
.gfv-btn-sm.is-ok { background: #0a7a3d; color: #fff; border-color: #0a7a3d; font-weight: 700; }
.gfv-item .gfv-btn-sm.is-primary { margin-top: .3rem; width: 100%; padding: .5rem .6rem; }
/* customer QR section */
.gfv-qrcard { text-align: center; }
.gfv-qrcard .gfv-sub { text-align: left; }
.gfv-qrbox { display: inline-block; max-width: 100%; background: #fff; border: 3px solid #083d2e; border-radius: 22px; padding: 1rem 1.2rem 1.1rem; margin: .6rem 0; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.gfv-qrimg { width: min(300px, 70vw); height: auto; display: block; margin: 0 auto; }
.gfv-qrstand { display: inline-flex; align-items: center; gap: .8rem; background: var(--gf-lemon); color: #052a20; border: 3px solid #083d2e; border-radius: 14px; padding: .25rem 1.1rem; margin-top: .7rem; }
.gfv-qrstand span { font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.gfv-qrstand b { font-size: 1.9rem; line-height: 1.1; }
.gfv-qrname { font-weight: 800; font-size: 1.15rem; margin-top: .5rem; color: var(--gf-green); }
.gfv-qrcode { font-size: .9rem; letter-spacing: .08em; color: var(--gf-muted); margin-top: .1rem; }
.gfv-qracts { margin: .4rem 0 .2rem; }
.gfv-qrfull { width: auto !important; margin-top: 0 !important; padding-left: 1.6rem; padding-right: 1.6rem; }
.gfv-qrsec { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin: .6rem 0 .8rem; }
.gfv-qrsec a.gfv-btn-sm { text-decoration: none; color: inherit; display: inline-block; }
.gfv-h4 { text-align: left; font-size: .92rem; margin: 1rem 0 .3rem; color: var(--gf-green); }
.gfv-how { text-align: left; margin: 0; padding-left: 1.2rem; font-size: .9rem; line-height: 1.55; }
.gfv-qrcard .gfv-hint { text-align: left; }
.gfv-qrcard .gfv-pending { text-align: left; }
.gfv-fs { position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; gap: .5rem; overflow: auto; }
.gfv-fs img { width: min(78vw, 62vh); height: auto; }
.gfv-fs-t { font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 800; color: #083d2e; }
.gfv-fs-s { display: inline-flex; align-items: center; gap: 1rem; background: var(--gf-lemon); border: 4px solid #083d2e; border-radius: 18px; padding: .2rem 1.6rem; color: #052a20; }
.gfv-fs-s span { font-size: .8rem; font-weight: 800; letter-spacing: .16em; }
.gfv-fs-s b { font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.1; }
.gfv-fs-n { font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 800; }
.gfv-fs-c { color: #52625a; }
.gfv-fs-x { position: absolute; top: .8rem; right: .8rem; border: 2px solid #083d2e; background: #fff; border-radius: 999px; padding: .5rem 1.1rem; font: inherit; font-weight: 700; cursor: pointer; }

/* ---- offers page: sticky one-line totals, search, filters, compact list ---- */
.gfo-sticky { position: sticky; top: 0; z-index: 25; background: var(--gf-green); padding: .5rem 0 .6rem; margin: 0 0 .3rem; box-shadow: 0 10px 14px -12px rgba(0,0,0,.7); }
.gfo-t1 { display: flex; gap: .4rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: .4rem; }
.gfo-t1::-webkit-scrollbar { display: none; }
.gfo-t1[hidden], .gfo-clear[hidden] { display: none; }
.gfo-pill { flex: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #d7e6df; border-radius: 99px; padding: .22rem .7rem; font-size: .78rem; }
.gfo-pill b { color: var(--gf-lemon); font-size: .95rem; font-variant-numeric: tabular-nums; }
.gfo-pill.is-hot { background: #d4271c; border-color: #d4271c; color: #fff; }
.gfo-pill.is-hot b { color: #fff; }
.gfo-searchrow { display: flex; gap: .5rem; }
.gfo-q { flex: 1; min-width: 0; border-radius: 14px; border: 2px solid transparent; padding: .65rem .9rem; font: inherit; font-size: 1rem; background: #fff; color: #0a0a0a; }
.gfo-q:focus { outline: none; border-color: var(--gf-lemon); }
.gfo-vbtn { flex: none; border-radius: 14px; border: 2px solid var(--gf-lemon); background: transparent; color: var(--gf-lemon); font: inherit; font-weight: 700; padding: 0 1rem; cursor: pointer; }
.gfo-vbtn:hover { background: rgba(233,242,5,.14); }
.gfo-filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .4rem 0 .1rem; }
.gfo-sel { flex: 1 1 150px; min-width: 0; border-radius: 12px; border: 0; padding: .6rem .7rem; font: inherit; font-size: .9rem; background: #fff; color: #0a0a0a; }
.gfo-countrow { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; color: #d7e6df; font-size: .82rem; }
.gfo-clear { background: none; border: 0; color: var(--gf-lemon); text-decoration: underline; font: inherit; font-size: .82rem; cursor: pointer; }
/* compact list */
.gfo-list { display: flex; flex-direction: column; gap: .55rem; }
.gfo-row { display: grid; grid-template-columns: 74px 1fr auto; gap: .7rem; align-items: center; background: #fff; border-radius: 16px; padding: .55rem .65rem .55rem .55rem; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.gfo-row.is-live { box-shadow: 0 0 0 2px var(--gf-lemon), 0 8px 20px rgba(0,0,0,.25); }
.gfo-row.is-soon { opacity: .92; }
.gfo-rimg { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; background: #eef3f0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.gfo-rimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gfo-rmain { min-width: 0; }
.gfo-rmain h3 { margin: 0; font-size: .98rem; line-height: 1.2; color: #0a0a0a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfo-rvendor { font-size: .78rem; color: #52625a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfo-rprice { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .45rem; margin-top: .1rem; }
.gfo-rprice strong { font-size: 1.15rem; color: var(--gf-green); }
.gfo-rprice s { font-size: .78rem; color: #8a978f; }
.gfo-rdisc { background: var(--gf-lemon); color: #052a20; font-weight: 800; font-size: .72rem; border-radius: 7px; padding: .05rem .4rem; }
.gfo-rmeta { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .7rem; margin-top: .1rem; }
.gfo-rmeta .gfo-timer { font-size: .82rem; }
.gfo-rmeta .gfo-sold { margin: 0; }
.gfo-rmeta .gfo-sold-row { gap: .5rem; font-size: .76rem; }
.gfo-rmeta .gfo-sold-row strong { font-size: .76rem; }
.gfo-rmeta .gfo-sold-n { margin: 0; font-size: .76rem; }
.gfo-rbar { height: 5px; margin-top: .3rem; }
.gfo-rstand { background: var(--gf-lemon); color: #052a20; border: 3px solid #083d2e; border-radius: 14px; padding: .2rem .55rem; text-align: center; min-width: 4.3rem; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.gfo-rstand span { font-size: .6rem; font-weight: 800; letter-spacing: .14em; }
.gfo-rstand b { font-size: 1.55rem; line-height: 1.05; word-break: break-word; }
@media (max-width: 420px) { .gfo-row { grid-template-columns: 62px 1fr auto; gap: .5rem; } .gfo-rimg { width: 62px; height: 62px; } .gfo-rstand { min-width: 3.6rem; } .gfo-rstand b { font-size: 1.3rem; } }
/* vendor: category and the stopped state */
.gfv-soldbadge { background: #052a20; color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .06em; padding: .12rem .55rem; border-radius: 999px; }
.gfv-offer.is-soldout { opacity: .8; background: #f6f3f3; border-color: #d9c7c7; }
.gfv-itemcat { font-size: .72rem; color: var(--gf-muted); }

/* the pinned bar must be able to stay on screen for the whole list, so its wrapper must not box it in */
.gfo-controls { display: contents; }

/* compact list on small phones: one line for the price, one line for time + units left */
@media (max-width: 420px) {
  .gfo-rprice s { display: none; }
  .gfo-rmeta .gfo-sold-row span { display: none; }
  .gfo-rmeta { flex-wrap: nowrap; gap: .1rem .6rem; }
  .gfo-rmain h3 { font-size: .92rem; }
  .gfo-rprice strong { font-size: 1.05rem; }
  .gfo-row { padding: .45rem .5rem .45rem .45rem; }
}

/* ---- offers page: page buttons ---- */
.gfo-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin: 1.5rem 0 .6rem; }
.gfo-pg { min-width: 2.7rem; height: 2.7rem; border-radius: 12px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; padding: 0 .5rem; }
.gfo-pg:hover:not(:disabled) { background: rgba(255,255,255,.14); }
.gfo-pg.is-on { background: var(--gf-lemon); color: #052a20; border-color: var(--gf-lemon); }
.gfo-pg:disabled { opacity: .35; cursor: default; }
.gfo-pg-dots { color: #d7e6df; padding: 0 .1rem; }
