/* MON — OETP 2026 Q4 package showcase (2026-10-15). Scoped: .q4s (section) / .q4p (package card). Rebuilds the
   structure of the PO reference advertisements as data-driven, responsive HTML: dark premium card, red ribbon, large
   brand, icon feature rows, product photography, price strip, expansion rows, quotation CTA. */
.q4s { --q4s-red: #e2231a; --q4s-red-d: #a3140d; --q4s-ink: #0b0b0d; --q4s-panel: #15161a; --q4s-line: rgba(255,255,255,.14); --q4s-mute: #b9bcc3;
	background: radial-gradient(110% 60% at 50% 0%, #22242a 0%, #0f1013 55%, #0b0b0d 100%); color: #fff; padding: 44px 0 56px; }
.q4s-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; max-width: 1080px; margin: 0 auto 22px; }
.q4s-head h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 900; }
.q4s-head p { margin: 6px 0 0; color: var(--q4s-mute); max-width: 640px; }
.q4s-filter button:focus-visible, .q4p-cta:focus-visible, .q4p-exp-pick:focus-visible, .q4p-more summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Level 1 — compact comparison grid (owner decision 2026-10-15): at most 3 cards per row, every row — including an
   incomplete last row and brand-filtered results — horizontally centred; equal card widths; 3 / 2 / 1 columns. */
.q4s-grid { --q4s-gap: 20px; --q4s-cols: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: var(--q4s-gap); max-width: 1080px; margin: 0 auto; }
.q4s-grid > .q4c { flex: 0 0 calc((100% - (var(--q4s-cols) - 1) * var(--q4s-gap)) / var(--q4s-cols)); max-width: calc((100% - (var(--q4s-cols) - 1) * var(--q4s-gap)) / var(--q4s-cols)); }
@media (max-width: 599px) { .q4s-grid { max-width: 420px; } }
/* 66/33 landing (2026-10-16): the column count follows the width of the package column (container), not the viewport —
   2 per row beside the sticky form on laptops, 3 only where the column itself is wide enough. */
.q4l-main { container: q4main / inline-size; }
@container q4main (min-width: 540px) { .q4s-grid { --q4s-cols: 2; } }
@container q4main (min-width: 1000px) { .q4s-grid { --q4s-cols: 3; --q4s-gap: 24px; } }
.q4s-grid.q4s-grid--one { display: block; max-width: none; }
.q4s-grid.q4s-grid--one > * { flex: none; max-width: 100%; }
/* Compact card — refined (2026-10-15 v2): charcoal surface, hairline borders, restrained red, product-led. */
.q4c { --q4c-ink: #f3f3f4; --q4c-mute: #9fa2aa; --q4c-line: rgba(255,255,255,.09); --q4c-red: #d8251d;
	position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: #17181c; border: 1px solid var(--q4c-line);
	color: var(--q4c-ink); font-family: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.4; font-feature-settings: "tnum" 1; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.q4c[hidden] { display: none; }
.q4c:hover { border-color: rgba(255,255,255,.18); box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: translateY(-2px); }
.q4c--featured { border-color: rgba(216,37,29,.55); }
.q4c--featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--q4c-red); z-index: 1; }
.q4c-top { position: absolute; z-index: 2; top: 14px; left: 16px; right: 16px; display: flex; align-items: center; gap: 8px; }
.q4c-brand { margin-right: auto; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #d9dade; }
.q4c-tag { font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--q4c-mute); display: inline-flex; align-items: center; gap: 6px; }
.q4c-tag i { width: 6px; height: 6px; border-radius: 50%; background: #e0b021; display: inline-block; }
.q4c-tag--feat { color: #fff; background: var(--q4c-red); padding: 3px 8px; border-radius: 4px; }
.q4c-media { display: flex; align-items: flex-end; justify-content: center; gap: 4%; height: 236px; padding: 44px 18px 18px;
	background: radial-gradient(120% 90% at 50% 100%, #2a2c33 0%, #1c1d22 55%, #17181c 100%); border-bottom: 1px solid var(--q4c-line); }
.q4c-img { display: block; width: auto; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); }
.q4c-img--inv { max-width: 44%; max-height: 82%; }
.q4c-img--bat { max-width: 48%; }
.q4c-art { width: 70%; max-width: 210px; align-self: center; opacity: .9; }
.q4c-art .q4-dev { width: 100%; height: auto; display: block; }
.q4c .q4c-title { margin: 18px 18px 0; font-size: 1.06rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; color: var(--q4c-ink); min-height: 2.6em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.q4c-facts { margin: 14px 18px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--q4c-line); border-bottom: 1px solid var(--q4c-line); }
.q4c-fact { display: flex; flex-direction: column-reverse; gap: 2px; padding: 12px 0; }
.q4c-fact + .q4c-fact { padding-left: 16px; border-left: 1px solid var(--q4c-line); }
.q4c-fact dt { font-size: .74rem; color: var(--q4c-mute); }
.q4c-fact dd { margin: 0; font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; color: var(--q4c-ink); white-space: nowrap; }
.q4c-unit { font-size: .82rem; font-weight: 500; color: #c7c9ce; margin-left: 3px; }
.q4c-na { font-size: .9rem; font-weight: 500; color: var(--q4c-mute); }
.q4c-price { margin: 0 18px; padding: 14px 0 4px; display: grid; gap: 2px; }
.q4c-plabel { margin: 0; font-size: .74rem; color: var(--q4c-mute); display: flex; justify-content: space-between; gap: 8px; }
.q4c-plabel span { color: #7f838c; }
.q4c-amount { margin: 0; font-size: 1.62rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.15; color: #fff; white-space: nowrap; }
.q4c-amount--pending { font-size: 1.28rem; font-weight: 500; color: #b9bbc1; }
/* Price on request (2026-10-21): honest label instead of a fixed price — same weight as a price, never a number. */
.q4c-amount--quote { font-size: 1.28rem; font-weight: 650; color: #fff; white-space: normal; }
.q4c-fin { margin: 10px 0 0; display: grid; gap: 4px; font-size: .84rem; }
.q4c-fin div { display: flex; justify-content: space-between; gap: 10px; }
.q4c-fin dt { color: var(--q4c-mute); }
.q4c-fin dd { margin: 0; color: #d9dade; white-space: nowrap; }
.q4c-fin-own { padding-top: 6px; border-top: 1px solid var(--q4c-line); }
.q4c-fin-own dt { color: #e6e7ea; font-weight: 600; }
.q4c-fin-own dd { color: #fff; font-weight: 650; font-size: .98rem; }
.q4c-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 16px 18px 18px; }
.q4c-cta { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 8px;
	background: var(--q4c-red); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .01em;
	transition: background-color .15s ease, box-shadow .15s ease; }
.q4c-cta:hover { background: #b81c15; }
.q4c-cta:active { background: #9d1711; }
.q4c-cta[aria-pressed="true"] { box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.q4c-more { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; min-height: 46px; padding: 0 2px; border: 0; background: none; color: #d9dade;
	font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; border-bottom: 1px solid transparent; }
.q4c-more svg { width: 14px; height: 14px; transition: transform .15s ease; }
.q4c-more:hover { color: #fff; }
.q4c-more:hover svg { transform: translateX(2px); }
.q4c-cta:focus-visible, .q4c-more:focus-visible, .q4d-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 599px) { .q4c-media { height: 220px; } }
@media (prefers-reduced-motion: reduce) { .q4c, .q4c-cta, .q4c-more svg { transition: none; } .q4c:hover { transform: none; } }

/* Brand filter — understated segmented control (not pills). */
.q4s-filter { display: inline-flex; flex-wrap: wrap; gap: 0; padding: 3px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.03); }
.q4s-filter button { font: inherit; font-size: .88rem; font-weight: 500; min-height: 44px; padding: 0 18px; border: 0; border-radius: 7px; background: transparent; color: #b9bbc1; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.q4s-filter button:hover { color: #fff; }
.q4s-filter button[aria-pressed="true"] { background: #2a2c32; color: #fff; box-shadow: inset 0 -2px 0 #d8251d; }
.q4s-head h2 { font-weight: 700; letter-spacing: -.02em; }
.q4s-head p { color: #a7aab1; }
.q4s-head .q4s-kicker { margin: 0 0 6px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #d8251d; }

/* Level 2 — detail dialog (premium card). Full-screen sheet on phones. */
html.q4-modal-open { overflow: hidden; }
.q4d { width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: #fff; overflow: auto; overscroll-behavior: contain; }
.q4d::backdrop { background: rgba(5,5,7,.78); backdrop-filter: blur(3px); }
.q4d-in { position: relative; }
.q4d-close { position: absolute; z-index: 5; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: rgba(11,11,13,.85); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.q4d .q4p { box-shadow: none; overflow: clip; } /* clip (not hidden): keeps the dialog as the sticky container */
.q4a-live-wrap.q4s { padding: 16px; border-radius: 12px; }
/* The quotation CTA stays reachable while the detail is scrolled. */
.q4d .q4p-cta { position: sticky; bottom: 14px; z-index: 4; box-shadow: 0 0 0 14px rgba(13,14,17,.92), 0 -26px 30px 14px rgba(13,14,17,.9); }
@media (min-width: 600px) { .q4d .q4p-cta { justify-self: stretch; } }
@media (max-width: 599px) {
	.q4d { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
	.q4d .q4p { border-radius: 0; min-height: 100dvh; border: 0; }
	.q4d .q4p-in { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .q4c { transition: none; } }
.q4s-empty { color: var(--q4s-mute); }
.q4s-note { max-width: 1080px; margin: 18px auto 0; color: var(--q4s-mute); font-size: .85rem; }

/* Card */
.q4p { --q4s-red: #e2231a; --q4s-line: rgba(255,255,255,.14); --q4s-mute: #b9bcc3; position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
	border-radius: 22px; background: linear-gradient(160deg, #1c1e24 0%, #0d0e11 70%); border: 1px solid #2b2d34; color: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.45); font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; line-height: 1.4; }
.q4p[hidden] { display: none; }
.q4p--featured { border-color: var(--q4s-red); box-shadow: 0 0 0 2px var(--q4s-red), 0 28px 70px rgba(0,0,0,.5); }
.q4p--draft { outline: 0; }
.q4p-bg { position: absolute; inset: 0; z-index: -1; }
.q4p-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.q4p-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,13,.96) 0%, rgba(11,11,13,.72) 52%, rgba(11,11,13,.35) 100%), linear-gradient(0deg, rgba(11,11,13,.95) 0%, rgba(11,11,13,0) 45%); }
.q4p-in { position: relative; padding: 22px 18px 18px; display: grid; gap: 16px; }
.q4p-ribbon { justify-self: end; margin: -8px -26px 0 0; transform: skewX(-12deg); background: linear-gradient(180deg, #ef2b21, #a3140d); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: .74rem; line-height: 1.15; padding: 9px 30px 9px 18px; max-width: 70%; text-align: right; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.q4p-flag { justify-self: start; margin: 0; background: transparent; color: #f5c518; border: 1px solid rgba(245,197,24,.55); font-weight: 800; font-size: .68rem; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; }
.q4p-badge { justify-self: start; margin: 0; border: 2px solid var(--q4s-red); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.q4p-head { padding-right: 0; }
.q4p-brand { margin: 0; font-weight: 900; font-size: clamp(2.3rem, 11cqi, 4.4rem); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.q4p-title { margin: 4px 0 0; font-weight: 900; font-size: clamp(1.15rem, 5.2cqi, 2rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; color: #fff; }
.q4p-sub { margin: 8px 0 0; font-weight: 600; font-size: clamp(.98rem, 3.2cqi, 1.2rem); }
.q4p-hl { margin: 4px 0 0; color: var(--q4s-red); font-weight: 900; font-size: clamp(1rem, 3.4cqi, 1.3rem); }
.q4p-body { display: grid; gap: 16px; }
.q4p-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.q4p-feat li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.q4p-ico { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; }
.q4p-ico svg { width: 22px; height: 22px; }
.q4p-feat b { display: block; font-size: .98rem; }
.q4p-feat small { display: block; color: var(--q4s-mute); font-size: .84rem; }
.q4p-prods { display: flex; align-items: flex-end; justify-content: center; gap: 12px; min-height: 140px; }
.q4p-prod { margin: 0; flex: 1 1 0; max-width: 260px; text-align: left; }
.q4p-prod-img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.q4p-prod figcaption { margin-top: 6px; font-size: .8rem; font-weight: 700; color: #e9eaee; }
.q4p-art { width: 100%; max-width: 280px; }
.q4p-spec { margin: 0; display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--q4s-line); font-size: .86rem; }
.q4p-spec div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.q4p-spec dt { color: var(--q4s-mute); font-weight: 700; }
.q4p-spec dd { margin: 0; }
.q4p-spec em { color: var(--q4s-mute); font-style: normal; }
.q4p-prices { display: grid; gap: 8px; grid-template-columns: 1fr; background: rgba(0,0,0,.55); border: 1px solid var(--q4s-line); border-radius: 14px; padding: 10px; }
.q4p-pr { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 10px 8px 12px; border-radius: 10px; background: #1b1c21; }
.q4p-pr span { font-weight: 900; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.q4p-pr b { font-weight: 900; font-size: clamp(1.45rem, 6.4cqi, 2.2rem); line-height: 1.05; white-space: nowrap; }
.q4p-pr small { color: #dcdde1; font-size: .74rem; }
.q4p-pr--main b, .q4p-pr--own b { background: linear-gradient(180deg, #ef2b21, #b8170f); padding: 4px 16px; border-radius: 6px; transform: skewX(-8deg); display: inline-block; }
.q4p-pr--grant b { background: #2c2e35; padding: 4px 16px; border-radius: 6px; transform: skewX(-8deg); display: inline-block; }
.q4p-pr--pending b { background: #3a3c44; font-size: clamp(1.15rem, 5cqi, 1.6rem); }
.q4p-pr--quote b { font-size: clamp(1.15rem, 5cqi, 1.6rem); }
.q4p-pr--note { justify-items: start; text-align: left; }
.q4p-exp { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q4p-exp li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--q4s-line); }
.q4p-exp-t b { display: block; font-size: .95rem; }
.q4p-exp-t small { display: block; color: var(--q4s-mute); font-size: .8rem; }
.q4p-exp-p { font-weight: 900; font-size: 1.2rem; color: #fff; background: linear-gradient(180deg, #ef2b21, #b8170f); padding: 4px 12px; border-radius: 6px; white-space: nowrap; }
.q4p-exp-pick { grid-column: 1 / -1; justify-self: start; font: inherit; font-weight: 800; font-size: .85rem; min-height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; cursor: pointer; }
.q4p-exp-pick[aria-pressed="true"] { border-color: var(--q4s-red); background: rgba(226,35,26,.18); }
.q4p-more { font-size: .88rem; color: #dcdde1; }
.q4p-more summary { cursor: pointer; font-weight: 800; color: #fff; min-height: 32px; }
.q4p-more ul { margin: 6px 0; padding-left: 18px; }
.q4p-more p { margin: 6px 0; }
.q4p-cta { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; border-radius: 999px; background: linear-gradient(180deg, #ef2b21, #b8170f); color: #fff !important; text-decoration: none; font-weight: 900; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 12px 30px rgba(226,35,26,.35); transition: transform .15s; }
.q4p-cta:hover { transform: translateY(-1px); }
.q4p-cta[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 12px 30px rgba(226,35,26,.35); }
.q4p-legal { margin: 0; color: #9da0a8; font-size: .74rem; text-align: center; }

/* Wider cards: features left, products right; three-part price strip. */
@container (min-width: 600px) {
	.q4p-in { padding: 30px 28px 24px; }
	.q4p-head { padding-right: 240px; }
	.q4p-ribbon { position: absolute; top: 26px; right: -10px; margin: 0; font-size: 1.05rem; max-width: 250px; padding: 14px 34px 14px 24px; }
	.q4d .q4p-ribbon { top: 70px; }
	.q4p-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
	.q4p-prices { grid-template-columns: minmax(0, 440px); }
	.q4p-prices:not(.q4p-prices--3) { justify-self: start; }
	.q4p-prices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.q4p-exp li { grid-template-columns: 1fr auto auto; }
	.q4p-exp-pick { grid-column: auto; }
	.q4p-cta { justify-self: start; padding: 0 34px; }
	.q4p-legal { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .q4p-cta { transition: none; } }

/* Selected package in the lead form */
.q4-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: #fff1ef; border: 1.5px solid #e2231a; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .92rem; }
.q4-pick[hidden] { display: none; }
.q4-pick b { font-weight: 800; }
.q4-pick button { font: inherit; font-weight: 700; font-size: .85rem; background: none; border: 0; color: #b8170f; text-decoration: underline; cursor: pointer; padding: 4px; min-height: 32px; }

/* Detail dialog buttons on the same button system as the grid (2026-10-15 v2). */
.q4p-cta { border-radius: 8px; text-transform: none; font-weight: 600; font-size: 1rem; letter-spacing: .01em; background: #d8251d; box-shadow: none; min-height: 52px; }
.q4p-cta:hover { background: #b81c15; transform: none; }
.q4p-exp-pick { border-radius: 8px; border-width: 1px; font-weight: 600; }
.q4p-exp-p { border-radius: 6px; font-weight: 700; }
/* Shared package link (/oetp-2026-q4/csomag/<slug>/): the linked package card is highlighted. */
.q4c--focus { border-color: rgba(216,37,29,.9); box-shadow: 0 0 0 2px rgba(216,37,29,.55); }

/* ── Owner-managed offers — offer builder 2.0 (2026-10-26) ─────────────────────────────────────────────── */
/* Card */
.q4o .q4c-brand { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
/* The brand row sits in the normal flow on offer cards (never over the title, with or without an image). */
.q4o .q4c-top { position: static; margin: 14px 18px 0; }
.q4o .q4o-media { margin-top: 12px; }
.q4o-media { height: 210px; overflow: hidden; border-bottom: 1px solid var(--q4c-line); background: #1c1d22; }
.q4o-media .q4o-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.q4o-eq { list-style: none; margin: 12px 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.q4o-eq li { min-width: 0; display: grid; gap: 4px; justify-items: center; text-align: center; }
.q4o-eq .q4o-eq-img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; background: #f3f1ec; border-radius: 8px; padding: 6px; box-sizing: border-box; }
.q4o-eq li span { font-size: .72rem; line-height: 1.3; color: var(--q4c-mute); overflow-wrap: anywhere; }
.q4o-eq--lead { margin-top: 16px; }
.q4o .q4c-title.q4o-title { min-height: 0; margin: 12px 18px 0; font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; -webkit-line-clamp: 3; }
.q4o-summary { margin: 8px 18px 0; color: var(--q4c-mute); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.q4o-hl { margin: 12px 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 10px 0; border-top: 1px solid var(--q4c-line); border-bottom: 1px solid var(--q4c-line); }
.q4o-hl div { min-width: 0; }
.q4o-hl dt { font-size: .7rem; color: var(--q4c-mute); }
.q4o-hl dd { margin: 0; font-size: .95rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.q4o-price { margin: auto 18px 0; padding: 14px 0 4px; display: grid; gap: 2px; }
.q4o-plabel { font-size: .74rem; color: var(--q4c-mute, #9fa2aa); }
.q4o-was { color: #8d9099; font-size: .95rem; text-decoration-thickness: 1px; }
.q4o-amount { font-size: 1.62rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.15; color: #fff; white-space: nowrap; }
.q4o-price small { color: #8d9099; font-size: .78rem; }
.q4o-own { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--q4c-line); font-size: .86rem; color: #e9e9ea; display: grid; }
.q4o-own small { color: #8d9099; }
.q4o-price--quote .q4o-amount, .q4o-price--pending .q4o-amount { font-size: 1.28rem; white-space: normal; }
.q4o-price--pending .q4o-amount { color: #b9bbc1; font-weight: 500; }
/* Detail */
.q4o-detail .q4o-in { gap: 22px; }
.q4o-head { display: grid; gap: 8px; padding-right: 44px; }
.q4o-kicker { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--q4s-red, #e2231a); }
.q4o-h { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); font-weight: 750; line-height: 1.18; letter-spacing: -.01em; color: #fff; overflow-wrap: anywhere; text-transform: none; }
.q4o-lead { margin: 0; color: #d6d7da; font-size: 1rem; line-height: 1.55; }
.q4o-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.q4o-gallery .q4o-gimg { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 8px; background: #1c1d22; }
.q4o-gallery .q4o-gimg:first-child { grid-column: 1 / -1; height: auto; max-height: 380px; }
.q4o-text h4, .q4o-items-sec h4, .q4o-fin h4 { margin: 0 0 10px; font-size: 1.02rem; color: #fff; }
.q4o-text p, .q4o-text li { margin: 0 0 8px; color: var(--q4s-mute, #b9bcc3); line-height: 1.55; overflow-wrap: anywhere; }
.q4o-text ul { margin: 0 0 8px; padding-left: 1.2em; }
.q4o-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.q4o-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--q4s-line, rgba(255,255,255,.14)); border-radius: 12px; background: rgba(255,255,255,.03); }
.q4o-item--noimg { grid-template-columns: minmax(0, 1fr); }
.q4o-item-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-content: start; }
.q4o-item-media .q4o-item-img { grid-column: 1 / -1; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: contain; background: #f3f1ec; border-radius: 8px; padding: 8px; box-sizing: border-box; }
.q4o-item-media .q4o-item-thumb { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 6px; background: #f3f1ec; }
.q4o-item-body { min-width: 0; }
.q4o-item-cat { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--q4s-red, #e2231a); }
.q4o-item-name { margin: 2px 0 4px; font-size: 1.05rem; color: #fff; overflow-wrap: anywhere; }
.q4o-item-id { margin: 0 0 6px; color: #c9cbd1; font-size: .88rem; overflow-wrap: anywhere; }
.q4o-item-sum { margin: 0 0 8px; color: var(--q4s-mute, #b9bcc3); line-height: 1.5; }
.q4o-specs { margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
.q4o-specs div { min-width: 0; border-bottom: 1px solid var(--q4s-line, rgba(255,255,255,.14)); padding-bottom: 4px; }
.q4o-specs dt { font-size: .72rem; color: #9fa2aa; }
.q4o-specs dd { margin: 0; font-size: .9rem; color: #fff; overflow-wrap: anywhere; }
.q4o-item-more summary { cursor: pointer; color: #e9e9ea; font-size: .88rem; }
.q4o-item-more p, .q4o-item-more li { color: var(--q4s-mute, #b9bcc3); line-height: 1.5; }
.q4o-fin { padding: 16px; border: 1px solid var(--q4s-line, rgba(255,255,255,.14)); border-radius: 12px; background: rgba(255,255,255,.04); }
.q4o-fin h4 small { color: #9fa2aa; font-weight: 400; }
.q4o-fin-rows { margin: 0; display: grid; gap: 0; }
.q4o-fin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 9px 0; border-bottom: 1px solid var(--q4s-line, rgba(255,255,255,.14)); align-items: baseline; }
.q4o-fin-row:last-child { border-bottom: 0; }
.q4o-fin-row dt { color: #d6d7da; overflow-wrap: anywhere; }
.q4o-fin-row dt small { display: block; color: #9fa2aa; font-size: .76rem; }
.q4o-fin-row dd { margin: 0; color: #fff; font-weight: 600; white-space: nowrap; text-align: right; }
.q4o-fin-row--original dd { color: #9fa2aa; text-decoration: line-through; font-weight: 500; }
.q4o-fin-row--discount dd { color: #7fd18b; }
.q4o-fin-row--final dt { color: #fff; font-weight: 700; }
.q4o-fin-row--final dd { font-size: 1.45rem; font-weight: 750; }
.q4o-fin-row--subsidy dd { color: #f5c26b; }
.q4o-fin-cond { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: #9fa2aa; line-height: 1.45; }
.q4o-fin-note { margin: 10px 0 0; font-size: .8rem; color: #9fa2aa; line-height: 1.45; }
.q4o-fin-quote { margin: 0; font-size: 1.3rem; font-weight: 700; color: #fff; }
.q4o-cta { justify-self: start; }
@media (max-width: 759px) {
	.q4o-item { grid-template-columns: minmax(0, 1fr); }
	.q4o-head { padding-right: 36px; }
}
@media (max-width: 599px) {
	.q4o-media { height: 180px; }
	.q4o-amount { font-size: 1.42rem; }
	.q4o-gallery .q4o-gimg:first-child { max-height: 240px; }
	.q4o-fin-row { grid-template-columns: minmax(0, 1fr); }
	.q4o-fin-row dd { text-align: left; white-space: normal; }
	.q4o-cta { justify-self: stretch; text-align: center; }
}

/* ── Admin offer editor (wp-admin only) ── */
.q4a-toc { position: sticky; top: 32px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 14px; padding: 8px 12px; background: #fff; border: 1px solid #dcdcde; }
.q4a-toc a { text-decoration: none; font-size: 13px; }
.q4a-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr); gap: 24px; align-items: start; }
.q4a-sec { background: #fff; border: 1px solid #dcdcde; padding: 14px 16px; margin: 0 0 16px; scroll-margin-top: 90px; }
.q4a-sec > h3 { margin: 0 0 6px; }
.q4a-field { margin: 10px 0; display: grid; gap: 4px; }
.q4a-field > label { font-weight: 600; }
.q4a-field small, .q4a-sec small { color: #646970; }
.q4a-radio { display: block; margin: 2px 0; }
.q4a-check { display: inline-block; margin: 6px 12px 6px 0; }
.q4a-box { margin: 12px 0; padding: 10px 12px; border: 1px solid #e0e0e3; background: #f9f9fa; }
.q4a-box h4 { margin: 0 0 6px; }
.q4a-item { margin: 0 0 12px; padding: 10px 12px 12px; border: 1px solid #c3c4c7; border-left: 4px solid #e2231a; background: #fcfcfc; }
.q4a-item-head { font-weight: 700; padding: 0 4px; }
.q4a-item-tools { float: right; margin-top: -4px; }
.q4a-item-tools .button-link { margin-left: 8px; }
.q4a-grid { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 8px 0; }
.q4a-grid label { display: grid; gap: 2px; font-size: 12px; color: #3c434a; }
.q4a-grid .q4a-wide { grid-column: 1 / -1; }
.q4a-grid input, .q4a-grid select, .q4a-block textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.q4a-block { display: grid; gap: 2px; margin: 8px 0; font-size: 12px; color: #3c434a; }
.q4a-item-imgs { display: grid; gap: 4px; margin: 6px 0; font-size: 12px; }
.q4a-savebar { position: sticky; bottom: 0; z-index: 4; box-shadow: 0 -4px 12px rgba(0,0,0,.06); }
.q4a-side-in { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding: 12px; background: #1d1e22; border-radius: 6px; }
.q4a-side-in > h3 { color: #fff; margin: 0 0 6px; }
.q4a-side-in > h3 small { color: #c9cbd1; font-weight: 400; }
.q4a-side .q4a-live-status, .q4a-side .q4a-lv { color: #c9cbd1 !important; margin: 10px 0 6px; }
.q4a-fincheck { margin: 14px 0 0; padding: 10px 12px; background: #e9f6ec; color: #1d2327; border-radius: 4px; }
.q4a-fincheck--bad { background: #fcebea; }
.q4a-fincheck ul { margin: 6px 0 0 18px; list-style: disc; }
.q4a-bad { color: #b32d2e; }
.q4a-warn { color: #8a5a00; }
.q4a-pubview summary { color: #fff; cursor: pointer; margin: 12px 0 6px; }
@media (max-width: 1280px) { .q4a-layout { grid-template-columns: minmax(0, 1fr); } .q4a-side-in { position: static; max-height: none; } }
