/* SecurityHub showroom (10 Nov 2026, wave 6 W6-SHOW rows). The pieces the prebuilt Tailwind bundle has no classes for:
   the quote-list tray, the 44px action links on cards, the 3D viewer's progress bar, fallback, size lines and QR panel,
   the phone action bar and the picture viewer. Colours follow the site: emerald accent, slate cards, never red for
   anything that is not an error. Every animation stops for visitors who ask for reduced motion. */

:root { --shw-accent: rgb(16 185 129); --shw-card: var(--sh-card-bg, #1f2937); --shw-border: var(--sh-card-border, #374151); }

/* ── Card and page action links: a thumb-sized target everywhere (W6-SHOW-07) ── */
.shw-act { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 .75rem;
    font-size: .75rem; font-weight: 600; border-radius: .5rem; border: 1px solid var(--shw-border); background: #1f2937; color: #d1d5db;
    text-decoration: none; cursor: pointer; line-height: 1.1; }
.shw-act:hover { color: #fff; border-color: #6b7280; }
.shw-act:focus-visible, .shw-tray-btn:focus-visible, .shw-chip:focus-visible, .shw-page:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.shw-act-primary { background: rgba(16, 185, 129, .12); color: var(--shw-accent); border-color: rgba(16, 185, 129, .45); }
.shw-act-primary:hover { background: rgba(16, 185, 129, .25); color: #fff; }
.shw-act[aria-pressed="true"] { background: rgba(16, 185, 129, .2); color: #fff; border-color: var(--shw-accent); }
.shw-act-solid { background: var(--shw-accent); color: #030712; border-color: var(--shw-accent); font-weight: 700; }
.shw-act-solid:hover { opacity: .9; color: #030712; }

/* Card marks: "3D · AR" and the price line. */
.shw-mark { position: absolute; top: .5rem; left: .5rem; pointer-events: none; font-size: 12px; font-weight: 700; letter-spacing: .04em;
    padding: .15rem .5rem; border-radius: .375rem; background: rgba(15, 23, 42, .85); border: 1px solid rgba(255, 255, 255, .18); color: #e5e7eb; }
.shw-price { font-size: .8125rem; color: #e5e7eb; margin-bottom: .5rem; }
.shw-price b { color: #fff; }

/* ── The showroom's first screen (13 Nov 2026, w6-show-showroom) ── */
.shw-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .75rem 0 0; padding: 0; list-style: none; counter-reset: shw-step; font-size: .8125rem; color: #cbd5e1; }
.shw-steps li { position: relative; padding-left: 1.875rem; min-height: 1.375rem; line-height: 1.375rem; counter-increment: shw-step; }
.shw-steps li::before { content: counter(shw-step); position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 1.375rem; height: 1.375rem;
    border-radius: 999px; background: rgba(16, 185, 129, .15); color: var(--shw-accent); font-weight: 700; font-size: .75rem; }
/* The demo banner a little slimmer everywhere, so the first row of products comes up sooner. */
#shw-demo-banner > div { padding-top: 1.125rem; padding-bottom: 1.125rem; }
#shw-demo-banner h2 { font-size: 1.25rem; }
@media (max-width: 767.98px) { .shw-steps { flex-direction: column; gap: .375rem; } }
.shw-steps b { color: #fff; font-weight: 700; }
/* The filter bar on a laptop: the sort list wide enough for its own words ("3D models first, then newest" was cut). */
@media (min-width: 1024px) {
    #shw-filter { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); }
}
.shw-filter-toggle { display: none; }
@media (max-width: 767.98px) {
    .shw-filter-toggle { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: .5rem; border: 1px solid #4b5563;
        background: #1f2937; color: #e5e7eb; font-size: .875rem; font-weight: 600; cursor: pointer; }
    #shw-filter.shw-folded [data-shw-more] { display: none; }
    #shw-filter input[type="search"], #shw-filter select { min-height: 44px; }
    .shw-ticks label { min-height: 44px; }
    #shw-demo-banner > div { padding: .875rem 1rem; gap: .625rem; }
    #shw-demo-banner h2 { font-size: 1rem; }
    #shw-demo-banner p { display: none; }
    #shw-demo-banner span { padding: .625rem 1rem; justify-content: center; }
}
/* Card actions: the quote list and compare side by side, the resource links on the row under them. */
.shw-card-acts { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }

/* ── Filters: removable chips, page numbers, category tiles (W6-SHOW-08) ── */
.shw-chip { display: inline-flex; align-items: center; gap: .375rem; min-height: 36px; padding: 0 .75rem; border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, .45); background: rgba(16, 185, 129, .12); color: var(--shw-accent); font-size: .75rem; text-decoration: none; }
.shw-chip:hover { color: #fff; border-color: var(--shw-accent); }
.shw-chip span[aria-hidden] { font-size: 1rem; line-height: 1; }
.shw-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .375rem; margin-top: 2rem; font-size: .875rem; }
.shw-page { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .75rem;
    border-radius: .5rem; border: 1px solid var(--shw-border); color: #9ca3af; text-decoration: none; }
.shw-page:hover { color: #fff; border-color: #6b7280; }
.shw-page[aria-current="page"] { background: var(--shw-accent); border-color: var(--shw-accent); color: #030712; font-weight: 700; }
.shw-page-gap { color: #6b7280; padding: 0 .25rem; }
/* 13 Nov 2026: one row of tiles that scrolls sideways when it does not fit; the grid left one tile alone on a second row. */
.shw-tiles { display: flex; gap: .625rem; margin-bottom: 1.5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.shw-tile { flex: 1 0 auto; min-width: 128px; display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: .625rem .875rem; border-radius: .75rem;
    border: 1px solid var(--shw-border); background: var(--shw-card); color: #fff; text-decoration: none; }
.shw-tile:hover { border-color: var(--shw-accent); }
.shw-tile small { color: #9ca3af; font-size: .75rem; margin-top: .125rem; }

/* ── The floating quote-list / compare tray and its note (W6-SHOW-03, 05) ── */
.shw-tray { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end;
    max-width: calc(100vw - 2rem); }
.shw-tray[hidden] { display: none; }
.shw-tray-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; font-size: .875rem; font-weight: 700;
    background: #0f172a; color: #fff; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 6px 20px rgba(0, 0, 0, .45); text-decoration: none; cursor: pointer; }
.shw-tray-main { background: var(--shw-accent); color: #030712; border-color: var(--shw-accent); }
.shw-tray-quiet { font-weight: 600; color: #d1d5db; }
.shw-tray-x { width: 44px; padding: 0; justify-content: center; font-size: 1.25rem; line-height: 1; }
@media (max-width: 767.98px) { .shw-tray { flex-wrap: nowrap; } .shw-tray-btn { padding: 0 .875rem; } }
.shw-toast { position: fixed; z-index: 61; left: 50%; bottom: 5.5rem; transform: translateX(-50%); max-width: calc(100vw - 2rem);
    padding: .625rem 1rem; border-radius: .75rem; background: #0f172a; color: #fff; border: 1px solid rgba(255, 255, 255, .2); font-size: .875rem;
    opacity: 0; pointer-events: none; transition: opacity .2s; }
.shw-toast-on { opacity: 1; }

/* ── The product page's 3D viewer (W6-SHOW-04, 09, 11, 17) ── */
.shw-stage { position: relative; width: 100%; }
#hero-mv { width: 100%; height: min(60vh, 520px); min-height: 300px; background: linear-gradient(180deg, #334155 0%, #0f172a 75%); }
.shw-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255, 255, 255, .08); }
.shw-progress-fill { height: 100%; width: 0; background: var(--shw-accent); transition: width .2s; }
.shw-progress.shw-done { display: none; }
.shw-tool { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
    padding: 0 .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(15, 23, 42, .86); color: #fff;
    font-size: .8125rem; font-weight: 600; cursor: pointer; }
.shw-tool:hover { background: rgba(30, 41, 59, .94); }
.shw-tool:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.shw-tool[aria-pressed="true"] { border-color: var(--shw-accent); color: var(--shw-accent); }
.shw-tool-full { top: .75rem; right: .75rem; }
.shw-tool-size { top: .75rem; left: .75rem; }
.shw-stage:fullscreen, .shw-stage:-webkit-full-screen { background: #0f172a; }
.shw-stage:fullscreen #hero-mv { height: 100vh; }
.shw-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; min-height: 300px;
    padding: 1.5rem; text-align: center; background: #111827; color: #e5e7eb; }
.shw-fallback img { max-width: 100%; max-height: 360px; object-fit: contain; }
/* A class that sets display would beat the browser's own [hidden] rule: hidden stays hidden. */
.shw-fallback[hidden], .shw-gate[hidden], .shw-qr[hidden], .shw-note[hidden], .shw-tool[hidden], .shw-lb-btn[hidden], .shw-act[hidden], .shw-stage[hidden] { display: none; }
.shw-gate { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
    padding: 1rem; text-align: center; color: #e5e7eb; background: linear-gradient(180deg, #334155 0%, #0f172a 75%); }  /* opaque (13 Nov 2026): the stage poster showed through */
.shw-note { margin: .5rem 1rem 0; padding: .5rem .75rem; border-radius: .5rem; border: 1px solid var(--shw-border); background: #111827;
    color: #e5e7eb; font-size: .8125rem; }
.shw-qr { display: flex; align-items: center; gap: 1rem; margin: .75rem 1rem 0; padding: .75rem; border-radius: .75rem; border: 1px solid var(--shw-border);
    background: #111827; }
.shw-qr img { width: 112px; height: 112px; background: #fff; border-radius: .375rem; flex-shrink: 0; }
.shw-qr p { margin: 0; font-size: .8125rem; color: #d1d5db; }
.shw-qr b { display: block; color: #fff; font-size: .875rem; margin-bottom: .25rem; }
/* The AR button, brought forward when the page was opened from the QR code (#ar). */
#hero-mv .ar-cta.shw-pulse { box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); animation: shw-pulse 1.6s ease-out 4; border-color: var(--shw-accent); }
@keyframes shw-pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); } 100% { box-shadow: 0 0 0 18px rgba(16, 185, 129, 0); } }

/* Size lines (W6-SHOW-09): three edges of the model's measured box with their lengths. */
.shw-dim-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
.shw-dims-on .shw-dim-svg { display: block; }
.shw-dim-svg line { stroke: #fbbf24; stroke-width: 2; stroke-dasharray: 6 4; }
.shw-dim-svg line.shw-hide { display: none; }
.shw-dim { display: none; pointer-events: none; padding: .15rem .45rem; border-radius: .375rem; background: rgba(15, 23, 42, .9);
    border: 1px solid #fbbf24; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.shw-dims-on .shw-dim { display: block; }
.shw-dim-dot { display: none; width: 1px; height: 1px; border: 0; padding: 0; background: transparent; pointer-events: none; }

/* ── Product page layout (13 Nov 2026, w6-show-showroom) ──
   Phone: name and price, then the stage, then the buy box, then the details. Laptop: the stage on the left with the name, price and
   the buy box beside it in the first screen; the details under the stage. */
.shw-pp { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "buy" "main" "side"; }
.shw-pp-head { grid-area: head; } .shw-pp-stage { grid-area: stage; } .shw-pp-buy { grid-area: buy; } .shw-pp-main { grid-area: main; } .shw-pp-side { grid-area: side; }
@media (min-width: 1024px) {
    .shw-pp { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 1.75rem; row-gap: 1.25rem; align-items: start;
        grid-template-areas: "stage head" "stage buy" "main buy" "main side"; grid-template-rows: auto auto auto 1fr; }
    .shw-pp-head h1 { font-size: 1.75rem; }
}
.shw-act-wide { display: flex; width: 100%; min-height: 48px; font-size: .9375rem; }
.shw-buy-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.shw-tap { min-height: 44px; display: flex; align-items: center; justify-content: center; }
/* The stage before the model arrives, when no still was made from it. */
.shw-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
    color: #94a3b8; font-size: .8125rem; background: linear-gradient(180deg, #334155 0%, #0f172a 75%); }
.shw-poster svg { width: 3rem; height: 3rem; opacity: .6; }
.finish-swatch { min-height: 36px; }
@media (max-width: 767.98px) { .finish-swatch, #finish-reset { min-height: 44px; } }

/* ── Share row (W6-SHOW-02) ── */
.shw-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.shw-share-label { font-size: .75rem; color: #9ca3af; margin-right: .25rem; }

/* ── Phone action bar (W6-SHOW-12) ── */
.shw-mbar { display: none; }
@media (max-width: 767.98px) {
    .shw-mbar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom));
        background: rgba(17, 24, 39, .97); border-top: 1px solid var(--shw-border); }
    .shw-mbar > * { flex: 1 1 0; }
    body.shw-has-mbar { padding-bottom: 72px; }
    body.shw-has-mbar .shw-tray { bottom: 76px; }
    body.shw-has-mbar .shw-toast { bottom: 9rem; }
    .shw-tray { left: 1rem; right: 1rem; justify-content: center; }
    .shw-qr { display: none; }
}

/* ── Picture viewer (W6-SHOW-12) ── */
.shw-lightbox { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 1px solid var(--shw-border); border-radius: 1rem; background: #0b1220; color: #fff; }
.shw-lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.shw-lightbox figure { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 50vh; padding: 3.5rem 3.5rem 1rem; }
.shw-lightbox img { max-width: 100%; max-height: 76vh; object-fit: contain; }
.shw-lightbox figcaption { text-align: center; font-size: .8125rem; color: #9ca3af; padding: 0 1rem 1rem; }
.shw-lb-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .9); color: #fff; font-size: 1.25rem; cursor: pointer; }
.shw-lb-btn:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.shw-lb-close { top: .5rem; right: .5rem; }
.shw-lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.shw-lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* ── Compare table (W6-SHOW-05) ── */
.shw-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .8125rem; }
.shw-compare th, .shw-compare td { padding: .55rem .75rem; border-bottom: 1px solid var(--shw-border); text-align: left; vertical-align: top; }
.shw-compare thead th { vertical-align: bottom; background: var(--shw-card); }
.shw-compare tbody th { color: #9ca3af; font-weight: 500; white-space: nowrap; }
.shw-compare td { color: #fff; }
.shw-compare tr.shw-differs td, .shw-compare tr.shw-differs th { background: rgba(251, 191, 36, .07); }
.shw-compare tr.shw-differs th::before { content: "\2260"; color: #fbbf24; font-weight: 700; margin-right: .375rem; }
.shw-compare .shw-group th { padding-top: 1.25rem; color: #9ca3af; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: transparent; }
.shw-compare .shw-none { color: #6b7280; }
.shw-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--shw-border); border-radius: 1rem; background: #111827; }
.shw-compare-scroll:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.shw-compare-thumb { display: block; width: 120px; height: 90px; object-fit: contain; background: #0f172a; border-radius: .5rem; margin-bottom: .5rem; }
.shw-compare .shw-sticky { position: sticky; left: 0; z-index: 1; background: #111827; min-width: 9rem; }
/* 13 Nov 2026 (w6-show-showroom): the next step above the table, a placeholder where a product has no picture, and on a phone a
   narrower label column and a line that says the table scrolls (the second and third products were off screen with no hint). */
.shw-compare-acts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.shw-thumb-none { display: flex; align-items: center; justify-content: center; text-align: center; padding: .5rem; font-size: 11px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; border: 1px dashed #334155; }
.shw-swipe { display: none; }
@media (max-width: 767.98px) {
    .shw-swipe { display: block; font-size: .8125rem; color: #9ca3af; margin: 0 0 .5rem; }
    .shw-compare .shw-sticky { min-width: 6.5rem; max-width: 7.5rem; white-space: normal; font-size: .75rem; }
    .shw-compare th[data-sh-compare-col] { min-width: 10.5rem !important; }
    .shw-compare-acts > * { flex: 1 1 100%; }
}

/* ── Quote list page (W6-SHOW-03) ── */
.shw-list-row { display: grid; grid-template-columns: 64px 1fr; gap: .75rem 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--shw-border); }
.shw-list-row:last-child { border-bottom: 0; }
.shw-list-fields { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.shw-list-fields label { display: flex; flex-direction: column; gap: .25rem; font-size: .75rem; color: #9ca3af; }
.shw-list-fields input { min-height: 44px; border-radius: .5rem; border: 1px solid #4b5563; background: #1f2937; color: #fff; padding: 0 .75rem; font-size: .875rem; }
.shw-list-fields input[type="number"] { width: 6.5rem; }
.shw-list-fields input[type="text"] { width: 14rem; max-width: 100%; }
.shw-list-thumb { width: 64px; height: 64px; object-fit: contain; border-radius: .5rem; background: #0f172a; }
@media (min-width: 768px) {
    .shw-list-row { grid-template-columns: 64px 1fr auto; }
    .shw-list-fields { grid-column: auto; }
}
.shw-list-thumb.shw-thumb-none { font-size: 9px; letter-spacing: .03em; padding: .25rem; line-height: 1.2; }
.shw-list-total { flex: 1 1 100%; margin: 0 0 .25rem; font-size: .8125rem; color: #cbd5e1; }
/* Phone (13 Nov 2026): quantity and finish on one row, the request button the full width. */
@media (max-width: 767.98px) {
    .shw-list-fields { display: grid; grid-template-columns: 6rem 1fr; gap: .5rem .75rem; }
    .shw-list-fields input[type="number"], .shw-list-fields input[type="text"] { width: 100%; }
    .shw-list-fields [data-sh-row-remove] { grid-column: 1 / -1; justify-self: start; }
    .shw-list-acts > * { flex: 1 1 100%; }
}

/* The light theme for the pieces added 13 Nov 2026 (public-light.css maps the rest). Text pairs at AA on white. */
html[data-theme="light"] .shw-steps { color: #334155; }
html[data-theme="light"] .shw-steps b { color: #0f172a; }
html[data-theme="light"] .shw-steps li::before { color: #047857; background: rgb(16 185 129 / .14); }
html[data-theme="light"] .shw-filter-toggle { background: #ffffff; color: #0f172a; border-color: #8391a7; }
html[data-theme="light"] .shw-thumb-none { color: #475569; border-color: #cbd5e1; background: #f1f5f9; }
html[data-theme="light"] .shw-list-total, html[data-theme="light"] .shw-swipe { color: #334155; }

@media (prefers-reduced-motion: reduce) {
    #hero-mv .ar-cta.shw-pulse { animation: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, .7); }
    .shw-toast, .shw-progress-fill { transition: none; }
}
