/* ============================================================
   BLACKLENS — ROUND 278 (operator 2026-11-10): SUBMISSION for customers
   1 · HOW DO THEY COME? on step 2 CARDS: raw, in a slab (+฿50 a card), kept in their holder (+฿30 a card)
   2 · HOW IT WORKS on the prices page, and the tutorial itself (js/rqtour.js): seven cards, a computer pop-up or a phone sheet
   ============================================================ */

/* ---- 1 · the counts ---- */
.rq-cond { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 16px; background: #141414; border: 1px solid #2c2c2c; }
.rq-cond .rq-cap2 { margin: 0 0 2px; }
.rq-crow { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; border-top: 1px solid #222; }
.rq-crow:first-of-type { border-top: 0; }
.rq-ck { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.rq-ck b { flex: 0 0 100%; font-size: 12.5px; letter-spacing: 1.4px; color: #f2f2f2; font-weight: 600; }
.rq-ck i { font-style: normal; font-size: 11.5px; color: #8f8f8f; line-height: 1.4; }
.rq-ck em { font-style: normal; font-size: 12px; font-weight: 600; color: #ab9b6f; }
.rq-ck i.rq-ea { color: #ab9b6f; }
.rq-cn { flex: 0 0 auto; min-width: 116px; text-align: center; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.rq-stepper.sm { flex: 0 0 auto; gap: 4px; }
.rq-stepper.sm button { flex: 0 0 36px; height: 36px; border-radius: 9px; font-size: 18px; }
.rq-stepper.sm button:disabled { opacity: .35; cursor: default; border-color: #3a3a3a; }
.rq-stepper.sm input { flex: 0 0 44px; height: 36px; border-radius: 9px; font-size: 17px; }
.rq-fee.rq-feetot { border-top: 1px solid #2c2c2c; padding-top: 6px; margin-top: 2px; }
.rq-fee.rq-feetot span { letter-spacing: 1.5px; font-size: 11px; color: #bdbdbd; }
.rqi-cond { color: #d8c89a; font-weight: 600; letter-spacing: .4px; }

/* ---- 2 · HOW IT WORKS ---- */
.rq-howto { align-self: flex-end; display: inline-flex; align-items: center; gap: 7px; height: 30px; margin: -4px 0 0; padding: 0 12px 0 6px; border-radius: 8px;
  border: 1px solid #55503a; background: #1d1a10; color: #d8c89a; font: inherit; font-size: 11px; letter-spacing: 1.5px; cursor: pointer; }
.rq-howto:hover { border-color: #ab9b6f; color: #f2e7c4; }
.rq-howq { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: #ab9b6f; color: #1b1b1b; font-style: normal; font-size: 12px; font-weight: 700; }

/* ---- 3 · THIS MONTH'S PROMOTION (round 284): a pop-up on entering SUBMISSION, no longer a banner on its prices page ---- */
.rq-hubbtns { align-self: flex-end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: -4px 0 0; }
.rq-hubbtns .rq-howto { margin: 0; align-self: auto; }
.rqp { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.66); }
.rqp[hidden] { display: none; }
.rqp-win { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px;
  background: #1f1f1f; border: 1px solid #3a3a3a; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.6); color: #f2f2f2; }
html[lang="th"] .rqp-win { font-family: 'Sarabun', 'Kanit', inherit; }
.rqp-top { display: flex; align-items: center; gap: 10px; }
.rqp-top b { font-size: 12px; letter-spacing: 2.4px; color: #d8c89a; }
.rqp-x { margin-left: auto; width: 32px; height: 32px; border-radius: 8px; border: 1px solid #3a3a3a; background: transparent; color: #d9d9d9; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.rqp-x:hover { border-color: #7f7f7f; color: #fff; }
.rqp-foot { display: flex; justify-content: flex-end; gap: 8px; }
.rqp-never, .rqp-close { height: 40px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 12px; letter-spacing: 1.6px; cursor: pointer; }
.rqp-never { border: 1px solid #3a3a3a; background: #262626; color: #d9d9d9; }
.rqp-never:hover { border-color: #7f7f7f; }
.rqp-close { border: 0; background: #DC4F4C; color: #fff; font-weight: 600; }
.rqp-close:hover { background: #e5605d; }
body.mv .rqp { align-items: flex-end; padding: 0; }
body.mv .rqp-win { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
body.mv .rqp-foot > * { flex: 1; }

.rqt { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.66); }
.rqt[hidden] { display: none; }
.rqt-win { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 16px;
  background: #1f1f1f; border: 1px solid #3a3a3a; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.6); color: #f2f2f2; }
html[lang="th"] .rqt-win { font-family: 'Sarabun', 'Kanit', inherit; }
.rqt-top { display: flex; align-items: center; gap: 10px; }
.rqt-top b { font-size: 12px; letter-spacing: 2.4px; color: #d8c89a; }
.rqt-top span { font-size: 11px; color: #8f8f8f; letter-spacing: .6px; }
.rqt-skip { margin-left: auto; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid #3a3a3a; background: transparent; color: #a6a6a6; font: inherit; font-size: 10.5px; letter-spacing: 1.4px; cursor: pointer; }
.rqt-skip:hover { color: #fff; border-color: #7f7f7f; }
.rqt-bar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rqt-bar i { height: 4px; border-radius: 2px; background: #333; }
.rqt-bar i.done { background: #7f6f45; }
.rqt-bar i.now { background: #ab9b6f; }
.rqt-pic { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 14px; border-radius: 12px; background: #141414; border: 1px solid #2a2a2a; }
.rqt-win h3 { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; font-size: 19px; font-weight: 600; letter-spacing: .3px; }
.rqt-win h3 span { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #DC4F4C; color: #fff; font-size: 13px; }
.rqt-win p { margin: 0; font-size: 14px; line-height: 1.55; color: #cfcfcf; }
.rqt-foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.rqt-never { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-size: 12px; color: #a6a6a6; cursor: pointer; user-select: none; }
.rqt-never input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rqt-never i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid #5a5a5a; background: #0f0f0f; position: relative; }
.rqt-never input:checked + i { background: #ab9b6f; border-color: #ab9b6f; }
.rqt-never input:checked + i::after { content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #1b1b1b; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rqt-never input:focus-visible + i { outline: 2px solid #ab9b6f; outline-offset: 2px; }
.rqt-back, .rqt-next { height: 40px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 12px; letter-spacing: 1.6px; cursor: pointer; }
.rqt-back { border: 1px solid #3a3a3a; background: #262626; color: #d9d9d9; }
.rqt-next { border: 0; background: #DC4F4C; color: #fff; font-weight: 600; }
.rqt-back:hover { border-color: #7f7f7f; }
.rqt-next:hover { background: #e5605d; }

/* the pictures: small drawings of the real screens */
.rqt-pic i { font-style: normal; }
.rqt-prices { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 6px; }
.rqt-prices > i { font-size: 10px; letter-spacing: 1.8px; color: #8f8f8f; }
.rqt-prices div { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border-radius: 9px; background: #1d1d1d; border: 1px solid #2c2c2c; }
.rqt-prices b { font-size: 14px; } .rqt-prices span { flex: 1 1 auto; font-size: 11.5px; color: #8f8f8f; } .rqt-prices em { font-style: normal; font-size: 16px; color: #fff; font-weight: 600; }
.rqt-svc { width: 100%; max-width: 400px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rqt-svc > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 10px; border: 1px solid #333; background: #1d1d1d; }
.rqt-svc > div.on { border-color: #DC4F4C; background: #2a1716; }
.rqt-svc b { font-size: 12px; letter-spacing: 1px; } .rqt-svc span { font-size: 11px; color: #8f8f8f; }
.rqt-tiers { grid-column: 1 / -1; display: flex; gap: 6px; }
.rqt-tiers i { flex: 1 1 0; text-align: center; padding: 7px 4px; border-radius: 8px; border: 1px solid #333; font-size: 11px; color: #a6a6a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rqt-tiers i.on { border-color: #4a7bd1; color: #cfe0ff; background: #15233b; }
.rqt-count { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rqt-count > i { font-size: 10.5px; letter-spacing: 2px; color: #bdbdbd; }
.rqt-count div { display: flex; gap: 6px; }
.rqt-count span, .rqt-count b { display: inline-flex; align-items: center; justify-content: center; height: 50px; border-radius: 11px; border: 1px solid #3a3a3a; }
.rqt-count span { width: 50px; font-size: 22px; background: #1e1e1e; } .rqt-count b { width: 110px; font-size: 26px; background: #0f0f0f; }
.rqt-cond { width: 100%; max-width: 380px; display: flex; flex-direction: column; }
.rqt-cond div { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-top: 1px solid #262626; }
.rqt-cond div:first-child { border-top: 0; }
.rqt-cond b { flex: 1 1 auto; font-size: 12.5px; letter-spacing: 1.2px; } .rqt-cond span { font-size: 12px; color: #ab9b6f; font-weight: 600; }
.rqt-cond em { font-style: normal; width: 44px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #3a3a3a; background: #0f0f0f; font-size: 16px; }
.rqt-hand { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.rqt-hand div { display: flex; align-items: center; gap: 6px; }
.rqt-hand i { width: 52px; font-size: 10px; letter-spacing: 1.6px; color: #8f8f8f; }
.rqt-hand b { flex: 1 1 0; text-align: center; padding: 9px 6px; border-radius: 9px; border: 1px solid #333; font-size: 12px; font-weight: 500; color: #a6a6a6; }
.rqt-hand b.on { border-color: #DC4F4C; color: #fff; background: #2a1716; }
.rqt-bill { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 5px; padding: 10px 14px; border-radius: 10px; background: #f2f2f2; color: #262626; }
.rqt-bill div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.rqt-bill div.tot { margin-top: 3px; padding-top: 6px; border-top: 1px dashed #a6a6a6; font-size: 14px; }
.rqt-bill div.tot span { letter-spacing: 1.6px; font-weight: 600; }
.rqt-pay { display: flex; align-items: center; gap: 16px; }
.rqt-pay .qr { width: 76px; height: 76px; border-radius: 6px; background:
  conic-gradient(from 90deg at 30% 30%, #262626 25%, transparent 0) 0 0 / 14px 14px, linear-gradient(#f2f2f2, #f2f2f2); border: 6px solid #f2f2f2; box-shadow: 0 0 0 1px #3a3a3a; }
.rqt-pay .qr.sm { width: 26px; height: 26px; border-width: 2px; background-size: 6px 6px, auto; }
.rqt-pay > div { display: flex; flex-direction: column; gap: 3px; }
.rqt-pay i { font-size: 10px; letter-spacing: 1.8px; color: #8f8f8f; } .rqt-pay b { font-size: 22px; } .rqt-pay em { font-style: normal; font-size: 11.5px; color: #7ed4a6; letter-spacing: 1px; }
.rqt-pay .pass { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 8px; border: 1px dashed #55503a; font-size: 10px; letter-spacing: 1.6px; color: #d8c89a; }

/* a phone: a sheet from the bottom */
body.mv .rqt { align-items: flex-end; padding: 0; }
body.mv .rqt-win { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
body.mv .rqt-pic { min-height: 132px; padding: 10px; }
body.mv .rqt-win h3 { font-size: 17px; }
body.mv .rqt-win p { font-size: 13.5px; }
body.mv .rqt-foot { flex-wrap: wrap; }
body.mv .rqt-never { flex: 0 0 100%; margin: 0 0 4px; }
body.mv .rqt-next { flex: 1 1 auto; }
@media (max-width: 420px) { .rq-cn { min-width: 0; } .rq-crow { gap: 8px; } }
