/* The Store (25 Nov 2026). Loaded after site.css, by the /store pages only.
   Same colours and type as the rest of the site (the :root block in site.css), but
   its own header: the store is its own place (Daniel, 25 Nov). */

/* ---- the store's header ------------------------------------------------------- */
.st-util { background: var(--ink-2); color: var(--grey-rev); font-size: 13px; border-top: 4px solid var(--blue); }
.st-util .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 34px; }
.st-util a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.st-util a:hover { color: var(--sky); }
.st-back::before { content: "\2190"; margin-right: 8px; font-family: var(--mono); }
.st-reach { display: flex; flex-wrap: wrap; gap: 4px 24px; }

.st-head { position: sticky; top: 0; z-index: 50; color: var(--white); background: var(--ink) url("/img/chips-tile.jpg") repeat; background-size: 800px 550px; border-bottom: 1px solid var(--line-rev); }
.st-head .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.st-brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.st-brand img { width: 150px; }
.st-brand span { padding: 3px 10px 1px; border: 2px solid var(--blue); color: var(--white); font-family: var(--display); font-stretch: 75%; font-size: 24px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.st-search { display: flex; min-width: 0; max-width: 760px; width: 100%; justify-self: center; }
.st-search input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 0; border-radius: 2px 0 0 2px; }
.st-search input:focus { outline: 2px solid var(--sky); outline-offset: 0; }
.st-search button { padding: 0 18px; font-family: var(--display); font-stretch: 75%; font-size: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue-deep); border: 0; border-radius: 0 2px 2px 0; cursor: pointer; }
.st-search button:hover { background: var(--blue); }
.st-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--white); text-decoration: none; font-family: var(--display); font-stretch: 75%; font-size: 21px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line-rev); }
.st-cart:hover { border-color: var(--white); }
.st-cart svg { width: 26px; height: 26px; }
.st-cart-ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.st-cart-dot { fill: currentColor; }
.st-cart b { min-width: 1.6em; padding: 1px 6px; background: var(--blue-deep); text-align: center; font-size: 18px; }

.st-bar { background: var(--blue-deep); color: #fff; position: relative; z-index: 40; }
.st-bar .wrap { display: flex; align-items: stretch; gap: 0 24px; min-height: 46px; }
.st-cats { position: relative; }
.st-cats summary { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 18px 0 0; cursor: pointer; list-style: none; font-family: var(--display); font-stretch: 75%; font-size: 21px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.st-cats summary::-webkit-details-marker { display: none; }
.st-cats summary::before { content: ""; width: 18px; height: 12px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat; }
.st-cats summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.st-cats-menu { position: absolute; left: 0; top: 100%; min-width: 300px; max-width: 90vw; display: grid; background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 14px 30px rgba(14, 16, 18, .25); }
.st-cats-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--display); font-stretch: 75%; font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.st-cats-menu a:hover { background: var(--sheet); color: var(--blue-ink); }
.st-cats-menu small { font-family: var(--body); font-size: 14px; color: var(--grey); font-weight: 400; }
.st-cats-sub { display: grid; }
.st-cats-sub a { font-family: var(--body); font-stretch: 100%; font-size: 16px; font-weight: 600; text-transform: none; padding-left: 30px; }
.st-cats-h { padding: 12px 18px 4px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.st-quick { display: flex; align-items: center; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; }
.st-quick a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.st-quick a:hover { text-decoration: underline; }

.st-crumbs { background: var(--white); border-bottom: 1px solid var(--line); font-size: 14px; }
.st-crumbs .wrap { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-top: 10px; padding-bottom: 10px; color: var(--grey); }
.st-crumbs i { font-style: normal; color: var(--grey); }
.st-crumbs a { color: var(--blue-ink); text-decoration: none; }

.st-hero { padding: clamp(26px, 3.4vw, 48px) 0; color: var(--white); background: var(--ink-2); }
.st-hero h1 { font-size: clamp(42px, 6vw, 84px); }
/* The store's front page: a small heading on one line, not a banner (27 Nov 2026). */
.st-hero.slim { padding: 12px 0 11px; }
.st-hero.slim .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.st-hero.slim h1 { font-size: clamp(20px, 2vw, 26px); }
.st-hero.slim .lead { margin-top: 0; font-size: 15px; }
.st-hero .lead { margin-top: 12px; font-weight: 400; font-size: clamp(18px, 1.6vw, 22px); color: var(--grey-rev); max-width: 34em; }
.st-sec { padding: clamp(30px, 4vw, 56px) 0; }
.st-sec + .st-sec { padding-top: 0; }

@media (max-width: 760px) {
	.st-head .wrap { grid-template-columns: 1fr auto; }
	.st-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.st-brand img { width: 120px; }
	.st-brand span { font-size: 20px; }
	.st-cart span { display: none; }
	.st-cats-menu { position: fixed; left: 8px; right: 8px; top: auto; min-width: 0; max-width: none; max-height: 70vh; overflow-y: auto; }
	.st-util .wrap { justify-content: center; }
	.st-reach { display: none; }
}

/* ---- front page tiles --------------------------------------------------------- */
.st-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
/* as many across as fit, so the tiles left fill the row when an empty section is hidden */
@media (min-width: 760px) { .st-tiles { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.st-tiles li[hidden], .st-cats-menu a[hidden] { display: none; }
.st-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 150px; padding: 22px; color: var(--white); text-decoration: none; background: var(--ink) url("/img/chips-tile.jpg") repeat; background-size: 800px 550px; border-bottom: 4px solid var(--blue); }
.st-tile b { font-family: var(--display); font-stretch: 75%; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; text-transform: uppercase; }
.st-tile span { color: var(--grey-rev); font-size: 15px; }
.st-tile:hover { border-bottom-color: var(--sky); }
.st-tile-printed { background: var(--ink) url("/img/store/tray-4f-2c.jpg") right -40px center / auto 135% no-repeat; }
.st-tile-printed b, .st-tile-printed span { text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }

/* ---- result cards ------------------------------------------------------------- */
.st-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.st-grid[aria-busy=true] { opacity: .55; }
.st-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.st-card:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(14, 16, 18, .12); }
.st-card img, .st-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #F8F9F9; border-bottom: 1px solid var(--line); }
.st-card-cat { margin: 12px 16px 0; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); min-height: 1em; }
.st-card b { margin: 4px 16px 0; font-size: 18px; line-height: 1.25; }
.st-card-sum { margin: 6px 16px 0; font-size: 14px; line-height: 1.4; color: var(--grey); }
.st-card-foot { margin: auto 16px 14px; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.st-card-price { font-family: var(--display); font-stretch: 75%; font-size: 26px; font-weight: 700; }
.st-card-foot small { font-size: 13px; color: var(--grey); }

/* ---- the shop page: filters beside results ------------------------------------- */
.st-shop-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line-strong); }
.st-shop-head h1 { font-size: clamp(34px, 4vw, 56px); }
.st-count { margin: 0; color: var(--grey); }
.st-shop-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .st-shop-grid { grid-template-columns: 260px 1fr; } }
.st-filters { background: var(--white); border: 1px solid var(--line); }
.st-filters > summary { padding: 14px 16px; cursor: pointer; font-family: var(--display); font-stretch: 75%; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.st-filters form { padding: 4px 16px 12px; }
@media (min-width: 900px) { .st-filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; } .st-filters > summary { pointer-events: none; list-style: none; } .st-filters > summary::-webkit-details-marker { display: none; } }
.st-f { margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.st-f legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.st-check { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.st-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.st-check small { color: var(--grey); font-size: 13px; }
.st-check:has(input:disabled) { color: var(--grey); cursor: default; }
.st-price { display: flex; align-items: center; gap: 8px; }
.st-price input { width: 100%; padding: 8px 10px; font: inherit; font-size: 16px; border: 1px solid var(--grey); border-radius: 2px; }
.st-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font: inherit; font-size: 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer; }
.st-chip i { font-style: normal; font-size: 18px; line-height: 1; }
.st-chip:hover { border-color: var(--blue); color: var(--blue-ink); }
.st-sort { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.st-sort select { padding: 8px 10px; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1px solid var(--grey); border-radius: 2px; }
.st-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.st-pager a { padding: 8px 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.st-pager a[aria-current] { background: var(--ink); color: var(--white); }
.store-note.bad { color: #B3261E; }

/* ---- a product page ------------------------------------------------------------ */
.st-product { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .st-product { grid-template-columns: 7fr 5fr; } }
.st-gallery { display: grid; gap: 14px; }
.st-shot { width: 100%; height: auto; background: #F8F9F9; border: 1px solid var(--line); }
.st-shot[hidden] { display: none; }
/* a product's pictures: one large, arrows either side, small ones underneath */
.st-gal { display: grid; gap: 10px; min-width: 0; }
.st-gal-main { position: relative; aspect-ratio: 4 / 3; background: #F8F9F9; border: 1px solid var(--line); overflow: hidden; }
.st-gal-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 60px; padding: 0 0 4px; border: 0; color: var(--white); background: rgba(14, 16, 18, .55); font-size: 30px; line-height: 1; cursor: pointer; }
.st-gal-nav:hover, .st-gal-nav:focus-visible { background: var(--blue); }
.st-gal-nav[data-gal-prev] { left: 0; }
.st-gal-nav[data-gal-next] { right: 0; }
.st-gal-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; font-size: 12px; color: var(--white); background: rgba(14, 16, 18, .6); }
.st-gal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.st-gal-thumb { flex: 0 0 84px; height: 63px; border: 2px solid var(--line); background: #F8F9F9; }
.st-gal-thumb[aria-current="true"], .st-gal-thumb:hover, .st-gal-thumb:focus-visible { border-color: var(--blue); }
.st-gal-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a tray (or anything) with no picture yet */
.st-shot-none { display: grid; place-items: center; aspect-ratio: 4 / 3; margin: 0; color: var(--grey); font-size: 18px; }
[data-tray-only][hidden] { display: none; }
.st-shot-note { margin: -6px 0 0; font-size: 13px; color: var(--grey); }
.st-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.st-buy-col h1 { font-size: clamp(38px, 4.4vw, 64px); }
.st-lead { margin: 12px 0 22px; font-size: 19px; color: var(--grey); }
.st-free { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--line-strong); }
.st-free h2 { margin: 0 0 4px !important; font-size: clamp(24px, 2.2vw, 30px); }
.st-free .store-note { margin-top: 8px; }

.store-sec { padding: clamp(40px, 5vw, 72px) 0; }
.store-sec.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.store-note { margin: 18px 0 0; max-width: 40em; color: var(--grey); }
.store-note .more { margin-left: 6px; }

/* a product page */
.buy-grid { align-items: start; }
.tray-dwg { margin: 0; padding: 18px; background: var(--white); border: 1px solid var(--line); }
.tray-dwg svg { display: block; width: 100%; height: auto; max-width: 520px; margin: 0 auto; }
.tray-dwg figcaption { margin-top: 8px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--grey); }
.dw-part { fill: #D9DCE0; stroke: var(--ink); stroke-width: 2.5; }
.dw-ext { stroke: var(--grey); stroke-width: 1; }
.dw-dim { stroke: var(--ink); stroke-width: 1.2; }
.dw-arrow { fill: var(--ink); }
.dw-txt { font-family: var(--body); font-size: 15px; fill: var(--ink); }
.dw-note { fill: var(--grey); font-size: 14px; }

.buy { display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 30px); background: var(--white); border: 2px solid var(--line-strong); }
.opt { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.opt legend, .opt label > span, .qty { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.opt legend { margin-bottom: 10px; padding: 0; }
fieldset.opt label { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; font-size: 18px; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
fieldset.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.opt-price { font-weight: 700; }
.picks label, .qty { display: grid; gap: 6px; }
.picks label[hidden] { display: none; }
.buy select, .buy input[type=number], .cartlist input { width: 100%; max-width: 320px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--grey); border-radius: 2px; }
.qty input { max-width: 120px; }
.buy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; }
.buy-line b { font-family: var(--display); font-stretch: 75%; font-size: 40px; line-height: 1; }
.buy-line .btn:disabled { opacity: .45; cursor: default; }
.buy-msg { min-height: 1.5em; margin: 0; font-weight: 600; }
/* nothing to say: no empty line and no second gap between the button and the note under it */
.buy .buy-msg:empty { min-height: 0; margin-top: -18px; }
.buy.q-form .buy-msg:empty { margin-top: -22px; }
/* premade vise jaws: the price of each material, plain and dovetailed */
.jaws-prices { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 16px; }
.jaws-prices th, .jaws-prices td { padding: 7px 10px 7px 0; text-align: left; border-bottom: 1px solid var(--line); }
.jaws-prices thead th { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); font-weight: 600; }
.jaws-prices tbody th { font-weight: 600; }
.jaws-prices td { font-weight: 700; }
.buy-msg.bad { color: #B3261E; }
.buy .store-note { margin: 0; }

/* cart and order */
.cartlist { width: 100%; border-collapse: collapse; background: var(--white); border-top: 2px solid var(--line-strong); }
.cartlist th, .cartlist td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cartlist thead th { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); font-weight: 400; }
.cartlist tfoot th, .cartlist tfoot td { font-weight: 700; }
.cartlist tfoot th { text-align: right; }
.cartlist small { display: block; color: var(--grey); font-size: 15px; }
.cartlist input { max-width: 90px; }
.linkish { padding: 0; border: 0; background: none; color: var(--blue-ink); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
[data-cart-pay] { margin-top: 24px; }
.order-status { margin: 0 0 6px; font-size: 20px; }
.order-status b { margin-left: 10px; padding: 3px 10px; background: var(--ink); color: var(--white); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
[data-order-say] { margin: 0 0 24px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
	.cartlist thead { display: none; }
	.cartlist, .cartlist tbody, .cartlist tr, .cartlist td { display: block; width: 100%; }
	.cartlist tbody tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.cartlist td { padding: 4px 16px; border: 0; }
	.cartlist td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--grey); }
	.cartlist tfoot, .cartlist tfoot tr { display: table; width: 100%; }
	.cartlist tfoot th, .cartlist tfoot td { display: table-cell; }
}

/* ---- phones: two cards a row, the category button on one line ------------------ */
.st-cats summary { white-space: nowrap; }
@media (max-width: 560px) {
	.st-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.st-card-sum { display: none; }
	.st-card b { margin: 4px 10px 0; font-size: 16px; }
	.st-card-cat { margin: 10px 10px 0; }
	.st-card-foot { margin: auto 10px 10px; }
	.st-card-price { font-size: 22px; }
	.st-cats summary { font-size: 18px; padding-right: 10px; }
	.st-quick a:nth-child(n+3) { display: none; }
}
.st-tip { margin: -8px 0 22px; padding: 12px 16px; background: var(--white); border-left: 4px solid var(--blue); font-size: 17px; }
.st-tip b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }

/* ---- the quote tool (/store/quote) ----------------------------------------------- */
.q-wrap { display: grid; gap: 24px; }
.q-form { display: grid; gap: 22px; max-width: 980px; }
.q-form[hidden], .q-done[hidden] { display: none; }
.q-mode { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .q-mode { grid-template-columns: 1fr 1fr; } }
.q-mode label { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; background: var(--white); border: 2px solid var(--line); cursor: pointer; }
.q-mode label:has(input:checked) { border-color: var(--blue); }
.q-mode input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); grid-row: 1 / 3; }
.q-mode b { font-size: 18px; }
.q-mode small { color: var(--grey); font-size: 14px; }
.q-mode legend { padding: 0; margin: 0 0 12px; font-weight: 700; font-size: 19px; text-align: center; width: 100%; }
.q-tick { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 600; cursor: pointer; }
.q-tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.q-step { display: grid; gap: 14px; }
.q-step[hidden] { display: none; }
.q-step h2 { margin: 0 !important; font-size: clamp(26px, 2.4vw, 34px); }
.q-drop { position: relative; display: grid; gap: 4px; place-items: center; text-align: center; padding: 34px 18px; background: var(--white); border: 2px dashed var(--blue); cursor: pointer; }
.q-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-drop b { font-size: 19px; }
.q-drop span { color: var(--grey); font-size: 15px; }
.q-drop.over { background: #EAF3FB; }
.q-drop-big { gap: 12px; padding: clamp(40px, 7vw, 76px) 18px; }
.q-drop-big b { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; }
.q-drop-big em { font-style: italic; font-weight: 700; color: var(--ink); }
.q-drop .q-safe { max-width: 62ch; margin-top: 10px; color: var(--ink); font-size: 15px; }
.q-drop .q-browse { pointer-events: none; color: #fff; font-size: 16px; }
.q-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.q-types i { display: grid; align-items: end; justify-items: center; width: 52px; height: 62px; padding-bottom: 6px; font-style: normal; font-weight: 700; font-size: 13px; color: #fff; background: #4A5560; border-top-right-radius: 14px; }
.q-parts { display: grid; gap: 14px; }
.q-part { display: grid; gap: 16px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--line-strong); }
@media (min-width: 760px) { .q-part { grid-template-columns: 260px 1fr; } }
.q-part-pic { display: grid; gap: 8px; align-content: start; }
.q-part-pic img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #F8F9F9; border: 1px solid var(--line); }
.q-part-pic img[hidden] { display: none; }
.q-part-wait { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 12px; background: #F8F9F9; border: 1px solid var(--line); color: var(--grey); font-size: 14px; text-align: center; }
.q-part-wait[hidden] { display: none; }
.q-part-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.q-part-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.q-part-head b { font-size: 18px; overflow-wrap: anywhere; }
.q-size { margin: 0; color: var(--grey); font-size: 15px; }
.q-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .q-row { grid-template-columns: 1fr 1fr; } }
.q-field { display: grid; gap: 6px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.q-field[hidden], .q-check[hidden] { display: none; }
.q-field input, .q-field select, .q-field textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1px solid var(--grey); border-radius: 2px; }
.q-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; font-size: 16px; cursor: pointer; }
.q-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.q-photos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.q-photos li { display: grid; gap: 4px; }
.q-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.q-progress { padding: 12px 16px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.q-progress[hidden] { display: none; }
.q-progress p { margin: 2px 0; }
.q-progress .bad { color: #B3261E; font-weight: 600; }
.q-done { max-width: 760px; padding: 24px; background: var(--white); border: 2px solid var(--blue); }
.q-done h2 { margin: 0 0 8px !important; }
.q-view { width: min(960px, 94vw); padding: 0; border: 2px solid var(--line-strong); }
.q-view::backdrop { background: rgba(14, 16, 18, .6); }
.q-view-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.q-view-box canvas { display: block; width: 100%; height: min(70vh, 620px); touch-action: none; }
.q-view .store-note { margin: 8px 16px 12px; }

/* ---- Sporting Goods (26 Nov 2026): a product with no picture yet, and its specs ---- */
.st-noshot { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--ink) url("/img/chips-tile.jpg") repeat; background-size: 800px 550px; border: 1px solid var(--line); }
.st-noshot span { padding: 8px 14px; border: 1px solid var(--line-rev); color: var(--grey-rev); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
.st-specs { display: grid; margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--line-strong); }
@media (min-width: 560px) { .st-specs { grid-template-columns: 1fr 1fr; } }
.st-specs div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.st-specs dt { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); }
.st-specs dd { margin: 4px 0 0; font-weight: 600; }
.st-tile-sporting { border-bottom-color: var(--sky); }

/* ---- Phase 3: checks and instant prices after sending ------------------------------ */
.q-results { display: grid; gap: 12px; margin-top: 16px; }
.q-result { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--line-strong); }
.q-result h3 { margin: 0 0 8px; font-size: 18px; overflow-wrap: anywhere; }
.q-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.q-checks li { padding-left: 22px; position: relative; }
.q-checks li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.q-checks li.good::before { content: "\2713"; color: #2F8F4E; }
.q-checks li.warn::before { content: "!"; color: #B26A00; }
.q-checks li.bad::before { content: "\2715"; color: #B3261E; }
.q-price { margin: 10px 0 0; font-size: 18px; }
.q-price b { font-family: var(--display); font-stretch: 75%; font-size: 30px; }
.q-review { margin: 10px 0 0; font-weight: 600; color: var(--blue-ink); }
.q-estimate { margin: 14px 0 0; padding: 10px 14px; background: #FFF8E6; border-left: 4px solid #B26A00; font-size: 15px; }
.q-estimate[hidden] { display: none; }
.q-aside { margin: -4px 0 0; font-size: 15px; }
.q-aside [hidden] { display: none; }
.q-help { width: min(720px, 94vw); }
.q-help-body { padding: 14px 18px 18px; max-height: 70vh; overflow: auto; }
.q-help-body p { margin: 0 0 12px; }
.q-help-body dl { margin: 0 0 12px; display: grid; gap: 10px; }
.q-help-body dt { font-weight: 700; }
.q-help-body dd { margin: 2px 0 0; color: var(--grey); }
.q-check small { display: block; grid-column: 2; color: var(--grey); font-size: 13px; }
