/* Vendor directory: category cards, vendor cards, vendor page, pay box, claim page */
.dr-hero { background: linear-gradient(135deg, #fbeeed, #fbf4dc); border: 1px solid var(--line, #efe2cc); border-radius: 22px; padding: 1.4rem 1.2rem; margin-bottom: 1.2rem; }
.dr-hero h1 { margin: 0 0 .3rem; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--wine, #4a1a1c); font-weight: 800; }
.dr-search { display: flex; gap: .5rem; margin-top: .8rem; max-width: 520px; }
.dr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: .9rem; }
.dr-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; padding: 1.1rem .8rem; background: #fff; border: 1px solid var(--line, #efe2cc); border-radius: 20px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.dr-cat:hover { box-shadow: 0 12px 28px rgba(90, 26, 26, .13); transform: translateY(-3px); color: inherit; }
.dr-ico { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--crimson, #97161a), var(--gold, #c89c12)); box-shadow: 0 6px 14px rgba(151, 22, 26, .25); }
.dr-ico.sm { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 14px; }
.dr-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dr-cat h3 { font-size: .98rem; margin: 0; font-weight: 700; color: var(--wine, #4a1a1c); }
.dr-count { font-size: .78rem; font-weight: 700; color: var(--crimson, #97161a); background: var(--crimson-tint, #fbeeed); padding: .1rem .65rem; border-radius: 999px; }
.dr-biz { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, #efe2cc); border-radius: 20px; text-decoration: none; color: inherit; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.dr-biz:hover { box-shadow: 0 12px 28px rgba(90, 26, 26, .13); transform: translateY(-3px); color: inherit; }
.dr-biz .cover { aspect-ratio: 16 / 9; background: #f6ecdc center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.dr-biz .in { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.dr-biz .top { display: flex; align-items: center; gap: .7rem; margin-top: -2.2rem; }
.dr-biz .top .dr-ico { border: 3px solid #fff; }
.dr-biz h3 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--wine, #4a1a1c); }
.dr-loc { font-size: .8rem; color: #8a7a68; }
.dr-off { display: inline-block; font-size: .74rem; font-weight: 700; padding: .12rem .6rem; border-radius: 999px; background: #e6f3e8; color: #24602f; }
.dr-chip { display: inline-block; font-size: .8rem; padding: .2rem .7rem; border-radius: 999px; background: var(--gold-tint, #fbf4dc); color: #6b4e16; margin: 0 .3rem .35rem 0; }
.dr-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.dr-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.dr-head h1 { font-size: clamp(1.3rem, 4vw, 1.8rem); margin: 0; font-weight: 800; color: var(--wine, #4a1a1c); }
.dr-card { background: #fff; border: 1px solid var(--line, #efe2cc); border-radius: 20px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.dr-card h2 { font-size: 1rem; font-weight: 700; margin: 0 0 .6rem; color: var(--wine, #4a1a1c); }
.dr-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.dr-gal a { aspect-ratio: 4 / 3; border-radius: 14px; background: #f6ecdc center / cover no-repeat; display: block; border: 1px solid var(--line, #efe2cc); }
.dr-pay { background: linear-gradient(160deg, #fff, #fbf4dc); border: 2px solid var(--gold, #c89c12); border-radius: 22px; padding: 1.2rem; position: sticky; top: 84px; }
.dr-pay h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 .2rem; }
.dr-amt { font-size: 1.5rem; font-weight: 800; text-align: center; }
.dr-sum { margin: .8rem 0; padding: .8rem; background: #fff; border: 1px dashed var(--gold, #c89c12); border-radius: 14px; font-size: .92rem; }
.dr-sum div { display: flex; justify-content: space-between; padding: .15rem 0; }
.dr-sum .fin { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line, #efe2cc); margin-top: .3rem; padding-top: .45rem; color: var(--crimson, #97161a); }
.dr-msg { font-size: .85rem; min-height: 1.2rem; margin-top: .4rem; }
.dr-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: .6rem; }
.dr-apps a { text-align: center; padding: .55rem; border: 1px solid var(--line, #efe2cc); border-radius: 12px; background: #fff; font-weight: 600; font-size: .86rem; text-decoration: none; color: var(--wine, #4a1a1c); }
.dr-st { display: inline-block; font-size: .74rem; font-weight: 700; padding: .12rem .65rem; border-radius: 999px; background: #f3e9d6; color: #6b4e16; }
.dr-st.ok { background: #e6f3e8; color: #24602f; } .dr-st.bad { background: #f6d9d4; color: #8a2a1f; } .dr-st.wait { background: #e5eef7; color: #1f4a73; }
.dr-timer { font-weight: 800; color: var(--crimson, #97161a); }
.dr-iconpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .4rem; }
.dr-iconpick label { text-align: center; border: 1px solid var(--line, #efe2cc); border-radius: 12px; padding: .45rem .2rem; cursor: pointer; font-size: .68rem; background: #fff; }
.dr-iconpick label i { display: block; font-size: 1.4rem; color: var(--crimson, #97161a); }
.dr-iconpick input { position: absolute; opacity: 0; }
.dr-iconpick input:checked + span { color: var(--crimson, #97161a); font-weight: 700; }
.dr-iconpick label:has(input:checked) { border-color: var(--crimson, #97161a); box-shadow: 0 0 0 2px rgba(151, 22, 26, .18); }
.dr-pics { display: flex; gap: .5rem; flex-wrap: wrap; margin: .4rem 0; }
.dr-pics span { position: relative; width: 84px; height: 84px; border-radius: 12px; background: #f6ecdc center / cover no-repeat; border: 1px solid var(--line, #efe2cc); }
.dr-pics label { position: absolute; bottom: 2px; left: 2px; right: 2px; font-size: .62rem; background: rgba(255, 255, 255, .92); border-radius: 8px; text-align: center; margin: 0; }
@media (max-width: 860px) { .dr-page { grid-template-columns: minmax(0, 1fr); } .dr-pay { position: static; } }
@media (max-width: 420px) { .dr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .dr-cat { padding: .9rem .5rem; } }
/* print kit */
.pk-sheet { background: #fff; max-width: 210mm; margin: 0 auto; padding: 14mm 12mm; border: 1px solid var(--line, #efe2cc); border-radius: 12px; text-align: center; }
.pk-sheet .brand { display: flex; align-items: center; justify-content: center; gap: .6rem; font-weight: 800; color: var(--crimson, #97161a); font-size: 1.1rem; }
.pk-sheet .brand img { height: 44px; }
.pk-sheet h1 { font-size: 2rem; font-weight: 800; margin: .6rem 0 .1rem; color: var(--wine, #4a1a1c); }
.pk-sheet .qr { width: 78mm; max-width: 80%; margin: .8rem auto; }
.pk-sheet .qr svg { width: 100%; height: auto; display: block; }
.pk-sheet .offer { display: inline-block; font-size: 1.15rem; font-weight: 800; background: #fbf4dc; border: 2px solid var(--gold, #c89c12); border-radius: 999px; padding: .3rem 1.1rem; margin-top: .3rem; }
.pk-sheet .how { text-align: left; max-width: 120mm; margin: 1rem auto 0; font-size: .95rem; }
.pk-sheet .foot { margin-top: 1rem; font-size: .8rem; color: #8a7a68; word-break: break-all; }
@media print { body * { visibility: hidden !important; } .pk-sheet, .pk-sheet * { visibility: visible !important; } .pk-sheet { position: absolute; left: 0; top: 0; width: 100%; border: 0; border-radius: 0; } @page { size: A4; margin: 8mm; } }

.dr-filter { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto auto; gap: .5rem; margin-top: .9rem; }
.dr-cat.on { border-color: var(--crimson, #97161a); box-shadow: 0 0 0 2px rgba(151, 22, 26, .2); background: var(--crimson-tint, #fbeeed); }
#list { scroll-margin-top: 90px; }
@media (max-width: 900px) { .dr-filter { grid-template-columns: 1fr 1fr; } .dr-filter input { grid-column: 1 / -1; } }
.dr-vgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.dr-vgrid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }
.dr-vgrid .dr-biz .cover { aspect-ratio: 4 / 3; }
.dr-vgrid .dr-biz .top { margin-top: -2.9rem; }
.dr-vgrid .dr-ico.sm { width: 68px; height: 68px; font-size: 1.9rem; border-radius: 18px; background-color: #fff; }
.dr-vgrid .dr-biz h3 { font-size: 1.15rem; margin-top: .2rem; }
.dr-vgrid .dr-biz .in { padding: .9rem 1.1rem 1.2rem; gap: .35rem; }
.dr-biz .dr-desc { font-size: .85rem; color: #6b5a48; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dr-biz .dr-cc { font-size: .74rem; font-weight: 700; color: var(--crimson, #97161a); }
@media (max-width: 640px) { .dr-vgrid { grid-template-columns: minmax(0, 1fr); } }
.dr-stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.dr-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dr-stars label { font-size: 1.8rem; color: #e0d3bd; cursor: pointer; line-height: 1; padding: .1rem; }
.dr-stars input:checked ~ label, .dr-stars label:hover, .dr-stars label:hover ~ label { color: #c9a227; }
.dr-stars input:focus-visible + label { outline: 2px solid #97161a; border-radius: 6px; }
.rt-stars { color: #c9a227; white-space: nowrap; } .rt-stars .off { color: #e0d3bd; }
