/* Plate page extras (bm-plate-extras.php): the bolt kit and the TS&S set in the Options step. Theme variables, theme cards. */

[data-bm-bolts][hidden] { display: none; }
/* The bolt card: the check area lies over the whole card, the links and buttons of other lengths sit above it */
.bm-px-card { position: relative; }
.bm-px-hit { position: absolute; inset: 0; z-index: 1; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bm-px-card .bm-pdp-tgl-t small + small { margin-top: 4px; }
.bm-px-more a, .bm-px-more button { position: relative; z-index: 2; }
.bm-px-more a, button.bm-px-qa { padding: 0; margin: 0; background: none; border: 0; border-radius: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.bm-px-more a:focus-visible, button.bm-px-qa:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* The set: a panel under its line, like the color field under Custom color */
.bm-tss-panel { display: grid; gap: 12px; margin-top: 6px; padding: 12px; background: var(--cream); border: 1px solid var(--rule); }
.bm-tss-panel[hidden] { display: none; }
.bm-tss-q { display: grid; gap: 8px; }
.bm-tss-qt { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.bm-tss-qt:focus { outline: none; }
.bm-tss-qn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border: 1.5px solid currentColor; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 11px; font-weight: 600; }
.bm-tss-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bm-tss-chip { min-height: 44px; padding: 6px 8px; border: 1px solid var(--rule); background: #fff; font: inherit; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .15s; }
.bm-tss-chip:last-child { grid-column: 1 / -1; }
.bm-tss-chip:hover { border-color: var(--ink); }
.bm-tss-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.bm-tss-chip:focus-visible, .bm-tss-more:focus-visible, .bm-tss-link:focus-visible, .bm-tss-ask-btn:focus-visible, .bm-tss-up:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bm-tss-ms { display: grid; gap: 6px; }
.bm-tss-m { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px; min-height: 44px; margin: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--rule); cursor: pointer; }
.bm-tss-m input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.bm-tss-m:hover { border-color: var(--ink); }
.bm-tss-m.is-on, .bm-tss-m:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bm-tss-m:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.bm-tss-dot { position: relative; width: 18px; height: 18px; margin-top: 1px; border: 2px solid var(--ink-faint); border-radius: 50%; }
.bm-tss-m.is-on .bm-tss-dot, .bm-tss-m:has(input:checked) .bm-tss-dot { border-color: var(--red); }
.bm-tss-m.is-on .bm-tss-dot::after, .bm-tss-m:has(input:checked) .bm-tss-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--red); }
.bm-tss-m-t strong { display: block; font-weight: 600; font-size: 14px; line-height: 18px; }
.bm-tss-m-t small { display: block; margin-top: 2px; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 12px; line-height: 16px; color: var(--ink-soft); }
.bm-tss-m-p { font-weight: 600; font-size: 14px; line-height: 18px; white-space: nowrap; }
.bm-tss-more { justify-self: start; min-height: 44px; margin: -2px 0; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bm-tss-more--ask { color: var(--ink-soft); }
.bm-tss-more + .bm-tss-more { margin-top: -12px; }
.bm-tss-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.bm-tss-cav, .bm-tss-fill, .bm-tss-note { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-soft); }
.bm-tss-cav .bm-tss-link, .bm-tss-note .bm-tss-link, .bm-tss-fill .bm-tss-link { color: var(--ink); white-space: nowrap; }
.bm-tss-need { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--red-dark); }
.bm-tss-from { margin: 0; padding: 8px 10px; background: #fff; border-left: 3px solid var(--red); font-size: 13px; line-height: 18px; }

/* Ask us */
.bm-tss-ask { display: grid; gap: 8px; padding: 12px; background: #fff; border-left: 3px solid var(--ink); }
.bm-tss-ask p { margin: 0; font-size: 14px; line-height: 20px; }
.bm-tss-ask-a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.bm-tss-ask-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.bm-tss-ask-btn:hover { background: var(--ink); color: #fff; }
.bm-tss-ask .bm-tss-ask-alt { font-size: 13px; color: var(--ink-soft); }

/* The picked transducer and the set */
.bm-tss-picked { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 6px 12px; background: #fff; border: 1px solid var(--ink); }
.bm-tss-picked small { display: block; font-size: 12px; line-height: 16px; color: var(--ink-soft); }
.bm-tss-picked strong { display: block; font-weight: 600; font-size: 14px; line-height: 18px; }
.bm-tss-change { min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 500; }
.bm-tss-items { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bm-tss-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--rule); }
.bm-tss-item img, .bm-tss-ph { display: block; width: 56px; height: 56px; object-fit: contain; background: #fff; }
.bm-tss-ph { background: var(--cream); }
.bm-tss-item-t strong { display: block; font-weight: 600; font-size: 14px; line-height: 18px; overflow-wrap: anywhere; }
.bm-tss-item-t small { display: block; margin-top: 2px; font-size: 13px; line-height: 17px; color: var(--ink-soft); }
.bm-tss-item-t small .bm-tss-link { color: var(--ink); }
.bm-tss-item-p { font-weight: 600; font-size: 14px; line-height: 18px; white-space: nowrap; }
/* Side of the plate: a small switch in the bracket card, as tall as the small buttons, as wide as its words */
/* The side of the bracket: the theme's line of text (.bm-pdp-pick, product.css), Egor 14.11 */
.bm-tss-side { margin-top: 2px; }
.bm-tss-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; line-height: 20px; }
.bm-tss-sum b { font-weight: 700; font-size: 16px; }

/* Kick-Back Jac: one line under the button */
.bm-tss-kb { margin: var(--x3, 12px) 0 0; font-size: 14px; line-height: 20px; }
.bm-tss-kb a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* The section lower on the page */
.bm-tss-up { min-height: 48px; margin-top: 12px; padding: 0 20px; border: 1px solid var(--ink); background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.bm-tss-up:hover { background: var(--ink); color: #fff; }

/* PayPal on the product page would buy the plate alone */
.bm-tss-nopp .ppc-button-wrapper, .bm-tss-nopp [id^="ppc-button-ppcp"] { display: none !important; }

@media (min-width: 600px) {
  .bm-tss-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bm-tss-chip:last-child { grid-column: auto; }
}

/* The pick from the panel under the bolt card: "Set of 6, 4.5″ · $37.50 · Change" (Egor 10.11, one card on every plate) */
.bm-px-in { color: var(--ink); font-weight: 600; }
.bm-px-card .bm-pdp-tgl-t small.bm-px-in { margin-top: 4px; }
.bm-px-in button { position: relative; z-index: 2; font-weight: 400; }

/* Find your shield data on the plate (Egor 11.11): the numbers on the label under each transducer, and a field to find it by them */
.bm-tss-find { width: 100%; min-height: 44px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.bm-tss-find:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.bm-tss-k { display: block; font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-size: 11px; line-height: 16px; color: var(--ink-soft); overflow-wrap: anywhere; }
.bm-tss-none { font-size: 14px; color: var(--ink-soft); margin: 4px 0 8px; }

/* Kick-Back Jac: the options of the SBB-5 inside its card once ticked (Egor 14.11), above the box's check area like the links. */
/* The SBB-5 options: the theme's line of text (.bm-pdp-pick, product.css), Egor 14.11 */
