/* QWC Water Auction - public pages */
.qwc-wide, .qwc-lot, .qwc-cards, .qwc-form, .qwc-note, .qwc-msg {
  --qwc-blue: #2c2c86; --qwc-blue-d: #1f1f66; --qwc-ink: #1b1d2e; --qwc-mute: #5f6378; --qwc-line: #e3e5ef;
  --qwc-bg: #f5f6fb; --qwc-ok: #17794a; --qwc-err: #b3261e; --qwc-r: 14px; --qwc-shadow: 0 1px 2px rgba(20,20,60,.05), 0 8px 24px rgba(20,20,60,.07);
  box-sizing: border-box; color: var(--qwc-ink);
}
.qwc-wide *, .qwc-lot *, .qwc-cards *, .qwc-form * { box-sizing: border-box; }

/* give lot pages and the lot grid room even when the theme uses a narrow reading column */
.qwc-wide { width: 100vw; max-width: none; position: relative; left: 50%; transform: translateX(-50%); padding: 8px clamp(16px, 3.4vw, 64px) 56px; }
body.qwc-fullwidth { overflow-x: hidden; }
body.qwc-fullwidth .wp-site-blocks > main, body.qwc-fullwidth main.wp-block-group { padding-left: 0 !important; padding-right: 0 !important; }
body.qwc-has-listing .wp-block-post-title, body.qwc-has-listing .entry-title, body.qwc-has-listing .entry-header { display: none !important; }

/* hide the theme's own title/date for lot pages - the lot header below replaces them */
body.single-qwc_lot .wp-block-post-title, body.single-qwc_lot .wp-block-post-date, body.single-qwc_lot .wp-block-post-author,
body.single-qwc_lot .wp-block-post-author-name, body.single-qwc_lot .wp-block-post-terms, body.single-qwc_lot .entry-header,
body.single-qwc_lot .entry-meta, body.single-qwc_lot .post-meta, body.single-qwc_lot .wp-block-post-featured-image { display: none !important; }

/* buttons + pills */
.qwc-btn { display: inline-block; padding: 11px 20px; border: 1.5px solid var(--qwc-blue); border-radius: 10px; background: #fff; color: var(--qwc-blue); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; margin: 4px 8px 4px 0; transition: background .15s, transform .05s; }
.qwc-btn:hover { background: var(--qwc-bg); }
.qwc-btn:active { transform: translateY(1px); }
.qwc-btn--primary { background: var(--qwc-blue); color: #fff; }
.qwc-btn--primary:hover { background: var(--qwc-blue-d); }
.qwc-btn[disabled] { opacity: .55; cursor: wait; }
.qwc-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--qwc-line); color: var(--qwc-mute); }
.qwc-pill--open { background: #dff3e8; color: var(--qwc-ok); }
.qwc-pill--upcoming { background: #e6e7f8; color: var(--qwc-blue); }

/* messages */
.qwc-msg { padding: 11px 15px; border-radius: 10px; margin: 12px 0; border: 1px solid; font-size: 14px; }
.qwc-msg--ok { background: #e8f6ee; border-color: #b9e1c9; color: #11593a; }
.qwc-msg--info { background: #eef0fb; border-color: #c9ceef; color: #2b3480; }
.qwc-msg--err { background: #fdecea; border-color: #f3c0bb; color: var(--qwc-err); }
.qwc-note { padding: 11px 15px; background: var(--qwc-bg); border-radius: 10px; margin: 10px 0; }
.qwc-ok { color: var(--qwc-ok); font-weight: 600; }

/* ---------- single lot ---------- */
.qwc-crumb { margin: 0 0 6px; font-size: 14px; }
.qwc-crumb a { color: var(--qwc-mute); text-decoration: none; }
.qwc-crumb a:hover { color: var(--qwc-blue); }
.qwc-hero { margin: 0 0 22px; }
.qwc-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--qwc-blue); }
.qwc-hero__title { margin: 0 0 12px; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; color: var(--qwc-ink); }
.qwc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qwc-chips li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--qwc-line); font-size: 13.5px; font-weight: 600; color: var(--qwc-ink); }
.qwc-chips li:first-child { background: var(--qwc-blue); border-color: var(--qwc-blue); color: #fff; }

.qwc-lot__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .qwc-lot__grid { grid-template-columns: 1fr; gap: 22px; } .qwc-lot__right { order: -1; position: static !important; } }

.qwc-gal { margin-bottom: 8px; }
.qwc-gal__main img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--qwc-r); display: block; box-shadow: var(--qwc-shadow); background: var(--qwc-bg); }
.qwc-gal__thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.qwc-gal__t { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; line-height: 0; overflow: hidden; }
.qwc-gal__t img { width: 84px; height: 60px; object-fit: cover; display: block; }
.qwc-gal__t:hover { border-color: var(--qwc-blue); }

.qwc-sec { margin: 26px 0 0; }
.qwc-sec h2 { margin: 0 0 12px; font-size: 20px; color: var(--qwc-ink); }
.qwc-desc { line-height: 1.7; font-size: 16px; color: #2c2f45; }
.qwc-desc p:first-child { margin-top: 0; }
.qwc-facts { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--qwc-line); border-radius: var(--qwc-r); overflow: hidden; }
.qwc-facts th, .qwc-facts td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--qwc-line); vertical-align: top; font-size: 15px; }
.qwc-facts tr:last-child th, .qwc-facts tr:last-child td { border-bottom: 0; }
.qwc-facts th { width: 38%; color: var(--qwc-mute); font-weight: 600; background: var(--qwc-bg); }
.qwc-map { height: 360px; border-radius: var(--qwc-r); border: 1px solid var(--qwc-line); z-index: 0; overflow: hidden; }

/* bid panel */
.qwc-lot__right { position: sticky; top: 24px; }
.qwc-panel { border: 1px solid var(--qwc-line); border-radius: var(--qwc-r); padding: 22px; background: #fff; box-shadow: var(--qwc-shadow); position: relative; overflow: hidden; }
.qwc-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--qwc-blue), #4b4bd0); }
.qwc-price-label { color: var(--qwc-mute); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 12px; }
.qwc-price { font-size: 40px; font-weight: 800; color: var(--qwc-blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.qwc-price-total { color: var(--qwc-mute); font-size: 14px; min-height: 1.2em; margin-top: 2px; }
.qwc-timer { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--qwc-bg); font-size: 14px; color: var(--qwc-mute); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qwc-timer strong { font-variant-numeric: tabular-nums; font-size: 20px; color: var(--qwc-ink); }
.qwc-timer-sub { color: var(--qwc-mute); font-size: 12.5px; min-height: 1.2em; margin-top: 6px; }
.qwc-flags { margin-top: 8px; font-size: 14px; color: var(--qwc-mute); display: flex; gap: 14px; flex-wrap: wrap; }
.qwc-youbar { margin-top: 14px; padding: 10px 13px; border-radius: 10px; background: var(--qwc-bg); font-weight: 600; font-size: 14px; }
.qwc-youbar:empty { display: none; }
.qwc-youbar--lead, .qwc-youbar--win { background: #e8f6ee; color: #11593a; }
.qwc-youbar--out { background: #fdf1e4; color: #8a4b08; }
.qwc-bidbox { margin-top: 16px; }

.qwc-bidform label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.qwc-bidform input[type=number] { width: 100%; padding: 12px 14px; font-size: 20px; border: 1.5px solid #b9bdd3; border-radius: 10px; font-variant-numeric: tabular-nums; }
.qwc-bidform input[type=number]:focus { outline: 3px solid rgba(44,44,134,.18); border-color: var(--qwc-blue); }
.qwc-bidform .qwc-btn { width: 100%; text-align: center; margin: 4px 0 0; padding: 13px 20px; font-size: 16px; }
.qwc-minhint, .qwc-esttotal { font-size: 13px; color: var(--qwc-mute); margin: 6px 0; min-height: 1.1em; }
.qwc-check { display: block; font-weight: 400 !important; font-size: 13px; margin: 10px 0 12px; line-height: 1.45; color: var(--qwc-mute); }
.qwc-check input { margin-right: 6px; }

.qwc-history { margin-top: 18px; background: #fff; border: 1px solid var(--qwc-line); border-radius: var(--qwc-r); padding: 14px 16px; }
.qwc-history h4 { margin: 0 0 8px; font-size: 15px; }
.qwc-history table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qwc-history td { padding: 6px 4px; border-bottom: 1px solid var(--qwc-line); }
.qwc-history tr:last-child td { border-bottom: 0; }
.qwc-history .qwc-amt { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.qwc-history .qwc-me td { background: #f1f2fb; }
.qwc-empty { color: var(--qwc-mute); text-align: center; padding: 10px; }

/* ---------- lot cards ---------- */
.qwc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 16px 0; }
.qwc-card { display: flex; flex-direction: column; border: 1px solid var(--qwc-line); border-radius: var(--qwc-r); overflow: hidden; background: #fff; color: inherit; text-decoration: none; box-shadow: var(--qwc-shadow); transition: box-shadow .18s, transform .18s; }
.qwc-card:hover { box-shadow: 0 2px 4px rgba(20,20,60,.06), 0 16px 36px rgba(20,20,60,.14); transform: translateY(-3px); }
.qwc-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--qwc-bg); overflow: hidden; }
.qwc-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.qwc-card:hover .qwc-card__img { transform: scale(1.04); }
.qwc-card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #4b4bd0, var(--qwc-blue)); }
.qwc-card__badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.18); background: #fff; }
.qwc-card__badge.qwc-pill--open { background: #fff; color: var(--qwc-ok); }
.qwc-card--closed .qwc-card__img { filter: grayscale(.5); }
.qwc-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.qwc-card h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; color: var(--qwc-ink); }
.qwc-card__meta { margin: 0 0 12px; color: var(--qwc-mute); font-size: 14px; }
.qwc-card__pricebox { display: flex; flex-direction: column; margin: auto 0 6px; padding-top: 10px; border-top: 1px solid var(--qwc-line); }
.qwc-card__label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--qwc-mute); }
.qwc-card__price { font-size: 26px; font-weight: 800; color: var(--qwc-blue); line-height: 1.2; font-variant-numeric: tabular-nums; }
.qwc-card__price small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.qwc-card__time { margin: 0 0 12px; color: var(--qwc-mute); font-size: 14px; }
.qwc-count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--qwc-ink); }
.qwc-card__cta { font-weight: 700; color: var(--qwc-blue); font-size: 15px; }
.qwc-card:hover .qwc-card__cta { text-decoration: underline; }

/* ---------- registration form ---------- */
.qwc-form { max-width: 680px; background: #fff; border: 1px solid var(--qwc-line); border-radius: var(--qwc-r); padding: 8px 26px 26px; box-shadow: var(--qwc-shadow); }
.qwc-form h3 { margin: 26px 0 8px; color: var(--qwc-blue); font-size: 18px; }
.qwc-form label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 14.5px; }
.qwc-form input[type=text], .qwc-form input[type=email], .qwc-form input[type=password], .qwc-form input[type=tel], .qwc-form select, .qwc-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #b9bdd3; border-radius: 10px; font: inherit; font-weight: 400; margin-top: 4px; }
.qwc-form input:focus, .qwc-form select:focus, .qwc-form textarea:focus { outline: 3px solid rgba(44,44,134,.18); border-color: var(--qwc-blue); }
.qwc-form input[type=checkbox] { margin-right: 6px; }
.qwc-terms { max-height: 200px; overflow: auto; border: 1px solid var(--qwc-line); padding: 12px 14px; border-radius: 10px; background: var(--qwc-bg); font-size: 14px; margin: 12px 0; }

/* admin command summary (front end shortcode) */
.qwc-cmd { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0; }
.qwc-cmd__tile { border: 1px solid var(--qwc-line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.qwc-cmd__n { font-size: 28px; font-weight: 800; color: var(--qwc-blue); }
.qwc-cmd__l { color: var(--qwc-mute); font-size: 13px; }

/* request-to-participate form */
.qwc-lot [hidden] { display: none !important; }
.qwc-bidform input[type=text], .qwc-bidform input[type=email], .qwc-bidform input[type=tel], .qwc-bidform select { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 11px 12px; font-size: 16px; border: 1.5px solid #b9bdd3; border-radius: 10px; background: #fff; font-weight: 400; }
.qwc-bidform input[type=text]:focus, .qwc-bidform input[type=email]:focus, .qwc-bidform input[type=tel]:focus, .qwc-bidform select:focus { outline: 3px solid rgba(44,44,134,.18); border-color: var(--qwc-blue); }
.qwc-reqform label { margin-bottom: 12px; }
.qwc-reqform .qwc-check { font-weight: 400; font-size: 13.5px; }
.qwc-panel > .qwc-bidbox > .qwc-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
.qwc-minhint { font-size: 15px; font-weight: 600; color: #2c2c86; margin: 2px 0 8px; }
.qwc-minbtn { width: 100%; margin: 0 0 8px; background: #fff; color: #2c2c86; border: 1.5px solid #2c2c86; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.qwc-minbtn:hover { background: #f1f1fa; }


/* ================= v0.7: full width, map hero, list page ================= */
.qwc-lot__grid { grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 440px); gap: clamp(22px, 3vw, 48px); }
.qwc-map--hero { width: 100%; height: clamp(340px, 52vh, 560px); border-radius: 18px; box-shadow: var(--qwc-shadow); border: 1px solid var(--qwc-line); overflow: hidden; margin: 0 0 6px; z-index: 0; background: #dfe4ee; }
.qwc-hero { padding: 6px 0 4px; }
.qwc-hero__title { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.02em; }
.qwc-sec { margin-top: 32px; }
.qwc-sec h2 { font-size: 22px; }
.qwc-facts th { width: 34%; }
.qwc-lot__right { position: sticky; top: 24px; }

/* list page */
.qwc-list { padding-top: 12px; }
.qwc-listhead { margin: 0 0 22px; max-width: 760px; }
.qwc-listhead__sub { margin: 4px 0 0; font-size: 18px; line-height: 1.55; color: var(--qwc-mute); }
.qwc-banner { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 14px; background: #eef0fb; border: 1px solid #d6daf2; margin: 0 0 22px; color: var(--qwc-ink); }
.qwc-banner svg { width: 28px; height: 28px; flex: none; color: var(--qwc-blue); }
.qwc-banner a { color: var(--qwc-blue); font-weight: 600; }
.qwc-toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin: 0 0 22px; padding: 14px 16px; background: #fff; border: 1px solid var(--qwc-line); border-radius: 16px; box-shadow: var(--qwc-shadow); }
.qwc-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.qwc-tab { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--qwc-mute); cursor: pointer; }
.qwc-tab span { display: inline-block; min-width: 22px; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--qwc-bg); font-size: 12px; text-align: center; }
.qwc-tab:hover { color: var(--qwc-blue); }
.qwc-tab.is-on { background: var(--qwc-blue); color: #fff; }
.qwc-tab.is-on span { background: rgba(255,255,255,.22); color: #fff; }
.qwc-filters { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.qwc-filters input, .qwc-filters select { padding: 10px 14px; border: 1.5px solid #cfd3e6; border-radius: 10px; background: #fff; font: inherit; min-width: 160px; }
.qwc-filters .qwc-search { flex: 1; min-width: 220px; max-width: 420px; }
.qwc-filters input:focus, .qwc-filters select:focus { outline: 3px solid rgba(44,44,134,.16); border-color: var(--qwc-blue); }
.qwc-cards { width: auto; position: static; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.qwc-card[hidden] { display: none !important; }
.qwc-card__ids { margin: -2px 0 8px; font-size: 12.5px; color: var(--qwc-mute); letter-spacing: .02em; }
.qwc-nomatch { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed #cfd3e6; border-radius: 16px; color: var(--qwc-mute); }

/* empty state */
.qwc-soon { text-align: center; padding: clamp(48px, 9vw, 120px) 24px; border-radius: 24px; background: radial-gradient(circle at 20% 10%, #3a3aa8 0, #2c2c86 38%, #1f1f66 100%); color: #fff; box-shadow: 0 20px 60px rgba(31,31,102,.28); position: relative; overflow: hidden; }
.qwc-soon::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(ellipse at center, rgba(255,255,255,.14), transparent 65%); }
.qwc-soon > * { position: relative; }
.qwc-soon__drop { width: 86px; height: 86px; margin: 0 auto 18px; padding: 20px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.qwc-soon__drop svg { width: 100%; height: 100%; }
.qwc-soon .qwc-eyebrow { color: #c9ccff; }
.qwc-soon__title { margin: 6px auto 12px; font-size: clamp(30px, 5.2vw, 58px); line-height: 1.1; letter-spacing: -.02em; color: #fff; max-width: 820px; }
.qwc-soon__text { margin: 0 auto 28px; max-width: 620px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: #dfe1ff; }
.qwc-soon .qwc-btn--primary { background: #fff; color: var(--qwc-blue); border-color: #fff; padding: 14px 28px; font-size: 17px; }
.qwc-soon .qwc-btn--primary:hover { background: #eef0ff; }
@media (max-width: 900px) { .qwc-filters { justify-content: stretch; } .qwc-filters .qwc-search { max-width: none; } .qwc-lot__right { position: static; } }
.qwc-card__ph svg { width: 60px; height: 60px; }
.qwc-history td.qwc-empty { text-align: center; color: var(--qwc-mute); font-size: 13.5px; padding: 14px 8px; }
/* Hide the theme's post byline / date / author line on auction pages */
body.qwc-fullwidth .entry-meta,body.qwc-fullwidth .post-meta,body.qwc-fullwidth .byline,body.qwc-fullwidth .posted-on,body.qwc-fullwidth .entry-byline,
body.qwc-fullwidth .wp-block-post-author,body.qwc-fullwidth .wp-block-post-author-name,body.qwc-fullwidth .wp-block-post-date,body.qwc-fullwidth .wp-block-post-terms{display:none!important}

/* ===== Mobile / tablet (must stay last so it wins over the desktop rules above) ===== */
.qwc-wide, .qwc-lot, .qwc-list { max-width: 100%; }
body.qwc-fullwidth { overflow-x: hidden; }
.qwc-lot img, .qwc-lot svg { max-width: 100%; }
@media (max-width: 900px) {
  .qwc-lot__grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  .qwc-lot__right { position: static !important; top: auto !important; order: -1; width: 100%; }
  .qwc-lot__left { min-width: 0; }
  .qwc-map--hero { height: clamp(240px, 46vh, 380px); border-radius: 14px; }
  .qwc-toolbar { padding: 12px; gap: 12px; }
  .qwc-tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .qwc-tabs > * { flex: 0 0 auto; }
  .qwc-filters { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .qwc-filters > *, .qwc-filters select, .qwc-filters .qwc-search { width: 100%; max-width: none; }
}
@media (max-width: 600px) {
  .qwc-wide { padding-left: 14px; padding-right: 14px; padding-bottom: 36px; }
  .qwc-hero__title { font-size: clamp(25px, 8vw, 34px); }
  .qwc-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .qwc-facts th, .qwc-facts td { padding: 10px 12px; font-size: 14px; }
  .qwc-facts th { width: 40%; }
  .qwc-panel { padding: 16px; }
  .qwc-history { padding: 12px; overflow-x: auto; }
  .qwc-history table { font-size: 13px; min-width: 0; }
  .qwc-bidform input, .qwc-bidform select, .qwc-bidform textarea, .qwc-toolbar input, .qwc-toolbar select, .qwc-search { font-size: 16px; } /* stops iOS zooming on focus */
  .qwc-bidform .qwc-btn, .qwc-panel .qwc-btn { width: 100%; min-height: 46px; justify-content: center; text-align: center; }
  .qwc-soon { padding: 40px 18px; border-radius: 16px; }
  .qwc-soon__title { font-size: clamp(26px, 8vw, 36px); }
  .qwc-chips li { font-size: 12.5px; padding: 4px 10px; }
}

/* Theme (Twenty Twenty-Four) prints "date - by author" above the content: hide that whole line on auction pages */
body.qwc-fullwidth .wp-block-group:has(> .wp-block-post-date),body.qwc-fullwidth .wp-block-group:has(> .wp-block-post-author-name){display:none!important}

/* v0.9: empty-state hero aligned with the site container; lot page without the theme's prev/next block */
.qwc-soon { max-width: 1320px; margin: clamp(20px, 3vw, 40px) auto 0; padding: clamp(40px, 6vw, 84px) clamp(20px, 4vw, 56px); }
.qwc-soon__title { font-size: clamp(28px, 4vw, 46px); }
.qwc-soon__text { font-size: clamp(16px, 1.4vw, 19px); }
body.single-qwc_lot .wp-block-post-navigation-link,
body.single-qwc_lot .post-navigation-link-previous,
body.single-qwc_lot .post-navigation-link-next,
body.single-qwc_lot .wp-block-separator,
body.single-qwc_lot hr,
body.single-qwc_lot .wp-block-post-comments-form,
body.single-qwc_lot .wp-block-comments,
body.single-qwc_lot .wp-block-spacer,
body.single-qwc_lot .wp-block-group:has(> .wp-block-post-navigation-link),
body.single-qwc_lot .wp-block-group:has(> .wp-block-group > .wp-block-post-navigation-link) { display: none !important; }
body.single-qwc_lot .wp-site-blocks > main { margin-block-end: 0 !important; }
body.single-qwc_lot .wp-site-blocks > main + * { margin-block-start: 0 !important; }
body.single-qwc_lot .wp-block-post-content { margin-block-end: 0 !important; }
.qwc-wide { padding-bottom: 32px; }
.qwc-explain { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--qwc-mute); }
.qwc-mymax { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #e8f6ee; border: 1px solid #b9e1c9; color: #11593a; font-size: 14px; font-weight: 600; }
.qwc-mymax.is-out { background: #fdecea; border-color: #f3c0bb; color: var(--qwc-err); }

/* v0.9.1: agreement pop-up on the lot page */
html.qwc-modal-open, html.qwc-modal-open body { overflow: hidden; }
.qwc-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(15,16,40,.62); display: flex; align-items: center; justify-content: center; padding: clamp(0px, 3vw, 28px); }
.qwc-modal__box { position: relative; width: min(920px, 100%); height: min(92vh, 100%); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.qwc-modal__frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.qwc-modal__x { position: absolute; top: 8px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #1b1d2e; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
@media (max-width: 600px) { .qwc-modal { padding: 0; } .qwc-modal__box { border-radius: 0; height: 100%; } }

.qwc-history .qwc-mx { text-align: right; color: var(--qwc-mute); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.qwc-ttab { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--qwc-mute); cursor: pointer; }
.qwc-ttab span { display: inline-block; min-width: 20px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--qwc-bg); font-size: 12px; text-align: center; }
.qwc-ttab:hover { color: var(--qwc-blue); }
.qwc-ttab.is-on { background: var(--qwc-blue); color: #fff; }
.qwc-ttab.is-on span { background: rgba(255,255,255,.22); color: #fff; }
.qwc-types { margin: 8px 0 0; }
.qwc-typebadge { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: #0b3b6f; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
