/* Rivikon - equipment shop (/parking/equipment/). Pages come from build_shop.py.
   Layout patterns follow a classic storefront: page head with breadcrumbs,
   category sidebar + toolbar + product grid, product page with a sticky
   picture and a buy box, and a cart drawer that ends in an enquiry form.
   Pictures sit on a light grey tile with mix-blend-mode: multiply, so a
   product photo shot on white blends into the tile like the drawings do. */

.shop .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shop { --tile: #f2f4f7; --pill-line: rgba(13, 22, 34, .16); }
.shop-h2 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); letter-spacing: -.025em; margin-bottom: 20px; }

/* ---------- breadcrumbs + page head ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0 0 16px;
  padding: 0; font-size: .82rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
@media (hover:hover) and (pointer:fine){.crumbs a:hover { color: var(--blue); }}
.crumbs [aria-current] { color: var(--ink); }

.shop-head { padding: 26px 0 6px; }
.shop-head h1 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; max-width: 24ch; }
.shop-lede { color: var(--muted); max-width: 62ch; margin-top: 10px; font-size: 1rem; line-height: 1.6; }

/* ---------- category tiles (shop home) ---------- */
.shop-cats { padding: 30px 0 4px; }
.ctiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.ctile { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
@media (hover:hover) and (pointer:fine){.ctile:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }}
.ctile-img { display: grid; place-items: center; aspect-ratio: 5 / 4; background: var(--tile); border-radius: 10px;
  overflow: hidden; margin-bottom: 12px; }
.ctile-img img { width: 100%; height: 100%; object-fit: contain; padding: 10% 12%; mix-blend-mode: multiply;
  transition: transform .3s var(--ease); }
@media (hover:hover) and (pointer:fine){.ctile:hover .ctile-img img { transform: scale(1.05); }}
.ctile b { font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.25; padding: 0 4px; }
.ctile small { color: var(--faint); font-size: .8rem; padding: 2px 4px 0; }
@media (max-width: 1023px) {
  .ctiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .ctiles li { scroll-snap-align: start; }
}

/* ---------- listing: sidebar + toolbar + grid ---------- */
.shop-body { padding: 26px 0 52px; }
.shop-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 44px; align-items: start; }
.shop-side { position: sticky; top: 132px; }
.side-h { font-family: 'Onest', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--faint);
  margin: 0 0 8px 10px; }
.side-cats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.side-cats a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 8px; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.side-cats a span { color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (hover:hover) and (pointer:fine){.side-cats a:hover { background: var(--bg-alt); }}
.side-cats a[aria-current] { background: var(--blue-soft); color: var(--blue-h); font-weight: 600; }
.side-cats a[aria-current] span { color: var(--blue); }
.side-cfg { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; padding: 18px; border-radius: 14px;
  background: var(--navy); color: #fff; transition: background .15s; }
@media (hover:hover) and (pointer:fine){.side-cfg:hover { background: var(--navy-2); color: #fff; }}
.side-cfg-ico { color: #8fb8ff; margin-bottom: 8px; display: inline-flex; }
.side-cfg b { font-family: 'Geologica', sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
.side-cfg span:last-child { color: rgba(255, 255, 255, .72); font-size: .84rem; line-height: 1.45; }
@media (max-width: 1023px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .shop-side { display: none; }
}

.shop-chips { display: none; }
@media (max-width: 1023px) {
  .shop-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 16px; scrollbar-width: none; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--pill-line); border-radius: 999px;
    font-size: .86rem; color: var(--ink); white-space: nowrap; background: #fff; }
  .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
  /* the shop home already has the picture tiles right above */
  .shop-cats + .shop-body .shop-chips { display: none; }
}

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tb-count { margin: 0; font-size: .9rem; color: var(--muted); }
.tb-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tb-tools[hidden] { display: none; }
.tb-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--pill-line);
  border-radius: 999px; font-size: .86rem; color: var(--ink); cursor: pointer; background: #fff; }
.tb-toggle input { accent-color: var(--blue); margin: 0; width: 15px; height: 15px; }
.tb-toggle:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-h); }
.tb-search { position: relative; display: flex; align-items: center; }
.tb-search svg { position: absolute; left: 12px; color: var(--faint); pointer-events: none; }
.tb-search input { width: 230px; padding: 9px 14px 9px 38px; border: 1px solid var(--pill-line); border-radius: 999px;
  font: inherit; font-size: .88rem; color: var(--ink); background: #fff; }
.tb-search input:focus { outline: none; border-color: var(--ink); }
.tb-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.tb-sort select { appearance: none; -webkit-appearance: none; font: inherit; font-size: .88rem; color: var(--ink);
  padding: 9px 34px 9px 14px; border: 1px solid var(--pill-line); border-radius: 999px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230d1622' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 13px center; }
.tb-sort select:focus { outline: none; border-color: var(--ink); }
@media (max-width: 760px) {
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .tb-count { order: 2; }
  .tb-tools { order: 1; }
  .tb-search { flex: 1 1 100%; order: -1; }
  .tb-search input { width: 100%; }
  .tb-toggle, .tb-sort { flex: 1 1 0; justify-content: center; }
  .tb-sort span { display: none; }
  .tb-sort select { width: 100%; }
}

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.pgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .pgrid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .pgrid, .pgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
}
.ls-empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.ls-empty[hidden] { display: none; }
.ls-empty p { margin-bottom: 14px; }

/* ---------- product card ---------- */
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--tile); border-radius: 12px;
  overflow: hidden; margin-bottom: 14px; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 9% 11%; mix-blend-mode: multiply;
  transition: transform .4s var(--ease); }
.pcard-media.is-photo img { padding: 6%; }
@media (hover:hover) and (pointer:fine){.pcard:hover .pcard-media img { transform: scale(1.045); }}
.pbadge { position: absolute; top: 10px; left: 10px; font-size: .72rem; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.pbadge-own { background: var(--navy); color: #fff; }
.pbadge-rec { background: var(--blue); color: #fff; }
.pbadge-soon { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.pcard-body { display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: .76rem; color: var(--faint); margin-bottom: 4px; }
.pcard-title { font-family: 'Onest', sans-serif; font-size: .98rem; font-weight: 600; letter-spacing: -.005em;
  line-height: 1.32; margin: 0; }
.pcard-title a { color: var(--ink); }
@media (hover:hover) and (pointer:fine){.pcard-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }}
.pcard-spec { font-size: .84rem; color: var(--muted); margin: 5px 0 12px; line-height: 1.45; }
.pcard-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; }
.pcard-price b { font-size: 1.1rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; }
.pcard-price small { font-size: .76rem; color: var(--faint); }
.pcard-price.is-req b { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pcard-add { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--pill-line); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: .86rem; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
@media (hover:hover) and (pointer:fine){.pcard-add:hover { background: var(--ink); border-color: var(--ink); color: #fff; }}
.pcard-add.is-added, .pd-add.is-added { background: var(--green); border-color: var(--green); color: #fff; }
.pcard-add-s { display: none; }
@media (max-width: 700px) {
  .pcard-add-l { display: none; }
  .pcard-add-s { display: inline; }
  .pcard-title { font-size: .92rem; }
  .pcard-spec { font-size: .8rem; }
  .pbadge { top: 8px; left: 8px; font-size: .66rem; padding: 5px 8px; }
}

/* ---------- help band + how ordering ---------- */
.shop-band-wrap { padding: 4px 0 52px; }
.shop-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--navy);
  border-radius: 18px; overflow: hidden; }
.shop-band-copy { padding: 42px 46px; }
.shop-band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.shop-band p { color: rgba(255, 255, 255, .74); margin: 12px 0 24px; max-width: 46ch; line-height: 1.6; }
.shop-band-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-band-ctas .btn { border-radius: 999px; }
.shop-band-ghost { border: 1px solid rgba(255, 255, 255, .32); color: #fff; background: transparent; }
@media (hover:hover) and (pointer:fine){.shop-band-ghost:hover { border-color: #fff; color: #fff; }}
.shop-band-img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
@media (max-width: 820px) {
  .shop-band { grid-template-columns: 1fr; }
  .shop-band-img { order: -1; min-height: 0; height: 170px; }
  .shop-band-copy { padding: 26px 22px 28px; }
}

.shop-how-wrap { padding: 46px 0 50px; border-top: 1px solid var(--line); }
.shop-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.shop-how li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.how-n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); font-family: 'Geologica', sans-serif; font-weight: 700; font-size: .9rem; }
.shop-how b { color: var(--ink); font-weight: 600; padding-top: 6px; }
.shop-how p { color: var(--muted); font-size: .92rem; margin-top: 4px; line-height: 1.55; }
@media (max-width: 800px) { .shop-how { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- content sections ---------- */
.shop-sec { padding: 52px 0; }
.shop-sec-alt { background: var(--bg-alt); }
.shop-sec-head { max-width: 660px; margin-bottom: 26px; }
.shop-sec-head .shop-h2 { margin-bottom: 0; }
.shop-sec-head p { color: var(--muted); margin-top: 10px; }
.shop-narrow { max-width: 820px; }
.shop-final { padding-top: 8px; }

.shop-prose > :first-child { margin-top: 0; }
.shop-prose h2 { font-size: 1.4rem; letter-spacing: -.025em; margin: 30px 0 12px; }
.shop-prose h3 { font-family: 'Onest', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin: 26px 0 8px; }
.shop-prose p { color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.shop-prose ul, .shop-prose ol { color: var(--muted); line-height: 1.7; margin: 0 0 14px; padding-left: 1.2em; }
.shop-prose li { margin-bottom: 4px; }
.shop-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.shop-prose b, .shop-prose strong { color: var(--ink); }
.shop-prose .pd-steps { list-style: none; counter-reset: s; padding: 0; }
.pd-steps li { counter-increment: s; position: relative; padding: 0 0 12px 2.6rem; }
.pd-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue);
  font-weight: 700; font-size: .85rem; }
.faq p a { color: var(--blue); text-decoration: underline; }

/* barrier vs barrier-with-camera */
.shop-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .shop-vs { grid-template-columns: 1fr; } }
.shop-vs-col { border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px; background: #fff; }
.shop-vs-col.is-pro { border-color: transparent; background: var(--blue-soft); }
.shop-vs-tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.is-pro .shop-vs-tag { color: var(--blue-h); }
.shop-vs-col h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 14px; }
.shop-vs-list { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.shop-vs-list li { position: relative; padding-left: 1.6rem; color: var(--ink); font-size: .95rem; }
.shop-vs-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.shop-vs-list.is-con li { color: var(--muted); }
.shop-vs-list.is-con li::before { width: 11px; height: 2px; border: 0; background: var(--faint); transform: none; top: .7em; }
.shop-vs-cta { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 600; }

/* services table */
.shop-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.shop-table th, .shop-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.shop-table thead th { font-size: .8rem; font-weight: 600; color: var(--faint); padding-top: 0; }
.shop-table tbody th { font-weight: 400; padding-right: 24px; }
.shop-table tbody th b { display: block; color: var(--ink); font-weight: 600; }
.shop-table tbody th span { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; line-height: 1.5; }
.shop-table td { white-space: nowrap; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.shop-table thead th:last-child { text-align: right; }
.shop-table td b { color: var(--ink); font-size: 1.02rem; }
.shop-table td small { display: block; color: var(--faint); font-size: .76rem; }
@media (max-width: 560px) { .shop-table td { white-space: normal; } }

/* ---------- product page ---------- */
.pd { padding: 24px 0 44px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: start; }
.pd-media { position: sticky; top: 132px; aspect-ratio: 5 / 4; background: var(--tile); border-radius: 18px; overflow: hidden; }
.pd-media img { width: 100%; height: 100%; object-fit: contain; padding: 9% 11%; mix-blend-mode: multiply; }
.pd-media.is-photo img { padding: 5%; }
.pd-media .pbadge { top: 16px; left: 16px; font-size: .78rem; padding: 7px 12px; }
.pd-cat { font-size: .85rem; font-weight: 600; color: var(--blue); }
@media (hover:hover) and (pointer:fine){.pd-cat:hover { color: var(--blue-h); }}
.pd-title { font-size: clamp(1.6rem, 2.7vw, 2.25rem); letter-spacing: -.035em; line-height: 1.12; margin: 8px 0 8px; }
.pd-sub { font-size: .9rem; color: var(--faint); margin: 0 0 20px; }
.pd-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pd-price b { font-size: 1.95rem; font-weight: 700; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-price small { font-size: .9rem; color: var(--muted); }
.pd-price.is-req b { font-size: 1.35rem; }
.pd-vat { font-size: .88rem; color: var(--faint); margin: 2px 0 0; }
.pd-lede { color: var(--muted); line-height: 1.65; margin: 20px 0 16px; }
.pd-feat { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.pd-feat li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: .95rem; }
.pd-feat svg { flex: 0 0 auto; color: var(--green); margin-top: 3px; }
.pd-row { display: flex; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
/* kit add-ons (e.g. a pay station), unticked by default */
.pd-opts { border: 1px solid var(--line); border-radius: 12px; padding: 6px 14px 10px; margin: 0 0 18px; min-width: 0; }
.pd-opts legend { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 0 6px; }
.pd-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .95rem; color: var(--ink); }
.pd-opt input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--blue); }
.pd-opt-price { margin-left: auto; font-weight: 600; white-space: nowrap; }
.pd-add { flex: 1; border-radius: 999px; padding-left: 20px; padding-right: 20px; }
.pd-cfg { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .92rem; font-weight: 600; color: var(--blue); }
@media (hover:hover) and (pointer:fine){.pd-cfg:hover { color: var(--blue-h); }}
.pd-cfg svg { transition: transform .2s var(--ease); }
@media (hover:hover) and (pointer:fine){.pd-cfg:hover svg { transform: translateX(3px); }}
.pd-assure { list-style: none; display: grid; gap: 11px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.pd-assure li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.pd-assure svg { flex: 0 0 auto; color: var(--ink); }
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pd-media { position: static; }
}

.qty { display: inline-flex; align-items: center; flex: 0 0 auto; height: 52px; border: 1px solid var(--pill-line);
  border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 100%; font-size: 1.15rem; line-height: 1; color: var(--ink); border-radius: 999px; }
@media (hover:hover) and (pointer:fine){.qty button:hover:not(:disabled) { background: var(--bg-alt); }}
.qty button:disabled { color: var(--line-2); cursor: default; }
.qty input, .qty output { width: 38px; border: 0; padding: 0; background: transparent; text-align: center; font: inherit;
  font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty-sm { height: 34px; }
.qty-sm button { width: 32px; font-size: 1rem; }
.qty-sm output { width: 24px; font-size: .9rem; }

.pd-details { padding: 0 0 20px; }
.pd-row-d { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; padding: 34px 0; border-top: 1px solid var(--line); }
.pd-row-d > h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.pd-row-d > div { max-width: 760px; min-width: 0; }
@media (max-width: 800px) { .pd-row-d { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px 0; } }
.pd-specs { width: 100%; border-collapse: collapse; font-size: .94rem; }
.pd-specs th, .pd-specs td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pd-specs tr:first-child th, .pd-specs tr:first-child td { padding-top: 0; }
.pd-specs th { width: 44%; padding-right: 18px; font-weight: 400; color: var(--muted); }
.pd-specs td { color: var(--ink); font-weight: 500; }

/* ---------- header button + cart drawer ---------- */
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px;
  border-radius: 999px; background: var(--pill); color: var(--ink); font-size: .85rem; font-weight: 600; }
@media (hover:hover) and (pointer:fine){.nav-cart:hover { background: var(--pill-h); }}
.nav-cart-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; }
.nav-cart-n[hidden] { display: none; }
.nav-cart.is-float { position: fixed; right: 16px; bottom: 16px; z-index: 80; background: #fff; box-shadow: var(--shadow-lg); }
.nav-cart.in-local { margin-left: auto; height: 34px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
@media (hover:hover) and (pointer:fine){.nav-cart.in-local:hover { box-shadow: inset 0 0 0 1px var(--line-2); }}
@media (max-width: 1023px) {
  .nav-cart-l { display: none; }
  .nav-cart { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav-cart-n { position: absolute; top: -4px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; font-size: .66rem;
    box-shadow: 0 0 0 2px var(--cream); }
}
/* A phone's top bar fits the logo, one button and the menu. In the shop the
   cart is the action, so it takes the shop button's place there (you are
   already in the shop). */
@media (max-width: 479px) { .shop .nav-right > .btn { display: none; } .shop .mobile-menu a.mobile-demo { display: flex; } }

html.cart-lock { overflow: hidden; }
.cart { position: fixed; inset: 0; z-index: 1100; }
.cart[hidden] { display: none; }
.cart-scrim { position: absolute; inset: 0; background: rgba(10, 26, 53, .45); opacity: 0; transition: opacity .22s; }
.cart.is-open .cart-scrim { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: #fff; overflow-y: auto; overscroll-behavior: contain; outline: none;
  transform: translateX(100%); transition: transform .24s var(--ease); box-shadow: -24px 0 48px -24px rgba(13, 22, 34, .35); }
.cart.is-open .cart-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .cart-panel, .cart-scrim { transition: none; } }
.cart-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.cart-head-n { color: var(--faint); font-weight: 500; font-family: 'Onest', sans-serif; font-size: 1rem; }
.cart-x { width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--ink); }
@media (hover:hover) and (pointer:fine){.cart-x:hover { background: var(--pill); }}
.cart-step { display: flex; flex-direction: column; flex: 1; }
.cart-step[hidden] { display: none; }
.cart-lines { list-style: none; margin: 0; padding: 4px 22px; flex: 1; }
.cart-lines:empty { display: none; }
.cl { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line); }
.cl:last-child { border-bottom: 0; }
.cl-img { display: block; width: 72px; height: 58px; border-radius: 8px; background: var(--tile); overflow: hidden; }
.cl-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.cl-name { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.3; }
@media (hover:hover) and (pointer:fine){.cl-name:hover { color: var(--blue); }}
.cl-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cl-rm { font-size: .8rem; color: var(--faint); text-decoration: underline; text-underline-offset: 2px; }
@media (hover:hover) and (pointer:fine){.cl-rm:hover { color: #d92d2d; }}
.cl-amt { display: grid; gap: 2px; justify-items: end; text-align: right; }
.cl-amt b { font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.cl-amt b.is-req { font-size: .78rem; font-weight: 500; color: var(--muted); white-space: normal; max-width: 86px; line-height: 1.3; }
.cl-amt small { font-size: .74rem; color: var(--faint); white-space: nowrap; }
.cart-foot { position: sticky; bottom: 0; padding: 16px 22px 22px; background: #fff; border-top: 1px solid var(--line); }
.cart-foot[hidden] { display: none; }
.cart-tot { margin: 0; }
.cart-tot div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .9rem; color: var(--muted); }
.cart-tot dd { margin: 0; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.cart-tot .cart-grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); align-items: baseline; }
.cart-grand dt { color: var(--ink); font-weight: 600; }
.cart-grand dd { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.cart-req { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.cart-req[hidden] { display: none; }
.cart-note { font-size: .78rem; color: var(--faint); line-height: 1.5; margin: 8px 0 14px; }
.cart-next { width: 100%; border-radius: 999px; }
.cart-keep { display: block; margin: 12px auto 0; font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (hover:hover) and (pointer:fine){.cart-keep:hover { color: var(--ink); }}
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 28px; text-align: center; }
.cart-empty[hidden] { display: none; }
.cart-empty-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg-alt); color: var(--muted); }
.cart-empty h3 { font-size: 1.15rem; margin-top: 6px; }
.cart-empty p { color: var(--muted); font-size: .92rem; margin-bottom: 8px; max-width: 30ch; }
.cart-empty .btn { width: 100%; max-width: 280px; border-radius: 999px; }
.cart-back { align-self: flex-start; margin: 16px 22px 0; font-size: .88rem; color: var(--muted); }
@media (hover:hover) and (pointer:fine){.cart-back:hover { color: var(--ink); }}
.cart-form { padding: 10px 22px 26px; }
.cart-form h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 6px; }
.cart-form-p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-bottom: 12px; }
.cart-form-sum { font-size: .85rem; color: var(--ink); background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; margin-bottom: 18px; }
.cart-form .form-row { margin-bottom: 14px; }
.cart-form .form-row textarea { min-height: 84px; }
.cart-privacy { font-size: .74rem; color: var(--faint); line-height: 1.5; margin-top: 12px; }
.cart-privacy a { color: var(--muted); text-decoration: underline; }

/* toast */
.shop-toast { position: fixed; left: 50%; bottom: 20px; z-index: 1050; display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 24px); padding: 8px 8px 8px 12px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .87rem; box-shadow: var(--shadow-xl); opacity: 0; pointer-events: none;
  transform: translate(-50%, 16px); transition: opacity .2s, transform .25s var(--ease); }
.shop-toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.shop-toast-ok { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); font-size: .72rem; }
.shop-toast-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-toast button { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: .82rem; font-weight: 600; }

/* ---------- configurator ---------- */
.cfg-wrap { padding-top: 22px; }
.cfgx { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
@media (max-width: 999px) { .cfgx { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.cfgx-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cfgx-noscript { padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 16px; }
.cfgx-block { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px 22px 18px; min-width: 0; margin: 0; }
.cfgx-block legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px;
  font-family: 'Geologica', system-ui, sans-serif; font-weight: 600; font-size: 1.08rem; letter-spacing: -.02em; color: var(--ink); }
.cfgx-block legend + * { clear: both; }
.cfgx-num { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: 'Onest', sans-serif; font-size: .78rem; font-weight: 700; }
.cfgx-hint { font-size: .85rem; color: var(--faint); margin-top: 8px; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.stepper-row + .stepper-row { border-top: 1px solid var(--line); }
.stepper-label { font-weight: 500; color: var(--ink); font-size: .95rem; }
.stepper-row .qty { height: 42px; }
.stepper-row .qty button { width: 40px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .seg { grid-template-columns: 1fr; } }
.seg-opt { position: relative; display: block; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt > span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line-2);
  border-radius: 12px; transition: border-color .15s, background .15s; }
.seg-opt b { color: var(--ink); font-weight: 600; }
.seg-opt small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
@media (hover:hover) and (pointer:fine){.seg-opt:hover > span { border-color: var(--ink); }}
.seg-opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.cfgx-check { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
.cfgx-check + .cfgx-check, .cfgx-check + .stepper-row, .stepper-row + .cfgx-check { border-top: 1px solid var(--line); }
.cfgx-check input { position: absolute; opacity: 0; pointer-events: none; }
.cfgx-check-box { position: relative; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 5px; background: #fff;
  transition: background .15s, border-color .15s; }
.cfgx-check input:checked + .cfgx-check-box { background: var(--ink); border-color: var(--ink); }
.cfgx-check input:checked + .cfgx-check-box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cfgx-check input:focus-visible + .cfgx-check-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.cfgx-check-name { color: var(--ink); font-weight: 500; font-size: .95rem; }
.cfgx-check-price { color: var(--muted); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cfgx-sum { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 22px 22px 20px; box-shadow: var(--shadow-md); }
@media (min-width: 1000px) {
  .cfgx-sum { position: sticky; top: 132px; }
  .sum-lines { max-height: min(38vh, 340px); overflow-y: auto; padding-right: 4px; }
}
.cfgx-sum h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 12px; }
.sum-lines { list-style: none; margin: 0 0 12px; padding: 0; font-size: .88rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.sum-lines .sl-name { color: var(--ink); }
.sum-lines .sl-name em { font-style: normal; color: var(--muted); white-space: nowrap; }
.sum-lines .sl-amt { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.sum-lines .is-req .sl-amt { color: var(--faint); font-weight: 400; }
.sum-tools { display: flex; justify-content: space-between; margin-top: 12px; }
.sum-link { font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (hover:hover) and (pointer:fine){.sum-link:hover { color: var(--ink); }}
.sum-link:disabled { color: var(--green); text-decoration: none; cursor: default; }
.cfgx-mbar { display: none; }
@media (max-width: 999px) {
  .cfgx-mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: flex; align-items: center;
    justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--navy);
    color: #fff; box-shadow: var(--shadow-xl); transform: translateY(140%); transition: transform .25s var(--ease); }
  .cfgx-mbar.is-on { transform: none; }
  .cfgx-mbar .btn { border-radius: 999px; }
  .cfgx-mbar-l { display: flex; flex-direction: column; font-size: .72rem; color: rgba(255, 255, 255, .7); line-height: 1.2; }
  .cfgx-mbar-l b { font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
  body.has-shop-mbar .scroll-top { bottom: 84px; }
  body.has-shop-mbar .shop-toast { bottom: 84px; }
}
@media (max-width: 999px) and (prefers-reduced-motion: reduce) { .cfgx-mbar { transition: none; } }
.nowrap { white-space: nowrap; }

/* Category attributes on product cards */
.pcard-attrs { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 3px; font-size: .8rem; line-height: 1.35; }
.pcard-attrs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--line, #dde2dd); padding-bottom: 3px; min-width: 0; }
/* two cards per row on a phone: long values must wrap inside the card, not push the page sideways */
.pcard-attrs li > * { min-width: 0; overflow-wrap: break-word; }
.pcard-attrs span { color: var(--muted); }
.pcard-attrs b { font-weight: 600; text-align: right; }

/* Attribute filters on category pages */
.tb-attrs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 20px; padding: 12px 16px;
  border: 1px solid #c9d6f2; border-radius: 14px; background: var(--blue-soft); }
.tb-attrs-h { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--blue-h); }
.tb-attrs-h svg { width: 18px; height: 18px; }
.tb-attr, .tb-attrs .tb-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.tb-attr select, .tb-attrs .tb-sort select { font: inherit; font-weight: 600; color: var(--ink, inherit); padding: 8px 12px; border: 1px solid var(--pill-line);
  border-radius: 999px; background: #fff; cursor: pointer; }
.tb-attr select.is-set { border-color: var(--blue); background: var(--blue); color: #fff; }
.tb-attrs .tb-sort { margin-left: auto; }

/* Order screen: loading, then success */
.ord-ov { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(12, 20, 40, .62); backdrop-filter: blur(3px); }
.ord-ov[hidden] { display: none; }
.ord-box { background: #fff; color: #14203a; border-radius: 20px; padding: 36px 32px; width: min(480px, 100%); max-height: 92vh; overflow: auto; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.ord-box h2 { margin: 18px 0 8px; font-size: 1.4rem; line-height: 1.2; }
.ord-box p { margin: 0 0 10px; color: #4d5a78; }
.ord-spin { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; border: 5px solid #dbe5fb; border-top-color: #2f63e8; animation: ord-rot .8s linear infinite; }
@keyframes ord-rot { to { transform: rotate(360deg); } }
.ord-check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: #1f9d6a; animation: ord-pop .35s ease-out; }
@keyframes ord-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ord-ref { font-size: .95rem; }
.ord-ref b { font-family: ui-monospace, monospace; letter-spacing: .04em; color: #14203a; }
.ord-next { text-align: left; background: #f1f5fe; border-radius: 14px; padding: 14px 18px; margin: 16px 0 20px; }
.ord-next h3 { margin: 0 0 6px; font-size: .95rem; }
.ord-next ol { margin: 0; padding-left: 20px; font-size: .92rem; color: #33405e; display: grid; gap: 4px; }
.ord-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .ord-spin, .ord-check { animation: none; } }

/* Checkout page */
.co-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; padding-block: 8px 56px; }
.co-main .cart-form { padding: 0; }
.co-main .cart-form h3, .co-main .cart-form-p { display: none; }
.co-sum { position: sticky; top: 96px; background: var(--bg-alt, #f4f7fd); border-radius: 18px; padding: 22px; }
.co-sum h2 { font-size: 1.15rem; margin: 0 0 6px; }
.co-sum .cart-lines { padding: 0; }
.co-sum .cart-note { margin: 12px 0 8px; }
@media (max-width: 860px) { .co-layout { grid-template-columns: 1fr; } .co-sum { position: static; order: -1; } }

/* Delivery block on the checkout page */
.co-ship { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 6px; margin: 6px 0 18px; }
.co-ship legend { font-weight: 700; padding: 0 8px; }
.co-row { display: grid; gap: 6px; margin-bottom: 14px; }
.co-lbl { font-size: .85rem; color: var(--muted); }
.co-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.co-opt { position: relative; }
.co-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.co-opt span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; background: #fff; }
.co-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.co-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-opt input:disabled + span { opacity: .5; }
.co-ship-est { background: var(--blue-soft); border-radius: 10px; padding: 10px 14px; font-size: .92rem; margin: 0 0 12px; }
.co-ship-est small { display: block; color: var(--muted); margin-top: 2px; }
.co-ship-fr { background: #fff6e5; border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 0 0 12px; }
.shop-head-min { padding-bottom: 0; }

/* ---------- Hero banners: bundles ---------- */
.hb-wrap { padding: 8px 0 24px; }
.hb-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 16px; }
.hb-slider { position: relative; min-height: 330px; border-radius: 18px; overflow: hidden; background: #155eef; }
.hb-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 12px;
  padding: 32px 36px 44px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; text-decoration: none; }
.hb-slide.is-on { opacity: 1; visibility: visible; }
.hb-blue { background: linear-gradient(120deg, #155eef, #0a3aa8); }
.hb-navy { background: linear-gradient(120deg, #172a4f, #0b1630); }
.hb-green { background: linear-gradient(120deg, #12805c, #0a5a41); }
.hb-copy { display: grid; gap: 10px; justify-items: start; }
.hb-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 5px 10px; border-radius: 999px; }
.hb-title { font-family: 'Geologica', 'Onest', sans-serif; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.hb-text { font-size: 1rem; opacity: .9; max-width: 34ch; }
.hb-price { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hb-price small { font-size: .8rem; font-weight: 500; opacity: .8; }
.hb-cta { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0a2a78; font-weight: 700; padding: 11px 18px; border-radius: 999px; font-size: .92rem; }
.hb-art { display: grid; place-items: center; background: rgba(255,255,255,.94); border-radius: 18px; padding: 14px; align-self: stretch; max-height: 250px; }
.hb-art img { width: 100%; height: 100%; object-fit: contain; }
.hb-dots { position: absolute; left: 36px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.hb-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); padding: 0; border: 0; cursor: pointer; }
.hb-dot.is-on { background: #fff; width: 26px; border-radius: 6px; }
.hb-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hb-mini { display: grid; align-content: center; gap: 4px; padding: 20px 22px; border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--blue-soft, #eaf1fe); }
.hb-mini small { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.hb-mini b { font-family: 'Geologica', 'Onest', sans-serif; font-size: 1.1rem; line-height: 1.2; }
.hb-mini span { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.hb-mini-b { background: #fff4e6; }
.hb-mini-b small { color: #c2610c; }
@media (max-width: 900px) {
  .hb-grid { grid-template-columns: 1fr; }
  .hb-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hb-slider { min-height: 400px; }
  .hb-slide { grid-template-columns: 1fr; padding: 24px 22px 46px; }
  .hb-art { max-height: 130px; order: -1; }
  .hb-dots { left: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hb-slide { transition: none; } }

/* ---------- Bundle page: what is included ---------- */
.kit-table { width: 100%; border-collapse: collapse; }
.kit-table td, .kit-table th { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; vertical-align: middle; }
.kit-table th a { color: var(--ink); font-weight: 600; }
.kit-table .kit-img img { width: 64px; height: 48px; object-fit: contain; background: var(--tile); border-radius: 8px; padding: 4px; mix-blend-mode: multiply; }
.kit-table .kit-q { width: 48px; text-align: center; color: var(--muted); }
.kit-table .kit-p { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.kit-table tfoot th, .kit-table tfoot td { border-bottom: 0; font-weight: 700; }
.kit-note { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.pbadge-kit { background: #12805c; color: #fff; }

/* ---------- eMAG-style product cards ---------- */
.pgrid { gap: 18px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 14px; transition: box-shadow .18s, border-color .18s; }
@media (hover:hover) and (pointer:fine){.pcard:hover { box-shadow: 0 8px 26px rgba(20, 40, 90, .12); border-color: #c9d6f2; }}
.pcard-media { margin-bottom: 10px; border-radius: 10px; }
.pcard-price b { font-size: 1.4rem; }
.pcard-price.is-req b { font-size: .92rem; }
.pcard-add { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (hover:hover) and (pointer:fine){.pcard-add:hover { background: var(--navy, #0f1f3d); border-color: var(--navy, #0f1f3d); }}

/* Configurator: entry/exit warning */
.cfgx-warn { display: flex; gap: 12px; align-items: flex-start; background: #fff6e5; border: 1px solid #f3d9a4; border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; font-size: .9rem; line-height: 1.5; color: #5c3b00; }
.cfgx-warn-i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #f59e0b; color: #fff; font-weight: 800; display: grid; place-items: center; }

/* ---------- Best Buy-style shop: yellow action, round category icons, quiet cards ---------- */
.ctiles { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px 10px; }
.ctile { background: transparent; border: 0; padding: 0; align-items: center; text-align: center; box-shadow: none !important; }
.ctile-img { width: 104px; height: 104px; aspect-ratio: 1; border-radius: 50%; background: #eef2fa; border: 1px solid #dde4f2; transition: border-color .15s, box-shadow .15s; }
@media (hover:hover) and (pointer:fine){.ctile:hover .ctile-img { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 94, 239, .15); }}
.ctile-img img { padding: 18%; }
.ctile b { margin-top: 10px; font-size: .9rem; }
.pcard { border-radius: 8px; padding: 14px; }
@media (hover:hover) and (pointer:fine){.pcard:hover { box-shadow: 0 2px 10px rgba(20, 40, 90, .14); border-color: #b9c6e4; }}
.pcard-title a { color: var(--blue); }
.pcard-price b { font-size: 1.5rem; font-weight: 800; color: #0d1b3d; }
.pcard-add { background: #ffe000; border-color: #ffe000; color: #0d1b3d; border-radius: 8px; font-weight: 700; }
@media (hover:hover) and (pointer:fine){.pcard-add:hover { background: #f2d300; border-color: #f2d300; color: #0d1b3d; }}
.pcard-add.is-added, .pd-add.is-added { background: #1f9d6a; border-color: #1f9d6a; color: #fff; }
.pcard-media { border-radius: 6px; background: #fff; }
.pcard-media img { mix-blend-mode: normal; }
.pd-add, .cart-next, .btn-primary.cart-next { }
.hb-grid { grid-template-columns: 1fr !important; } .hb-slider { min-height: 300px; }

/* Bigger round category icons */
.ctiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px 14px; }
.ctile-img { width: 140px; height: 140px; }
.ctile-img img { padding: 14%; }
.ctile b { font-size: 1rem; margin-top: 12px; }
.ctile small { font-size: .85rem; }
@media (max-width: 700px) {
  .ctiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; }
  .ctile-img { width: 112px; height: 112px; }
}
.ctile-img { width: 160px; height: 160px; }
.ctile-img img { padding: 8%; }
.ctiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 700px) { .ctile-img { width: 124px; height: 124px; } .ctiles { grid-auto-columns: 144px; } }
.ctile[href$="/bundles/"] small { font-weight: 700; letter-spacing: .06em; font-size: .72rem; color: var(--blue); }

/* Banner art must stay inside the banner */
.hb-slide { padding-bottom: 48px; }
.hb-art { height: 100%; max-height: 240px; min-height: 0; overflow: hidden; box-sizing: border-box; }
.hb-art img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) { .hb-art { height: 130px; max-height: 130px; } }
.hb-art { position: relative; display: block; padding: 0; }
.hb-art img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }

/* Product photo thumbnails */
.pd-thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.pd-thumb { width: 64px; height: 64px; padding: 2px; background: #fff; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-thumb.is-on { border-color: var(--blue); }

/* Out of stock */
.pbadge-oos { background: #fdeaea; color: #b42318; box-shadow: inset 0 0 0 1px #f4b4ae; }
.pd-oos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 6px 0 14px; padding: 14px 16px; border-radius: 12px; background: #fdeaea; color: #8a1c13; }

.co-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; margin-bottom: 8px; }
.co-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); }
.co-ship-note { color: var(--muted); font-size: .88rem; margin: 0 0 14px; }

/* Checkbox filters */
.tb-attrs { display: grid; gap: 14px; }
.tb-attrs-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tb-attrs-top .tb-sort { margin-left: auto; }
.tb-clear { font: inherit; font-size: .85rem; font-weight: 600; color: var(--blue); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }
.tb-fg { border: 0; margin: 0; padding: 0; min-width: 0; }
.tb-fg legend { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0; margin-bottom: 8px; }
.fc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fc { position: relative; }
.fc input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fc span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border: 1px solid #c9d6f2; border-radius: 8px; background: #fff; font-size: .9rem; font-weight: 600; }
.fc span::before { content: ""; width: 16px; height: 16px; border: 2px solid #8da2cf; border-radius: 4px; background: #fff; flex: none; }
.fc span small { color: var(--muted); font-weight: 500; }
.fc input:checked + span { border-color: var(--blue); background: #eaf1fe; }
.fc input:checked + span::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--blue); }
.fc input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Sort sits on the line with the product count */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-toolbar .tb-tools { margin-left: auto; }

/* Photo gallery overlay: the same as the software screens on /parking/ (vertical.css) */
.sw-lightbox { position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 3.5vmin clamp(3.75rem, 9vw, 7rem);
  background: rgba(6, 12, 22, 0.9);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: zoom-out; }
.sw-lb-frame { flex: 0 1 auto; min-height: 0; max-width: 100%;
  display: flex; overflow: hidden; border-radius: var(--radius-lg, 16px);
  cursor: zoom-in; touch-action: pan-y; }
.sw-lightbox img { max-width: 100%; max-height: 74vh; width: auto; height: auto;
  object-fit: contain; border-radius: var(--radius-lg, 16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5); background: #fff;
  transform-origin: center center; transition: transform 0.25s ease;
  -webkit-user-drag: none; user-select: none; }

/* One step further in, for the tables. The frame keeps its size and clips, and
   the picture inside it grows and can be dragged around - so the overlay never
   changes shape underneath the reader. */
.sw-lightbox.is-zoomed .sw-lb-frame { cursor: grab; touch-action: none; }
.sw-lightbox.is-zoomed .sw-lb-frame:active { cursor: grabbing; }
.sw-lightbox.is-zoomed img { border-radius: 0; }

.sw-lb-bar { flex: 0 0 auto; display: flex; align-items: center;
  justify-content: center; gap: 0.75rem; max-width: 100%; }
.sw-lb-cap { max-width: min(760px, 100%); text-align: center;
  color: #fff; cursor: default; }
.sw-lb-count { display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.58); margin-bottom: 0.35rem; }
.sw-lb-title { display: block; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.sw-lb-desc { display: block; margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.5;
  color: rgba(255, 255, 255, 0.76); }

.sw-lb-nav { position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.12);
  color: #fff; display: grid; place-items: center; transition: background 0.18s ease; }
@media (hover:hover) and (pointer:fine){.sw-lb-nav:hover { background: rgba(255, 255, 255, 0.3); }}
.sw-lb-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sw-lb-nav svg { width: 22px; height: 22px; }
.sw-lb-prev { left: clamp(0.5rem, 2.2vw, 1.75rem); }
.sw-lb-next { right: clamp(0.5rem, 2.2vw, 1.75rem); }

.sw-lb-x, .sw-lb-zoom { position: absolute; top: 1rem;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; line-height: 1;
  display: grid; place-items: center; padding: 0;
  transition: background 0.18s ease; }
.sw-lb-x { right: 1.25rem; font-size: 1.6rem; }
.sw-lb-zoom { right: 4.4rem; }
.sw-lb-zoom svg { width: 20px; height: 20px; }
@media (hover:hover) and (pointer:fine){.sw-lb-x:hover,.sw-lb-zoom:hover { background: rgba(255, 255, 255, 0.26); }}
.sw-lb-zoom[aria-pressed="true"] { background: rgba(255, 255, 255, 0.34); }
.sw-lb-x:focus-visible, .sw-lb-zoom:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }


@media (max-width: 720px) {
  .sw-lightbox { padding: 3.5vmin 0.8rem; gap: 0.75rem; }
  .sw-lightbox img { max-height: 56vh; }
  .sw-lb-nav { position: static; transform: none; flex: 0 0 auto; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.16); }
  .sw-lb-nav svg { width: 20px; height: 20px; }
  .sw-lb-bar { width: 100%; gap: 0.5rem; justify-content: space-between; }
  .sw-lb-cap { flex: 1 1 auto; min-width: 0; }
  .sw-lb-zoom { right: 4rem; }
}

/* "Paid car park" switch: the name on one line, the note under it */
.cfgx-check-paid { flex-wrap: wrap; row-gap: 2px; }
.cfgx-check-paid .cfgx-check-name { white-space: nowrap; flex: 1 1 auto; }
.cfgx-check-paid .cfgx-check-price { flex: 0 0 100%; padding-left: 34px; text-align: left; font-size: .84rem; color: var(--muted); white-space: normal; }

/* Narrow desktops: the top row also carries Shop and the demo button, so the cart in it shows the icon only */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-right .nav-cart-l { display: none; }
  .nav-right .nav-cart { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav-right .nav-cart-n { position: absolute; top: -4px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; font-size: .66rem;
    box-shadow: 0 0 0 2px var(--cream); }
}

/* ---- /parking/equipment/: ready configurations + a way into each category ---- */
.eq-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-top:20px}
.eq-cat{display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none;transition:border-color .18s,box-shadow .18s}
.eq-cat b{font-size:1rem}
.eq-cat span{font-size:.88rem;line-height:1.45;color:var(--muted)}
@media (hover:hover) and (pointer:fine){.eq-cat:hover{border-color:var(--blue);box-shadow:0 10px 28px -16px rgba(13,22,34,.3)}}
.eq-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}

/* ---- /shop/configurations/: pick a site type, the page scrolls to its kits ---- */
.cf-pick{padding:8px 0 28px}
.cf-types{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:640px){.cf-types{grid-template-columns:repeat(3,1fr)}}
.cf-type{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;color:var(--ink);text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.cf-type-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9edf3}
.cf-type-img img{width:100%;height:100%;object-fit:cover;display:block}
.cf-type-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.cf-type-body b{font-size:1.1rem}
.cf-type-link{font-size:.9rem;font-weight:600;color:var(--blue)}
@media (hover:hover) and (pointer:fine){.cf-type:hover{transform:translateY(-3px);border-color:var(--ink);box-shadow:0 14px 34px -18px rgba(13,22,34,.35)}}
html{scroll-padding-top:150px}

/* one quiet, visible sentence under the kits (kept for readers and crawlers, not a section of its own) */
.cf-note-wrap{padding:6px 0 30px}
.cf-note{font-size:.88rem;line-height:1.55;color:var(--muted);max-width:60ch}

/* Equipment page (parking section): same tinted header and green wave as the other parking pages. */
.shop-head--wave { position: relative; overflow: hidden; background: linear-gradient(180deg, #f4f8f6 0%, #eaf2ee 100%); padding: 26px 0 84px; }
.shop-head--wave > .container { position: relative; z-index: 1; }
.shop-head--wave::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 34C240 74 480 4 720 30S1200 8 1440 34V64H0Z' fill='%23ffffff'/%3E%3Cpath d='M0 34C240 74 480 4 720 30S1200 8 1440 34' fill='none' stroke='%230a8055' stroke-width='3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%; }
