/* Shops page (page-vendors.php / templates/pages/vendors.twig), after the prototype's "ซื้อที่ไหนดี" page — 9 Nov 2026. */
.pt-vd { font-family: "Noto Sans Thai", Arial, sans-serif; color: #00184a; }
.pt-vd-wrap { padding-top: 16px; padding-bottom: 48px; }
.pt-vd-crumb { margin: 0 0 10px; font-size: 13px; color: #57657b; }
.pt-vd-crumb a { color: #004aeb; }

/* masthead: navy, the four steps on the right */
.pt-vd-mast { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 18px; border-radius: 18px; background: linear-gradient(115deg, #00184a 0%, #0b3489 55%, #1a47a8 100%); color: #fff; overflow: hidden; }
.pt-vd-mast::before { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.pt-vd-mast-t { position: relative; min-width: 0; }
.pt-vd-eyebrow { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #ffe08a; }
.pt-vd-mast h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; font-weight: 900; color: #fff; }
.pt-vd-lead { margin: 0; max-width: 560px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.pt-vd-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pt-vd-stats li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; }
.pt-vd-stats b { font-size: 16px; font-weight: 900; }
.pt-vd-mast .pt-vd-note { display: block; margin-top: 12px; font-size: 12px; opacity: .7; }
.pt-vd-steps { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pt-vd-steps a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; height: 100%; padding: 10px 10px 10px 8px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; text-decoration: none; transition: background .15s; }
.pt-vd-steps a:hover { background: rgba(255, 255, 255, .18); }
.pt-vd-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ffe08a; color: #00184a; font-size: 13px; font-weight: 900; }
.pt-vd-steps span { display: block; min-width: 0; font-size: 13px; font-weight: 800; line-height: 1.3; }
.pt-vd-steps small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.pt-vd-art { display: none; }

/* sections */
.pt-vd-sec { margin-top: 28px; scroll-margin-top: 90px; }
.pt-vd-sec > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 21px; line-height: 1.25; font-weight: 900; color: #00184a; }
.pt-vd-sec > h2 i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #004aeb; color: #fff; font-style: normal; font-size: 14px; font-weight: 900; }
.pt-vd-sub { margin: 0 0 14px; max-width: 760px; font-size: 14px; line-height: 1.55; color: #3c4d68; }
.pt-vd-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #8a97ab; }

/* 1. finder */
.pt-vd-find { padding: 14px; border: 1px solid #e3e9f3; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px rgba(0, 24, 74, .05); }
.pt-vd-fq { position: relative; }
.pt-vd-fq input { box-sizing: border-box; width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid #c9d5ea; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357657b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px center / 18px no-repeat; font: 500 14.5px "Noto Sans Thai", Arial, sans-serif; color: #00184a; }
.pt-vd-fq input:focus { outline: none; border-color: #004aeb; box-shadow: 0 0 0 3px rgba(0, 74, 235, .15); }
.pt-vd-sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; border: 1px solid #dfe6f2; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0, 24, 74, .14); }
.pt-vd-sug li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; cursor: pointer; }
.pt-vd-sug li:hover { background: #f3f7ff; }
.pt-vd-sug li.none { grid-template-columns: 1fr; color: #57657b; cursor: default; }
.pt-vd-sug img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #f4f7fc; }
.pt-vd-sug span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pt-vd-sug small { color: #57657b; font-size: 12px; white-space: nowrap; }
.pt-vd-fchips { display: flex; gap: 6px; margin: 12px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pt-vd-fchips::-webkit-scrollbar { display: none; }
.pt-vd-fchips button { flex: none; max-width: 240px; height: 34px; padding: 0 14px; border: 1px solid #d6e2f7; border-radius: 999px; background: #fff; font: 600 13px "Noto Sans Thai", Arial, sans-serif; color: #00184a; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-vd-fchips button[aria-selected="true"] { background: #00184a; border-color: #00184a; color: #fff; }
.pt-vd-fout { margin-top: 14px; }
.pt-vd-verdict { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(100deg, #ecfaf3, #f3fbf6); border: 1px solid #bfe8d3; }
.pt-vd-tag { justify-self: start; padding: 2px 10px; border-radius: 999px; background: #0f9d63; color: #fff; font-size: 12px; font-weight: 800; }
.pt-vd-verdict b { font-size: 24px; font-weight: 900; color: #0b5c3b; line-height: 1.2; }
.pt-vd-verdict small { font-size: 13px; color: #1f6b47; }
.pt-vd-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.pt-vd-col { min-width: 0; padding: 12px; border: 1px solid #e3e9f3; border-radius: 14px; background: #fbfcfe; }
.pt-vd-col h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 15px; font-weight: 800; color: #00184a; }
.pt-vd-col h3 small { font-size: 12px; font-weight: 500; color: #57657b; }
.pt-vd-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid #eef2f7; }
.pt-vd-row + .pt-vd-row { margin-top: 6px; }
.pt-vd-row.best { border-color: #bfe8d3; background: #f6fcf9; }
.pt-vd-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid #e3e9f3; overflow: hidden; }
.pt-vd-mark img { max-width: 30px; max-height: 30px; object-fit: contain; }
.pt-vd-mark b { font-size: 12px; font-weight: 900; color: #004aeb; }
.pt-vd-main { min-width: 0; display: grid; gap: 1px; }
.pt-vd-main b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; overflow: hidden; }
.pt-vd-main em { flex: none; padding: 1px 7px; border-radius: 999px; background: #0f9d63; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; }
.pt-vd-main small { font-size: 12px; color: #57657b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-vd-price { font-size: 15px; font-weight: 900; color: #00184a; white-space: nowrap; }
.pt-vd-row.best .pt-vd-price { color: #0b5c3b; }
.pt-vd-buy { grid-column: 2 / -1; justify-self: start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: #004aeb; color: #fff !important; font-size: 12.5px; font-weight: 800; text-decoration: none; }
.pt-vd-buy:hover { background: #0040cc; }
.pt-vd-prod-hd { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; color: #00184a !important; text-decoration: none; }
.pt-vd-prod-hd img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid #e3e9f3; padding: 4px; box-sizing: border-box; }
.pt-vd-prod-hd b { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.pt-vd-prod-hd small { display: block; margin-top: 2px; font-size: 12.5px; color: #004aeb; font-weight: 600; }
.pt-vd-store { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px dashed #c9d5ea; background: #fff; }
.pt-vd-store h3 { margin: 0 0 4px; font-size: 14px; }
.pt-vd-store p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: #57657b; }
.pt-vd-store a { font-size: 13px; font-weight: 800; color: #004aeb !important; text-decoration: none; }

/* 2. online vs in store */
.pt-vd-table { border: 1px solid #e3e9f3; border-radius: 14px; overflow: hidden; background: #fff; }
.pt-vd-tr { display: grid; grid-template-columns: 110px 1fr 1fr; }
.pt-vd-tr + .pt-vd-tr { border-top: 1px solid #eef2f7; }
.pt-vd-tr > span { padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #2b3a55; }
.pt-vd-tr > span + span { border-left: 1px solid #eef2f7; }
.pt-vd-tr > span[role="rowheader"] { font-weight: 800; color: #00184a; background: #fbfcfe; }
.pt-vd-tr.head > span { padding: 10px 12px; background: #00184a; color: #fff; font-size: 13.5px; font-weight: 800; }
.pt-vd-tr.head > span + span { border-left-color: rgba(255, 255, 255, .14); }
.pt-vd-tr > span.win { background: #ecfaf3; color: #0b5c3b; font-weight: 700; }
.pt-vd-tr > span.win::before { content: "✓ "; color: #0f9d63; font-weight: 900; }

/* 3. scorecards */
.pt-vd-tools { display: grid; gap: 8px; margin: 0 0 12px; }
.pt-vd-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.pt-vd-chips::-webkit-scrollbar { display: none; }
.pt-vd-chips button { flex: none; height: 34px; padding: 0 14px; border: 1px solid #d6e2f7; border-radius: 999px; background: #fff; font: 600 13.5px "Noto Sans Thai", Arial, sans-serif; color: #00184a; cursor: pointer; }
.pt-vd-chips button small { margin-left: 4px; font-size: 12px; font-weight: 600; color: #57657b; }
.pt-vd-chips button[aria-selected="true"] { background: #00184a; border-color: #00184a; color: #fff; }
.pt-vd-chips button[aria-selected="true"] small { color: rgba(255, 255, 255, .75); }
.pt-vd-search input { box-sizing: border-box; width: 100%; height: 36px; padding: 0 12px; border: 1px solid #d6e2f7; border-radius: 999px; background: #fff; font: 500 13.5px "Noto Sans Thai", Arial, sans-serif; color: #00184a; }
.pt-vd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pt-vd-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #e3e9f3; border-radius: 16px; background: #fff; box-shadow: 0 2px 8px rgba(0, 24, 74, .05); transition: border-color .15s, box-shadow .15s; }
.pt-vd-card:hover { border-color: #b9c7e2; box-shadow: 0 6px 16px rgba(0, 24, 74, .08); }
.pt-vd-card[hidden] { display: none; }
.pt-vd-hd { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.pt-vd-logo { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #e3e9f3; border-radius: 12px; background: #fff; overflow: hidden; }
.pt-vd-logo img { max-width: 40px; max-height: 40px; object-fit: contain; }
.pt-vd-logo b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 11px; background: #e8f0ff; color: #004aeb; font-size: 16px; font-weight: 900; }
.pt-vd-name { min-width: 0; }
.pt-vd-name h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16.5px; line-height: 1.3; font-weight: 800; min-width: 0; }
.pt-vd-name h3 > small, .pt-vd-g { flex: none; }
.pt-vd-g { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 999px; background: #fff7e0; color: #8a5a00; font-size: 12px; font-weight: 800; }
.pt-vd-g em { font-style: normal; color: #f2a900; }
.pt-vd-g small { font-weight: 600; color: #a07a2a; }
.pt-vd-name small { display: block; font-size: 12.5px; color: #57657b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-vd-go { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #eef3ff; color: #004aeb !important; font-size: 12.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.pt-vd-go b { padding: 0 7px; border-radius: 999px; background: #004aeb; color: #fff; font-size: 11.5px; line-height: 18px; }
.pt-vd-go:hover { background: #dfe8ff; }
.pt-vd-num { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.pt-vd-num li { display: grid; gap: 1px; min-width: 0; padding: 8px 4px; border-radius: 10px; background: #f4f7fc; text-align: center; }
.pt-vd-num b { font-size: 16px; font-weight: 900; color: #00184a; }
.pt-vd-num li.off { background: #f8fafd; }
.pt-vd-num li.off b { color: #9aa7ba; }
.pt-vd-num span { font-size: 11px; color: #57657b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-vd-num-none { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f8fafd; font-size: 12.5px; color: #9aa7ba; }
.pt-vd-pc { display: grid; gap: 4px; margin: 0; font-size: 12.5px; line-height: 1.45; }
.pt-vd-pc span { padding-left: 18px; position: relative; }
.pt-vd-pc span::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.pt-vd-pc .pro { color: #0b5c3b; } .pt-vd-pc .pro::before { content: "✓"; color: #0f9d63; }
.pt-vd-pc .con { color: #7a3f00; } .pt-vd-pc .con::before { content: "!"; color: #e57a00; }
.pt-vd-svc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pt-vd-svc li { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef3ff; color: #1d3f9e; }
.pt-vd-svc li.rep::before { content: "🔧 "; } .pt-vd-svc li.used::before { content: "♻️ "; }
.pt-vd-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.pt-vd-top a { position: relative; display: grid; grid-template-rows: auto 2.6em auto; gap: 4px; min-width: 0; color: #00184a !important; text-decoration: none; }
.pt-vd-top img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid #eef2f7; border-radius: 10px; background: #f4f7fc; padding: 4px; }
.pt-vd-top span { height: 2.6em; font-size: 11.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-vd-top b { font-size: 13px; font-weight: 800; color: #f97316; white-space: nowrap; }
.pt-vd-top em { position: absolute; left: 6px; top: 6px; margin: 0; padding: 1px 6px; border-radius: 999px; background: #e6f6ee; color: #0a7a4a; font-style: normal; font-size: 10px; font-weight: 800; box-shadow: 0 1px 2px rgba(0, 24, 74, .15); }
.pt-vd-ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-self: end; }
.pt-vd-all { font-size: 13.5px; font-weight: 800; color: #004aeb !important; text-decoration: none; }
.pt-vd-site { font-size: 12.5px; font-weight: 700; color: #57657b !important; text-decoration: none; }
.pt-vd-site:hover { color: #004aeb !important; }
.pt-vd-more { display: block; width: 100%; margin: 14px 0 0; height: 44px; border: 1px solid #c9d5ea; border-radius: 12px; background: #fff; font: 700 14px "Noto Sans Thai", Arial, sans-serif; color: #00184a; cursor: pointer; }
.pt-vd-more:hover { border-color: #004aeb; color: #004aeb; }
.pt-vd-none { margin: 12px 0 0; padding: 14px; border: 1px dashed #c9d5ea; border-radius: 12px; text-align: center; font-size: 14px; color: #57657b; }

@media (min-width: 768px) {
	.pt-vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pt-vd-two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.pt-vd-row { grid-template-columns: 36px minmax(0, 1fr) auto auto; }
	.pt-vd-buy { grid-column: auto; }
	.pt-vd-tr { grid-template-columns: 170px 1fr 1fr; }
	.pt-vd-tools { grid-template-columns: minmax(0, 1fr) 240px; align-items: center; }
}
@media (min-width: 1024px) {
	.pt-vd-wrap { padding-top: 20px; }
	.pt-vd-mast { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding: 28px 30px; border-radius: 22px; min-height: 250px; }
	.pt-vd-mast h1 { font-size: 36px; }
	.pt-vd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pt-vd-steps a { padding: 12px; }
	.pt-vd-steps span { font-size: 13.5px; }
	.pt-vd-sec { margin-top: 36px; }
	.pt-vd-sec > h2 { font-size: 24px; }
	.pt-vd-sec > h2 i { width: 32px; height: 32px; font-size: 15px; }
	.pt-vd-find { padding: 18px; border-radius: 18px; }
	.pt-vd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.pt-vd-tr > span { font-size: 13.5px; padding: 12px 14px; }
}
@media (min-width: 1280px) {
	.pt-vd-mast { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* Vendor Portal banner: dark on phone (as on the home page), the light v6b card on desktop (user's call, 5 Nov) */
.pt-vd-vp { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 24px; padding: 16px 14px; border-radius: 16px; background: linear-gradient(110deg, #00184a 0%, #003a9e 55%, #0a5cff 100%); color: #fff; overflow: hidden; }
.pt-vd-vp::before { content: ""; position: absolute; right: -80px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.pt-vd-vp-pic { position: relative; display: grid; place-items: center; align-self: start; width: 72px; height: 72px; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .25), 0 0 0 4px rgba(255, 255, 255, .18); }
.pt-vd-vp-pic img { width: 72px; height: 72px; object-fit: cover; object-position: center 22%; }
.pt-vd-vp-chip, .pt-vd-vp-steps { display: none; }
.pt-vd-vp-txt { position: relative; min-width: 0; }
.pt-vd-vp-eyebrow { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: #fe9300; color: #2b1700; font-size: 12px; font-weight: 800; }
.pt-vd-vp h2 { margin: 6px 0 4px; font-size: 17px; line-height: 1.25; font-weight: 900; color: #fff; }
.pt-vd-vp-nb { white-space: nowrap; }
.pt-vd-vp p { margin: 0; max-width: 620px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.pt-vd-vp ul { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; }
.pt-vd-vp li { display: inline-flex; align-items: center; gap: 6px; }
.pt-vd-vp li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #12b76a; color: #fff; font-size: 10px; font-weight: 900; }
.pt-vd-vp-cta { position: relative; grid-column: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 4px; text-align: center; }
.pt-vd-vp-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; background: #fe9300; color: #2b1700 !important; font-size: 15px; font-weight: 900; text-decoration: none; box-shadow: 0 6px 16px rgba(254, 147, 0, .35); }
.pt-vd-vp-cta svg { width: 18px; height: 18px; }
.pt-vd-vp-cta small { font-size: 12px; color: rgba(255, 255, 255, .8); }
.pt-vd-vp-cta small b { color: #fff; font-weight: 700; }
@media (min-width: 768px) {
	.pt-vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.pt-vd-wrap { padding-top: 20px; padding-bottom: 64px; }
	.pt-vd-tools { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; }
	.pt-vd-chips { flex-wrap: wrap; overflow: visible; mask-image: none; -webkit-mask-image: none; }
	.pt-vd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
	.pt-vd-vp { grid-template-columns: 172px minmax(0, 1fr) 240px; gap: 22px; padding: 22px 24px 22px 12px; border-radius: 20px; color: #00184a; background: linear-gradient(112deg, #ffffff 0%, #f1f6ff 46%, #dfeaff 100%); border: 1px solid #d6e2f7; box-shadow: 0 10px 28px rgba(0, 24, 74, .08); overflow: visible; }
	.pt-vd-vp::before { right: auto; left: -30px; top: -70px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(250, 210, 20, .32), rgba(250, 210, 20, 0) 68%); }
	.pt-vd-vp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 86% 0%, rgba(0, 74, 235, .12), transparent 34%); }
	.pt-vd-vp-pic { z-index: 1; align-self: center; width: 172px; height: 152px; border-radius: 0; background: none; overflow: visible; box-shadow: none; filter: drop-shadow(0 12px 16px rgba(0, 24, 74, .22)); }
	.pt-vd-vp-pic img { width: auto; height: 152px; object-fit: contain; object-position: center bottom; }
	.pt-vd-vp-chip { position: absolute; right: -14px; top: 2px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 12px; background: #fff; color: #00184a; font-size: 10.5px; line-height: 1.2; font-weight: 700; border: 1px solid #dbe5f5; box-shadow: 0 8px 18px rgba(0, 24, 74, .16); transform: rotate(-6deg); white-space: nowrap; animation: pt-vd-bob 3.4s ease-in-out infinite; }
	.pt-vd-vp-chip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #12b76a; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; }
	.pt-vd-vp-chip i::before { content: "\2713"; }
	.pt-vd-vp-chip > span { display: grid; }
	.pt-vd-vp-chip b { font-size: 12px; font-weight: 900; color: #0a7a4a; }
	@keyframes pt-vd-bob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-4px); } }
	@media (prefers-reduced-motion: reduce) { .pt-vd-vp-chip { animation: none; } }
	.pt-vd-vp-txt { z-index: 1; }
	.pt-vd-vp-eyebrow { height: 24px; padding: 0 10px; background: #fff3e0; border: 1px solid #ffd699; color: #c45f00; font-size: 11.5px; letter-spacing: .3px; }
	.pt-vd-vp h2 { margin: 10px 0 6px; font-size: 24px; line-height: 1.2; letter-spacing: -.3px; color: #00184a; }
	.pt-vd-vp h2 .pt-vd-vp-nb-hl { color: #004aeb; }
	.pt-vd-vp p { font-size: 13px; line-height: 1.55; max-width: 520px; color: #3c4d68; }
	.pt-vd-vp ul { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12px; color: #00184a; }
	.pt-vd-vp li { padding: 4px 10px 4px 5px; border-radius: 999px; background: #fff; border: 1px solid #d6e2f7; }
	.pt-vd-vp-cta { grid-column: auto; align-self: stretch; justify-content: center; gap: 10px; margin: 0; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid #d6e2f7; box-shadow: 0 6px 18px rgba(0, 24, 74, .08); }
	.pt-vd-vp-steps { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; font-weight: 700; color: #00184a; white-space: nowrap; }
	.pt-vd-vp-steps b { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #004aeb; color: #fff; font-size: 10.5px; font-weight: 900; margin-right: 1px; }
	.pt-vd-vp-steps i { width: 10px; height: 1px; background: #c3d2ea; margin: 0 2px; }
	.pt-vd-vp-cta a { width: 100%; height: 46px; padding: 0 12px; font-size: 14px; white-space: nowrap; border-radius: 12px; background: linear-gradient(180deg, #ffa726, #fe9300); color: #2b1700 !important; box-shadow: 0 8px 18px rgba(254, 147, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .4); }
	.pt-vd-vp-cta small { font-size: 11.5px; line-height: 1.4; color: #5b6b85; }
	.pt-vd-vp-cta small b { color: #00184a; }
}

/* Vendor Portal banner, desktop: the cleaner grid from the prototype (artifact comment 6 Nov): Taggy on the floor
   spanning both rows, text and CTA card centred against each other, the three pills in one strip underneath. */
.pt-vd-vp-list { order: 2; }
.pt-vd-vp-cta { order: 3; }
@media (max-width: 1023px) {
	.pt-vd-vp > .pt-vd-vp-list { grid-column: 2; margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.pt-vd-vp > .pt-vd-vp-list { grid-column: 2 / -1; }
}
@media (min-width: 1024px) {
	.pt-vd-vp { grid-template-columns: 150px minmax(0, 1fr) 224px; grid-template-rows: auto auto; gap: 0 20px; align-items: center; padding: 20px 22px 0 10px; }
	.pt-vd-vp-pic { grid-column: 1; grid-row: 1 / 3; align-self: end; width: 150px; height: 144px; filter: drop-shadow(0 10px 14px rgba(0, 24, 74, .2)); }
	.pt-vd-vp-pic img { height: 144px; }
	.pt-vd-vp-chip { right: -4px; top: -8px; transform: rotate(-4deg); animation-name: pt-vd-vp-bob2; }
	@keyframes pt-vd-vp-bob2 { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-4px); } }
	.pt-vd-vp-txt { grid-column: 2; grid-row: 1; align-self: center; padding-bottom: 14px; }
	.pt-vd-vp h2 { margin: 8px 0 6px; font-size: 22px; line-height: 1.25; text-wrap: balance; }
	.pt-vd-vp p { max-width: none; font-size: 12.5px; line-height: 1.5; }
	.pt-vd-vp-cta { grid-column: 3; grid-row: 1; order: 0; align-self: center; margin: 0 0 14px; padding: 14px 12px; }
	.pt-vd-vp-cta a { height: 44px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
	.pt-vd-vp-cta small { font-size: 11px; line-height: 1.4; }
	.pt-vd-vp-cta small b { display: block; }
	.pt-vd-vp-sep { display: none; }
	.pt-vd-vp > .pt-vd-vp-list { grid-column: 2 / 4; grid-row: 2; order: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0 16px; border-top: 1px solid #d6e2f7; font-size: 12px; }
}

/* desktop banner after the user's reference picture (6 Nov): taller card, two-line heading, "เริ่มขายบน PriceTag" panel with a big orange button, pill strip below */
.pt-vd-vp-short, .pt-vd-vp-ttl { display: none; }
.pt-vd-vp-clock { display: none; }
@media (min-width: 1024px) {
	.pt-vd-vp { grid-template-columns: 200px minmax(0, 1fr) 290px; gap: 0 28px; padding: 26px 28px 0 14px; border-radius: 22px; }
	.pt-vd-vp-pic { width: 200px; height: 196px; align-self: end; filter: drop-shadow(0 12px 16px rgba(0, 24, 74, .22)); }
	.pt-vd-vp-pic img { height: 196px; }
	.pt-vd-vp-chip { right: auto; left: -6px; top: 34px; padding: 8px 14px 8px 9px; border-radius: 14px; font-size: 12px; transform: rotate(-6deg); }
	.pt-vd-vp-chip i { width: 24px; height: 24px; font-size: 14px; }
	.pt-vd-vp-chip b { font-size: 14px; }
	@keyframes pt-vd-vp-bob2 { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-4px); } }
	.pt-vd-vp-txt { padding-bottom: 22px; }
	.pt-vd-vp-eyebrow { height: 28px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
	.pt-vd-vp h2 { margin: 14px 0 10px; font-size: 28px; line-height: 1.2; letter-spacing: -.2px; }
	.pt-vd-vp h2 .pt-vd-vp-nb-hl { display: block; }
	.pt-vd-vp p { max-width: 560px; font-size: 14.5px; line-height: 1.6; }
	.pt-vd-vp-cta { gap: 12px; margin: 0 0 22px; padding: 20px 18px 18px; border-radius: 18px; }
	.pt-vd-vp-ttl { display: block; font-size: 19px; font-weight: 900; color: #00184a; line-height: 1.2; }
	.pt-vd-vp-steps { gap: 6px; font-size: 12.5px; }
	.pt-vd-vp-steps b { width: 20px; height: 20px; font-size: 11.5px; }
	.pt-vd-vp-steps i { width: 14px; }
	.pt-vd-vp-long { display: none; }
	.pt-vd-vp-short { display: inline; }
	.pt-vd-vp-cta a { justify-content: space-between; height: 52px; padding: 0 16px 0 20px; font-size: 19px; border-radius: 14px; }
	.pt-vd-vp-cta a svg { width: 22px; height: 22px; }
	.pt-vd-vp-cta small { font-size: 13px; line-height: 1.5; color: #3c4d68; }
	.pt-vd-vp-cta small b { font-size: 14.5px; font-weight: 900; }
	.pt-vd-vp-time { display: inline-flex; align-items: center; gap: 6px; }
	.pt-vd-vp-clock { display: inline-block; width: 16px; height: 16px; color: #5b6b85; }
	.pt-vd-vp > .pt-vd-vp-list { gap: 10px; padding: 16px 0 22px; font-size: 13.5px; }
	.pt-vd-vp li { padding: 7px 14px 7px 8px; font-weight: 800; }
	.pt-vd-vp li::before { width: 20px; height: 20px; font-size: 12px; }
}

/* Desktop horizontal banner, 6 Nov evening (prototype v6b-vendor-promo-light, user's reference image): Taggy with the
   chip on the left, eyebrow + two-line headline + one line + two benefit pills in the middle, a white
   "เริ่มขายบน PriceTag" card on the right. Phone keeps the long paragraph, three benefits and its own layout. */
.pt-vd-vp-pshort { display: none; }
@media (min-width: 1024px) {
	.pt-vd-vp { grid-template-columns: 184px minmax(0, 1fr) 300px; grid-template-rows: auto auto; gap: 0 26px; align-items: center; padding: 22px 22px 22px 14px; border-radius: 22px; color: #00184a; background: linear-gradient(112deg, #fbfdff 0%, #eef4ff 50%, #e2ecff 100%); border: 1px solid #d6e2f7; box-shadow: 0 10px 28px rgba(0, 24, 74, .08); }
	.pt-vd-vp::before { right: auto; left: -40px; top: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(250, 210, 20, .26), rgba(250, 210, 20, 0) 68%); }
	.pt-vd-vp::after { background: radial-gradient(circle at 88% 0%, rgba(0, 74, 235, .10), transparent 36%); }
	.pt-vd-vp-pic { grid-column: 1; grid-row: 1 / 3; align-self: end; width: 184px; height: 200px; filter: drop-shadow(0 12px 16px rgba(0, 24, 74, .2)); }
	.pt-vd-vp-pic img { height: 200px; }
	.pt-vd-vp-chip { right: auto; left: 0; top: 6px; padding: 6px 11px 6px 7px; border-radius: 12px; font-size: 10.5px; transform: rotate(-5deg); animation-name: pt-vd-vp-bob3; }
	.pt-vd-vp-chip i { width: 20px; height: 20px; font-size: 12px; }
	.pt-vd-vp-chip b { font-size: 12px; }
	@keyframes pt-vd-vp-bob3 { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-4px); } }
	.pt-vd-vp-txt { grid-column: 2; grid-row: 1; align-self: end; padding-bottom: 0; }
	.pt-vd-vp-eyebrow { height: 28px; padding: 0 16px; font-size: 13px; letter-spacing: .2px; }
	.pt-vd-vp h2 { margin: 12px 0 6px; font-size: 30px; line-height: 1.2; letter-spacing: -.4px; }
	.pt-vd-vp p { max-width: none; font-size: 14.5px; line-height: 1.55; }
	.pt-vd-vp-plong { display: none; }
	.pt-vd-vp-pshort { display: inline; }
	.pt-vd-vp > .pt-vd-vp-list { grid-column: 2; grid-row: 2; align-self: start; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #d6e2f7; gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
	.pt-vd-vp li { padding: 8px 14px 8px 8px; }
	.pt-vd-vp li:nth-child(3) { display: none; }
	.pt-vd-vp li::before { width: 22px; height: 22px; font-size: 12px; }
	.pt-vd-vp-cta { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; gap: 12px; padding: 20px 18px 18px; border-radius: 18px; background: #fff; border: 1px solid #e1e9f6; box-shadow: 0 8px 22px rgba(0, 24, 74, .08); text-align: center; }
	.pt-vd-vp-ttl { font-size: 21px; line-height: 1.2; }
	.pt-vd-vp-steps { gap: 4px; font-size: 12px; font-weight: 700; color: #00184a; white-space: nowrap; }
	.pt-vd-vp-steps b { width: 20px; height: 20px; font-size: 11px; margin-right: 2px; }
	.pt-vd-vp-steps i { width: auto; height: auto; margin: 0 2px; background: none; color: #9db8f2; font-style: normal; }
	.pt-vd-vp-steps i::before { content: "\2192"; }
	.pt-vd-vp-cta a { justify-content: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 14px; background: linear-gradient(180deg, #ff8f2b, #ef6c0d); color: #fff; font-size: 19px; font-weight: 900; box-shadow: 0 8px 18px rgba(239, 108, 13, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
	.pt-vd-vp-cta a:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(239, 108, 13, .4); }
	.pt-vd-vp-cta a svg { width: 22px; height: 22px; }
	.pt-vd-vp-cta small { display: grid; justify-items: center; gap: 3px; font-size: 12.5px; line-height: 1.35; color: #5b6b85; }
	.pt-vd-vp-cta small b { display: block; font-size: 15.5px; font-weight: 900; color: #00184a; }
	.pt-vd-vp-time { gap: 6px; }
	.pt-vd-vp-clock { width: 16px; height: 16px; }
}

/* Phone banner, 6 Nov evening (user's poster): light card, eyebrow pill on top, Taggy left, three-line heading +
   one line + two short pills right, full-width orange CTA, then vendor.pricetag.online · clock + time. */
.pt-vd-vp-eb-short, .pt-vd-vp-li-short, .pt-vd-vp-tm-short, .pt-vd-vp-pmob { display: none; }
@media (max-width: 1023px) {
	.pt-vd-vp { grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto; gap: 0 10px; align-items: end; padding: 14px 14px 16px; border-radius: 22px; color: #00184a; background: linear-gradient(160deg, #f8fbff 0%, #e9f0ff 100%); border: 1px solid #d6e2f7; box-shadow: 0 8px 22px rgba(0, 24, 74, .08); overflow: hidden; }
	.pt-vd-vp::before { right: auto; left: -40px; top: 40px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(250, 210, 20, .22), rgba(250, 210, 20, 0) 68%); }
	.pt-vd-vp > * { position: relative; z-index: 1; }
	.pt-vd-vp .pt-vd-vp-txt, .pt-vd-vp .pt-vd-vp-cta { display: contents; }
	.pt-vd-vp .pt-vd-vp-eyebrow { grid-column: 1 / -1; grid-row: 1; justify-self: center; height: 28px; padding: 0 16px; margin: 0 0 10px; border-radius: 999px; background: #fff3e0; border: 1px solid #ffd699; color: #c45f00; font-size: 13px; font-weight: 800; white-space: nowrap; }
	.pt-vd-vp .pt-vd-vp-eb-long, .pt-vd-vp .pt-vd-vp-plong, .pt-vd-vp .pt-vd-vp-pshort, .pt-vd-vp .pt-vd-vp-li-long, .pt-vd-vp .pt-vd-vp-tm-long, .pt-vd-vp .pt-vd-vp-ttl, .pt-vd-vp .pt-vd-vp-steps, .pt-vd-vp .pt-vd-vp-chip, .pt-vd-vp .pt-vd-vp-long, .pt-vd-vp .pt-vd-vp-sep, .pt-vd-vp li:nth-child(3) { display: none; }
	.pt-vd-vp .pt-vd-vp-eb-short, .pt-vd-vp .pt-vd-vp-pmob, .pt-vd-vp .pt-vd-vp-li-short, .pt-vd-vp .pt-vd-vp-tm-short, .pt-vd-vp .pt-vd-vp-short { display: inline; }
	.pt-vd-vp .pt-vd-vp-pic { grid-column: 1; grid-row: 2 / 5; align-self: end; justify-self: center; width: 100%; max-width: 150px; height: auto; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; display: grid; place-items: end center; filter: drop-shadow(0 10px 12px rgba(0, 24, 74, .18)); }
	.pt-vd-vp .pt-vd-vp-pic img { width: 100%; height: auto; max-width: none; margin: 0; object-fit: contain; }
	.pt-vd-vp h2 { grid-column: 2; grid-row: 2; margin: 0; font-size: 21px; line-height: 1.22; font-weight: 900; letter-spacing: -.3px; color: #00184a; text-wrap: initial; }
	.pt-vd-vp h2 .pt-vd-vp-nb { display: block; white-space: nowrap; }
	.pt-vd-vp h2 .pt-vd-vp-nb-hl { color: #004aeb; }
	.pt-vd-vp p { grid-column: 2; grid-row: 3; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #d6e2f7; max-width: none; font-size: 13px; line-height: 1.45; color: #3c4d68; }
	.pt-vd-vp > ul, .pt-vd-vp .pt-vd-vp-list { grid-column: 2; grid-row: 4; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; order: 0; font-size: 12.5px; color: #00184a; }
	.pt-vd-vp li { gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid #d6e2f7; font-weight: 800; white-space: nowrap; }
	.pt-vd-vp li::before { width: 18px; height: 18px; font-size: 10px; background: #12b76a; color: #fff; }
	.pt-vd-vp .pt-vd-vp-cta a { grid-column: 1 / -1; grid-row: 5; display: flex; justify-content: space-between; align-items: center; width: 100%; height: 52px; margin: 14px 0 0; padding: 0 18px 0 20px; border-radius: 16px; background: linear-gradient(180deg, #ff8f2b, #ef6c0d); color: #fff; font-size: 19px; font-weight: 900; box-shadow: 0 8px 18px rgba(239, 108, 13, .32), inset 0 1px 0 rgba(255, 255, 255, .35); white-space: nowrap; }
	.pt-vd-vp .pt-vd-vp-cta a .pt-vd-vp-short { flex: 1; text-align: center; }
	.pt-vd-vp .pt-vd-vp-cta a svg { width: 22px; height: 22px; }
	.pt-vd-vp .pt-vd-vp-cta small { grid-column: 1 / -1; grid-row: 6; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0 0; font-size: 12.5px; line-height: 1.3; color: #3c4d68; }
	.pt-vd-vp .pt-vd-vp-cta small b { font-size: 14px; font-weight: 900; color: #00184a; }
	.pt-vd-vp .pt-vd-vp-time { display: inline-flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid #c9d6ee; }
	.pt-vd-vp .pt-vd-vp-clock { display: inline-block; width: 15px; height: 15px; color: #5b6b85; }
}

/* 16 Nov 2026, owner comment (phone): the four jump tiles in the shops header did not look like buttons. Phone only:
   a solid white tile with dark text, one per row so the text has room, a round arrow on the right that says "go down to this part", and a press state. */
@media (max-width: 1023px) {
	.pt-vd-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.pt-vd-steps a { grid-template-columns: 26px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-color: #fff; color: #00184a !important; box-shadow: 0 4px 12px rgba(0, 24, 74, .25); }
	.pt-vd-steps a:hover, .pt-vd-steps a:active { background: #eef3ff; }
	.pt-vd-steps a:active { transform: translateY(1px); }
	.pt-vd-steps small { color: #5b6b85; }
	.pt-vd-steps a::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: #004aeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; }
}
