/* Axis estimate store (Oct 2026): catalog (/products/), product details, suggested mounts, estimate list, and the
   estimate request (/products/request/). Loaded only by the complex/axis-store and complex/estimate-request blocks.
   No product photos: each product shows a line icon for its type (approval condition, Oct 21, 2026). */

.cx-store,
.cx-estimate,
.cx-store-dlg {
  --cxs-line: rgba(255, 255, 255, 0.1);
  --cxs-line-2: rgba(255, 255, 255, 0.07);
  --cxs-ctrl: #767e8c;
  --cxs-card: var(--wp--preset--color--navy-900);
  --cxs-tile: radial-gradient(120% 90% at 50% 0%, #1a2a44 0%, #0f1a2a 70%);
  --cxs-icon: #8ea3c2;
  --cxs-top: var(--wp-admin--admin-bar--height, 0px);
}
/* The theme has no global border-box; widths here include padding and borders. */
:where(.cx-store, .cx-estimate, .cx-store-dlg, .cx-store-toast),
:where(.cx-store, .cx-estimate, .cx-store-dlg, .cx-store-toast) *,
:where(.cx-store, .cx-estimate, .cx-store-dlg, .cx-store-toast) *::before,
:where(.cx-store, .cx-estimate, .cx-store-dlg, .cx-store-toast) *::after {
  box-sizing: border-box;
}
.cx-store > *,
.cx-estimate > * {
  margin-block: 0;
}
/* Zero specificity, so each component's own font rules win. */
:where(.cx-store, .cx-store-dlg, .cx-estimate__list) :where(button, select, input, textarea) {
  font: inherit;
  color: inherit;
}

/* The catalog section has no heading of its own: less space above the search bar. */
.cx-sec-store {
  padding-block-start: clamp(24px, 3vw, 44px);
}

/* ---------- Not everything we sell (Nick, Oct 21, 2026) ---------- */
.cx-store__note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 4px;
  padding: 14px 16px;
  border: 1px solid rgba(232, 102, 31, 0.35);
  border-radius: var(--wp--custom--radius--tile);
  background: rgba(232, 102, 31, 0.06);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wp--preset--color--ink-200);
}
.cx-store__note svg {
  flex: none;
  margin-top: 2px;
  color: var(--wp--preset--color--orange-300);
}
.cx-store__note p {
  margin: 0;
}
.cx-store__note strong {
  color: #fff;
}
.cx-store__note a,
.cx-store__empty a {
  color: var(--wp--preset--color--orange-300);
}

/* ---------- Search bar (sticks under the top of the window while browsing) ---------- */
.cx-store__bar {
  position: sticky;
  top: var(--cxs-top);
  z-index: 30;
  margin: 0 0 22px;
  padding: 12px 0;
  background: var(--wp--preset--color--navy-950);
  border-bottom: 1px solid var(--cxs-line-2);
}
.cx-section--alt .cx-store__bar {
  background: var(--wp--preset--color--ink-950);
}
.cx-store__bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cx-store__search {
  position: relative;
  flex: 1 1 320px;
  min-width: 0;
  display: block;
}
.cx-store__search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wp--preset--color--ink-300);
  pointer-events: none;
}
.cx-store__search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 42px;
  border-radius: var(--wp--custom--radius--control);
  border: 1.5px solid var(--cxs-ctrl);
  background: var(--wp--preset--color--navy-950);
  color: #fff;
  font-size: 1rem;
}
.cx-store__search input::placeholder {
  color: var(--wp--preset--color--ink-400);
}
.cx-store__select {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}
.cx-store__select select,
.cx-field select,
.cx-line__var select {
  width: 100%;
  min-height: 46px;
  padding: 0 38px 0 12px;
  border-radius: var(--wp--custom--radius--control);
  border: 1.5px solid var(--cxs-ctrl);
  background-color: var(--wp--preset--color--navy-950);
  background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--ink-300) 50%), linear-gradient(135deg, var(--wp--preset--color--ink-300) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  color: var(--wp--preset--color--ink-100);
  appearance: none;
  font-size: 0.9375rem;
}
.cx-store__search input:focus-visible,
.cx-store__select select:focus-visible,
.cx-field select:focus-visible,
.cx-line__var select:focus-visible,
.cx-qty input:focus-visible,
.cx-line__note textarea:focus-visible {
  border-color: var(--wp--preset--color--orange);
  outline: 2px solid var(--wp--preset--color--orange-300);
  outline-offset: 2px;
}
.cx-store__listbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--wp--custom--radius--control);
  border: 1.5px solid var(--wp--preset--color--orange);
  background: rgba(232, 102, 31, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
}
.cx-store__listbtn:hover {
  background: rgba(232, 102, 31, 0.2);
}
.cx-store__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  background: var(--wp--preset--color--orange);
  color: #fff;
  font: 600 0.75rem/1 var(--wp--preset--font-family--mono);
}
.cx-store__count.is-zero {
  background: var(--wp--preset--color--ink-700);
  color: var(--wp--preset--color--ink-300);
}
.cx-store__catsel {
  flex: 1 1 200px;
}
@media (min-width: 1024px) {
  .cx-store__catsel {
    display: none;
  }
}
/* Below 1024px (no category column): search and the list button on one row, category and sort below. */
@media (max-width: 1023.98px) {
  .cx-store__search {
    flex: 1 1 60%;
  }
  .cx-store__listbtn {
    order: 1;
  }
  .cx-store__catsel {
    order: 2;
    flex: 1 1 40%;
  }
  .cx-store__sort {
    order: 3;
    flex: 1 1 150px;
  }
}
@media (max-width: 639.98px) {
  .cx-store__listlabel {
    display: none;
  }
  .cx-store__select select {
    padding-right: 32px;
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    font-size: 0.875rem;
  }
  .cx-pd__media {
    min-height: 120px;
  }
  .cx-pd__icon svg {
    width: 64px;
    height: 64px;
  }
}

/* ---------- Layout: categories beside the grid on wide screens ---------- */
.cx-store__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.cx-store__side {
  display: none;
}
@media (min-width: 1024px) {
  .cx-store__layout {
    grid-template-columns: 248px minmax(0, 1fr);
  }
  .cx-store__side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: calc(var(--cxs-top) + 92px);
    max-height: calc(100vh - var(--cxs-top) - 110px);
    overflow: auto;
    padding-right: 4px;
  }
}
.cx-store__side > *,
.cx-store__main > *,
.cx-store__help > * {
  margin: 0;
}
.cx-store__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.cx-store__cats button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--wp--custom--radius--control);
  background: transparent;
  color: var(--wp--preset--color--ink-200);
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
}
.cx-store__cats button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.cx-store__cats button.is-on {
  background: var(--cxs-card);
  color: #fff;
  box-shadow: inset 2px 0 0 var(--wp--preset--color--orange);
}
.cx-store__cats button:disabled {
  opacity: 0.4;
  cursor: default;
}
.cx-store__n,
.cx-fchip__n {
  font: 500 0.6875rem/1 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-400);
}
.cx-store__help {
  margin-top: 12px !important;
  padding: 16px;
  border: 1px solid var(--cxs-line);
  border-radius: var(--wp--custom--radius--tile);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-store__help-t {
  font-weight: 600;
  color: #fff;
}
.cx-store__help a {
  color: var(--wp--preset--color--orange-300);
}
.cx-store__help .cx-mono {
  white-space: nowrap;
}

/* ---------- Results ---------- */
.cx-store__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cx-store__subs,
.cx-fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cx-store__subs[hidden] {
  display: none;
}
.cx-fchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--wp--custom--radius--pill);
  border: 1px solid var(--wp--custom--border--control);
  background: transparent;
  color: var(--wp--preset--color--ink-200);
  font-size: 0.8125rem;
  cursor: pointer;
}
.cx-fchip:hover {
  border-color: var(--wp--preset--color--ink-400);
  color: #fff;
}
.cx-fchip.is-on {
  border-color: var(--wp--preset--color--orange);
  background: rgba(232, 102, 31, 0.1);
  color: #fff;
}
.cx-store__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-store__result p {
  margin: 0;
}
.cx-store__result b {
  font: 500 0.875rem/1 var(--wp--preset--font-family--mono);
  color: #fff;
}
.cx-store__clear,
.cx-tlink {
  padding: 0;
  border: 0;
  background: none;
  color: var(--wp--preset--color--orange-300);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cx-store__clear[hidden] {
  display: none;
}
.cx-tlink--muted {
  color: var(--wp--preset--color--ink-300);
}
.cx-tlink:hover,
.cx-store__clear:hover {
  color: #fff;
}
.cx-store__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
@media (max-width: 559.98px) {
  .cx-store__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.cx-store__empty {
  grid-column: 1 / -1;
  padding: 36px 20px;
  border: 1px dashed var(--wp--custom--border--control);
  border-radius: var(--wp--custom--radius--tile);
  text-align: center;
  color: var(--wp--preset--color--ink-300);
}
.cx-store__empty strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}
.cx-store__empty .cx-btn {
  margin-top: 12px;
}
.cx-store__more {
  display: flex;
  justify-content: center;
}
.cx-store__more [hidden] {
  display: none;
}
.cx-store__fine,
.cx-store__noscript,
.cx-store__error {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-400);
}
.cx-store__error {
  color: var(--wp--preset--color--danger-on-dark);
}
.cx-store__noscript a,
.cx-store__error a {
  color: var(--wp--preset--color--orange-300);
}

/* ---------- Product card ---------- */
.cx-pcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--cxs-line);
  border-radius: var(--wp--custom--radius--card);
  background: var(--cxs-card);
  overflow: hidden;
  container-type: inline-size;
  transition: border-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
.cx-pcard:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.cx-pcard--ghost {
  min-height: 320px;
  background: linear-gradient(100deg, var(--cxs-card) 40%, #15233a 50%, var(--cxs-card) 60%) 0 0 / 200% 100%;
  animation: cx-store-shimmer 1.4s linear infinite;
}
@keyframes cx-store-shimmer {
  to {
    background-position: -200% 0;
  }
}
.cx-pcard__media {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--cxs-line-2);
  background: var(--cxs-tile);
  color: var(--cxs-icon);
  cursor: pointer;
}
.cx-pcard__media:hover,
.cx-pcard__media:focus-visible {
  color: var(--wp--preset--color--orange-300);
}
.cx-pcard__icon svg {
  display: block;
  width: 52px;
  height: 52px;
}
.cx-pcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 0;
}
.cx-pcard__body > * {
  margin: 0;
}
.cx-pcard__sub {
  font: 500 0.6875rem/1.3 var(--wp--preset--font-family--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink-400);
}
.cx-pcard__model {
  font-size: 1rem;
  line-height: 1.3;
}
.cx-pcard__model button {
  padding: 0;
  border: 0;
  background: none;
  font: 600 0.9375rem/1.3 var(--wp--preset--font-family--mono);
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.cx-pcard__model button:hover {
  color: var(--wp--preset--color--orange-300);
}
.cx-pcard__type {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--wp--preset--color--ink-200);
}
.cx-pcard__desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wp--preset--color--ink-300);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cx-pcard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px !important;
}
.cx-tag {
  font: 500 0.6875rem/1.5 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-200);
  border: 1px solid var(--wp--preset--color--ink-700);
  border-radius: 4px;
  padding: 0 6px;
}
.cx-pcard__pn {
  margin-top: auto !important;
  padding-top: 8px;
  font: 400 0.6875rem/1.4 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-400);
}
.cx-pcard__hint {
  font-family: var(--wp--preset--font-family--sans);
  color: var(--wp--preset--color--orange-300);
  white-space: nowrap;
}
.cx-pcard__foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 14px 14px;
}
@container (max-width: 215px) {
  .cx-pcard__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .cx-pcard__foot .cx-qty {
    justify-content: space-between;
  }
  .cx-pcard__foot .cx-qty input {
    flex: 1;
  }
}
@media (max-width: 559.98px) {
  .cx-pcard__desc {
    display: none;
  }
  .cx-pcard__media {
    height: 84px;
  }
  .cx-pcard__icon svg {
    width: 40px;
    height: 40px;
  }
}

/* ---------- Quantity and add buttons ---------- */
.cx-qty {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 38px;
  border: 1px solid var(--wp--custom--border--control);
  border-radius: var(--wp--custom--radius--control);
  overflow: hidden;
}
.cx-qty button {
  width: 32px;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--ink-200);
  cursor: pointer;
}
.cx-qty button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.cx-qty input {
  width: 40px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  font: 500 0.875rem/1 var(--wp--preset--font-family--mono);
  -moz-appearance: textfield;
}
.cx-qty input::-webkit-outer-spin-button,
.cx-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cx-add {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--wp--custom--radius--control);
  border: 1.5px solid var(--wp--preset--color--orange);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
}
.cx-add:hover {
  background: rgba(232, 102, 31, 0.15);
}
.cx-add.is-in {
  border-color: transparent;
  background: var(--wp--preset--gradient--grad-orange);
}
.cx-add__short {
  display: none;
}
@container (max-width: 270px) {
  .cx-add__long {
    display: none;
  }
  .cx-add__short {
    display: inline;
  }
}
.cx-add--mini {
  flex: none;
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.8125rem;
}
.cx-add--mini .cx-add__long {
  display: none;
}
.cx-add--mini .cx-add__short {
  display: inline;
}
.cx-add--lg {
  flex: 0 1 240px;
  min-height: 46px;
  font-size: 0.9375rem;
}
.cx-add--lg ~ .cx-qty,
.cx-pd__buy .cx-qty {
  height: 46px;
}

/* ---------- Dialogs (product details, suggested mounts, estimate list) ---------- */
.cx-store-dlg {
  width: min(940px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--wp--custom--border--control);
  border-radius: var(--wp--custom--radius--panel);
  background: var(--wp--preset--color--navy-950);
  color: var(--wp--preset--color--ink-200);
  font-family: var(--wp--preset--font-family--sans);
  overflow: hidden;
}
.cx-store-dlg[open] {
  display: flex;
  flex-direction: column;
}
.cx-store-dlg::backdrop {
  background: rgba(3, 7, 14, 0.72);
}
.cx-store-dlg__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid var(--cxs-line);
}
.cx-store-dlg__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 22px;
  overscroll-behavior: contain;
}
.cx-store-dlg__body > * {
  margin-top: 0;
}
.cx-store-dlg__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--cxs-line);
  background: var(--wp--preset--color--ink-950);
}
.cx-store-dlg__foot[hidden] {
  display: none;
}
.cx-store-dlg__foot--stack {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.cx-store-dlg__foot--stack p {
  margin: 0;
}
.cx-store-dlg__btns {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.cx-store-dlg h2,
.cx-store-dlg h3,
.cx-store-dlg h4 {
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.cx-store-dlg .cx-eyebrow {
  margin: 0 0 8px;
}
.cx-muted {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-400);
}
@media (max-width: 599.98px) {
  .cx-store-dlg {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: var(--wp--custom--radius--panel) var(--wp--custom--radius--panel) 0 0;
  }
  .cx-store-dlg__body {
    padding: 18px 16px;
  }
  .cx-store-dlg__btns {
    width: 100%;
  }
  .cx-store-dlg__btns .cx-btn {
    flex: 1;
  }
}

/* Estimate list: a side sheet on wide screens. */
.cx-store-dlg--list {
  width: min(460px, 100%);
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  border-radius: 0;
  border-width: 0 0 0 1px;
}
@media (max-width: 599.98px) {
  .cx-store-dlg--list {
    height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: var(--wp--custom--radius--panel) var(--wp--custom--radius--panel) 0 0;
    border-width: 1px 0 0;
  }
}

/* ---------- Product details ---------- */
.cx-pd {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  .cx-pd {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
.cx-pd__media {
  display: grid;
  place-items: center;
  min-height: 200px;
  border: 1px solid var(--cxs-line);
  border-radius: var(--wp--custom--radius--tile);
  background: var(--cxs-tile);
  color: var(--wp--preset--color--orange-300);
}
.cx-pd__icon svg {
  width: 96px;
  height: 96px;
  display: block;
}
.cx-pd__info > * {
  margin: 0;
}
.cx-pd__model {
  font: 700 clamp(1.4rem, 1.2rem + 1vw, 1.9rem)/1.15 var(--wp--preset--font-family--mono) !important;
  overflow-wrap: anywhere;
}
.cx-pd__type {
  margin-top: 6px !important;
  font-size: 1rem;
  color: var(--wp--preset--color--ink-100);
}
.cx-pd__desc {
  margin-top: 12px !important;
  color: var(--wp--preset--color--ink-200);
}
.cx-pd__facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  margin-top: 16px !important;
  font-size: 0.875rem;
}
.cx-pd__facts dt {
  font: 500 0.6875rem/1.8 var(--wp--preset--font-family--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink-400);
}
.cx-pd__facts dd {
  margin: 0;
  color: var(--wp--preset--color--ink-100);
  overflow-wrap: anywhere;
}
.cx-field {
  display: block;
  margin-top: 16px !important;
}
.cx-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}
.cx-pd__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px !important;
}
.cx-pd__ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px !important;
  font-size: 0.875rem;
  color: var(--wp--preset--color--orange-300);
}
.cx-pd__sec {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--cxs-line);
}
.cx-pd__sec > * {
  margin: 0 0 10px;
}
.cx-store-dlg .cx-pd__sec h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}
.cx-store-dlg .cx-pd__sec h3 + .cx-muted {
  margin-top: -6px;
  margin-bottom: 14px;
}
.cx-pd__group {
  margin-bottom: 16px;
}
.cx-pd__group .cx-label {
  display: block;
  margin: 0 0 8px;
}
.cx-minis,
.cx-opts {
  display: grid;
  gap: 8px;
}
@media (min-width: 720px) {
  .cx-minis,
  .cx-opts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cx-mini {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--cxs-line);
  border-radius: var(--wp--custom--radius--tile);
  background: var(--cxs-card);
}
.cx-mini__t,
.cx-opt__t {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}
.cx-mini__m,
.cx-opt__m {
  padding: 0;
  border: 0;
  background: none;
  font: 600 0.8125rem/1.35 var(--wp--preset--font-family--mono);
  color: #fff;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.cx-mini__m:hover {
  color: var(--wp--preset--color--orange-300);
}
.cx-mini__s,
.cx-opt__s {
  font-size: 0.75rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-opt__pn {
  font: 400 0.6875rem/1.4 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-400);
}
.cx-pbadge {
  align-self: flex-start;
  margin-top: 4px;
  padding: 1px 5px;
  border: 1px solid rgba(232, 102, 31, 0.45);
  border-radius: 4px;
  font: 500 0.625rem/1.5 var(--wp--preset--font-family--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--orange-300);
}
.cx-pbadge--alt {
  border-color: var(--wp--preset--color--ink-700);
  color: var(--wp--preset--color--ink-300);
}
.cx-thumb {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--cxs-line-2);
  border-radius: 8px;
  background: var(--cxs-tile);
  color: var(--cxs-icon);
}
.cx-thumb svg {
  width: 30px;
  height: 30px;
  display: block;
}
.cx-thumb--lg {
  width: 72px;
  height: 72px;
}
.cx-thumb--lg svg {
  width: 44px;
  height: 44px;
}
.cx-specs {
  display: grid;
  gap: 18px 28px;
}
@media (min-width: 760px) {
  .cx-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cx-specs__group h4 {
  margin-bottom: 4px !important;
  font: 500 0.6875rem/1.4 var(--wp--preset--font-family--mono) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--orange) !important;
}
.cx-specs dl {
  display: grid;
  grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
  margin: 0;
}
.cx-specs dt,
.cx-specs dd {
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid var(--cxs-line-2);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.cx-specs dt {
  padding-right: 12px;
  color: var(--wp--preset--color--ink-300);
}
.cx-specs dd {
  color: var(--wp--preset--color--ink-100);
  overflow-wrap: anywhere;
}

/* ---------- Suggested mounts (after Add) ---------- */
.cx-sug__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.cx-sug__head > div > * {
  margin: 0;
}
.cx-sug__h {
  font: 700 clamp(1.1rem, 1rem + 0.5vw, 1.35rem)/1.2 var(--wp--preset--font-family--mono) !important;
}
.cx-sug__q {
  color: var(--wp--preset--color--orange-300);
  font-size: 0.85em;
}
.cx-sug__head .cx-muted {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-sug__sec {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}
.cx-sug__sec h3,
.cx-sug__sec legend {
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}
.cx-sug__sec .cx-fchips {
  margin-bottom: 12px;
}
.cx-sug__box {
  margin-top: 18px;
}
.cx-sug__box strong {
  color: var(--wp--preset--color--ink-100);
}
.cx-opt {
  display: grid;
  grid-template-columns: auto 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--wp--custom--border--control);
  border-radius: var(--wp--custom--radius--tile);
  background: var(--cxs-card);
  cursor: pointer;
}
.cx-opt:hover {
  border-color: var(--wp--preset--color--ink-400);
}
.cx-opt.is-on {
  border-color: var(--wp--preset--color--orange);
  background: rgba(232, 102, 31, 0.08);
}
.cx-opt > input,
.cx-check input,
.cx-vars input,
.cx-ask input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--wp--preset--color--orange);
}
.cx-opt .cx-qty {
  height: 32px;
}
.cx-opt .cx-qty button {
  width: 26px;
}
.cx-opt .cx-qty input {
  width: 32px;
}
@media (max-width: 599.98px) {
  .cx-opt {
    grid-template-columns: auto 44px minmax(0, 1fr);
  }
  .cx-opt .cx-qty {
    grid-column: 2 / -1;
    justify-self: start;
  }
  .cx-opt .cx-thumb,
  .cx-mini .cx-thumb {
    width: 44px;
    height: 44px;
  }
  .cx-mini {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }
}
.cx-vars {
  display: grid;
  gap: 8px;
}
@media (min-width: 720px) {
  .cx-vars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cx-vars label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--wp--custom--border--control);
  border-radius: var(--wp--custom--radius--tile);
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-200);
  cursor: pointer;
}
.cx-vars label.is-on {
  border-color: var(--wp--preset--color--orange);
  background: rgba(232, 102, 31, 0.08);
  color: #fff;
}
.cx-vars__pn {
  margin-left: auto;
  font: 400 0.6875rem/1 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-400);
}
.cx-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-300);
  cursor: pointer;
}

/* ---------- Estimate list lines (side sheet and request page) ---------- */
.cx-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cx-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cxs-line);
}
.cx-line:first-child {
  padding-top: 2px;
}
.cx-line__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.cx-line__m {
  font: 600 0.875rem/1.35 var(--wp--preset--font-family--mono);
  color: #fff;
  overflow-wrap: anywhere;
}
.cx-line__t {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-line__pn {
  font: 400 0.6875rem/1.5 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-400);
}
.cx-line__for {
  font-size: 0.75rem;
  color: var(--wp--preset--color--orange-300);
}
.cx-line__q {
  font: 500 0.8125rem/1.5 var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--ink-100);
}
.cx-line__var {
  display: block;
  margin-top: 6px;
  max-width: 320px;
}
.cx-line__var select {
  min-height: 36px;
  font-size: 0.8125rem;
}
.cx-line__ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
}
.cx-line__ctl .cx-qty {
  height: 34px;
}
.cx-line__ctl .cx-tlink {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-200);
}
.cx-line__ctl .cx-tlink:hover {
  color: #fff;
}
.cx-line__note {
  display: block;
  margin-top: 8px;
}
.cx-line__note textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--wp--custom--radius--control);
  border: 1.5px solid var(--cxs-ctrl);
  background: var(--wp--preset--color--navy-950);
  color: #fff;
  font-size: 0.8125rem;
  resize: vertical;
}
.cx-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--cxs-line);
  border-radius: var(--wp--custom--radius--tile);
  background: var(--cxs-card);
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-200);
  cursor: pointer;
}
.cx-check input {
  margin-top: 2px;
}
.cx-check strong {
  color: #fff;
}
.cx-listempty {
  padding: 32px 10px;
  text-align: center;
  color: var(--wp--preset--color--ink-300);
}
.cx-listempty strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.0625rem;
  color: #fff;
}
.cx-listempty p {
  margin: 0 0 16px;
}

/* ---------- Request page ---------- */
.cx-estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (min-width: 1024px) {
  .cx-estimate {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }
}
.cx-estimate__list,
.cx-estimate__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.cx-estimate__list > *,
.cx-estimate__form > * {
  margin: 0;
}
.cx-estimate__list {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--cxs-line);
  border-radius: var(--wp--custom--radius--card);
  background: var(--wp--preset--color--ink-950);
}
@media (min-width: 1024px) {
  .cx-estimate__list {
    position: sticky;
    top: calc(var(--cxs-top) + 24px);
    max-height: calc(100vh - var(--cxs-top) - 48px);
    overflow: auto;
  }
}
.cx-estimate__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.cx-estimate__h {
  margin: 0;
  font-size: 1.125rem;
  color: #fff;
}
.cx-estimate__more {
  font-size: 0.875rem;
  color: var(--wp--preset--color--orange-300);
}
.cx-estimate__loading {
  color: var(--wp--preset--color--ink-300);
}
.cx-estimate__privacy {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-400);
}
.cx-estimate__privacy a {
  color: var(--wp--preset--color--ink-300);
}
.cx-estimate__error {
  margin: 8px 0 0;
  color: #fff;
}
.cx-estimate__error a {
  color: var(--wp--preset--color--orange-300);
}
/* An empty list hides the form; the list card says how to fill it. */
.cx-estimate.is-empty .cx-estimate__form {
  display: none;
}
.cx-estimate.is-empty {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}
.cx-estimate.is-sent .cx-estimate__privacy,
.cx-estimate.is-sent .cx-form__req,
.cx-estimate.is-sent .cx-estimate__more {
  display: none;
}
.cx-sent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--wp--custom--radius--tile);
  background: rgba(74, 222, 128, 0.07);
  color: var(--wp--preset--color--ink-200);
}
.cx-sent p {
  margin: 0;
}
.cx-sent strong {
  color: #fff;
}
.cx-sent__ok {
  color: var(--wp--preset--color--success-on-dark);
  flex: none;
}
.cx-lines--read .cx-line {
  padding: 10px 0;
}
.cx-sent + .cx-lines {
  margin-top: 14px;
}
.cx-sent ~ .cx-btn {
  margin-top: 18px;
}

/* ---------- Toast ---------- */
.cx-store-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 10px 16px;
  border: 1px solid var(--wp--custom--border--control);
  border-radius: 10px;
  background: var(--wp--preset--color--ink-900);
  color: #fff;
  font: 400 0.875rem/1.4 var(--wp--preset--font-family--sans);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cx-store-toast.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.cx-store-toast button {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wp--preset--color--orange-300);
  font: 600 0.875rem/1 var(--wp--preset--font-family--sans);
  cursor: pointer;
}
@media (max-width: 739.98px) {
  .cx-store-toast {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-pcard,
  .cx-store-toast {
    transition: none;
  }
  .cx-pcard--ghost {
    animation: none;
  }
}
