/**
 * BresciaPC Preventivatore - 1.48.0
 * Quiet, touch-friendly interface aligned with the repair product page.
 */
.bpc-qb {
  --qb-bg: #f5f5f7;
  --qb-card: #fff;
  --qb-subtle: #f7f8fa;
  --qb-text: #111214;
  --qb-copy: #525761;
  --qb-muted: #7c818b;
  --qb-line: #e4e7ec;
  --qb-line-strong: #d7dbe2;
  --qb-blue: #0066cc;
  --qb-blue-hover: #0055ad;
  --qb-blue-soft: #eef6ff;
  --qb-green: #12833c;
  --qb-shadow: 0 16px 48px rgba(15, 23, 42, .07);
  --qb-shadow-soft: 0 7px 22px rgba(15, 23, 42, .055);
  width: min(100%, 980px);
  margin: 0 auto;
  color: var(--qb-text);
  font-family: inherit;
}

.bpc-qb *,
.bpc-qb *::before,
.bpc-qb *::after {
  box-sizing: border-box;
}

.bpc-qb :where(button, a, input):focus-visible {
  outline: 3px solid rgba(0, 102, 204, .34);
  outline-offset: 3px;
}

.bpc-qb-hero {
  position: relative;
  z-index: 10;
  max-width: 720px;
  margin: 0 auto 14px;
}

.bpc-qb-hero__glow {
  display: none;
}

.bpc-qb-search {
  min-height: 58px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 18px;
  border: 1px solid var(--qb-line-strong);
  border-radius: 18px;
  background: var(--qb-card);
  box-shadow: var(--qb-shadow-soft);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bpc-qb-search:focus-within {
  border-color: var(--qb-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .12), var(--qb-shadow-soft);
}

.bpc-qb-search-ico {
  display: grid;
  place-items: center;
  color: var(--qb-muted);
}

.bpc-qb-search-ico svg,
.bpc-qb-search-go svg {
  width: 21px;
  height: 21px;
}

.bpc-qb-search-in {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--qb-text);
  box-shadow: none !important;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: 0 !important;
}

.bpc-qb-search-in::placeholder {
  color: var(--qb-muted);
  opacity: 1;
}

.bpc-qb-search-in::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.bpc-qb-search-go {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: var(--qb-blue);
  color: #fff;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.bpc-qb-search-go:hover {
  background: var(--qb-blue-hover);
}

.bpc-qb-search-go:active {
  transform: scale(.97);
}

.bpc-qb-search-res {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(420px, 62vh);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--qb-line);
  border-radius: 18px;
  background: var(--qb-card);
  box-shadow: var(--qb-shadow);
}

.bpc-qb-search-res[hidden] {
  display: none !important;
}

.bpc-qb-search-item {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--qb-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bpc-qb-search-item:hover,
.bpc-qb-search-item:focus-visible {
  background: var(--qb-subtle);
}

.bpc-qb-search-item img,
.bpc-qb-mini-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--qb-subtle);
  object-fit: contain;
}

.bpc-qb-search-name {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpc-qb-search-ctx {
  max-width: 180px;
  overflow: hidden;
  color: var(--qb-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpc-qb-search-empty {
  padding: 18px;
}

.bpc-qb-search-empty__t {
  margin: 0;
  color: var(--qb-text);
  font-size: 15px;
  font-weight: 750;
}

.bpc-qb-search-empty__s {
  margin: 5px 0 14px;
  color: var(--qb-copy);
  font-size: 13px;
  line-height: 1.5;
}

.bpc-qb-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto 22px;
}

.bpc-qb-chip {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--qb-line);
  border-radius: 999px;
  background: var(--qb-card);
  color: var(--qb-text);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .035);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.bpc-qb-chip:hover {
  border-color: var(--qb-blue);
  color: var(--qb-blue);
  background: var(--qb-blue-soft);
}

.bpc-qb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.bpc-qb-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--qb-line);
  border-radius: 12px;
  background: var(--qb-card);
  color: var(--qb-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bpc-qb-back svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-qb-crumbs {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.bpc-qb-crumb {
  min-height: 36px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--qb-muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.bpc-qb-crumb:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--qb-line-strong);
}

.bpc-qb-crumb:hover {
  color: var(--qb-blue);
}

.bpc-qb-crumb.is-current,
.bpc-qb-crumb:last-child {
  color: var(--qb-text);
  font-weight: 700;
  cursor: default;
}

.bpc-qb-body {
  min-height: 140px;
}

.bpc-qb-browse {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
}

.bpc-qb-browse span {
  height: 1px;
  flex: 1;
  background: var(--qb-line);
}

.bpc-qb-browse em {
  color: var(--qb-muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.bpc-qb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bpc-qb-card {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border: 1px solid var(--qb-line);
  border-radius: 16px;
  background: var(--qb-card);
  color: var(--qb-text);
  box-shadow: var(--qb-shadow-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bpc-qb-card:hover {
  border-color: rgba(0, 102, 204, .45);
  box-shadow: 0 10px 28px rgba(0, 102, 204, .09);
  transform: translateY(-1px);
}

.bpc-qb-card-img,
.bpc-qb-card-dot {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--qb-subtle);
  object-fit: contain;
}

.bpc-qb-card strong {
  min-width: 0;
  color: var(--qb-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.bpc-qb-card-arrow {
  display: grid;
  place-items: center;
  color: var(--qb-muted);
}

.bpc-qb-card-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-qb-stephint {
  margin: 0 0 12px;
  color: var(--qb-copy);
  font-size: 13px;
}

.bpc-qb-empty {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--qb-line);
  border-radius: 16px;
  background: var(--qb-card);
  color: var(--qb-copy);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.bpc-qb-model {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--qb-line);
  border-radius: 17px;
  background: var(--qb-card);
}

.bpc-qb-model-img {
  width: 62px;
  height: 62px;
  padding: 4px;
  border-radius: 13px;
  background: var(--qb-subtle);
  object-fit: contain;
}

.bpc-qb-model-txt {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bpc-qb-model-k {
  color: var(--qb-muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.bpc-qb-model-n {
  overflow: hidden;
  color: var(--qb-text);
  font-size: 17px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpc-qb-model-change {
  min-height: 40px;
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--qb-blue-soft);
  color: var(--qb-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bpc-qb-repairs {
  overflow: hidden;
  border: 1px solid var(--qb-line);
  border-radius: 17px;
  background: var(--qb-card);
  box-shadow: var(--qb-shadow-soft);
}

.bpc-qb-repair {
  min-height: 74px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  color: var(--qb-text);
  text-decoration: none;
  transition: background-color .16s ease;
}

.bpc-qb-repair + .bpc-qb-repair {
  border-top: 1px solid var(--qb-line);
}

.bpc-qb-repair:hover {
  background: var(--qb-subtle);
}

.bpc-qb-ric {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--qb-blue) 18%, var(--qb-line));
  border-radius: 14px;
  background: var(--qb-blue-soft);
  color: var(--qb-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.bpc-qb-repair:hover .bpc-qb-ric {
  color: #fff;
  background: var(--qb-blue);
  border-color: var(--qb-blue);
  transform: translateY(-1px);
}

.bpc-qb-ric svg,
.bpc-qb-ric img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.bpc-qb-ric .bpc-icon {
  display: block;
  stroke-width: 1.75;
}

.bpc-qb-repair-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.bpc-qb-repair-main > strong {
  color: var(--qb-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.bpc-qb-badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff7e6;
  color: #9a5b00;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

.bpc-qb-badge.is-ok {
  background: rgba(32, 184, 90, .1);
  color: #138044;
}

.bpc-qb-badge.is-quote {
  background: var(--qb-subtle);
  color: var(--qb-copy);
}

.bpc-qb-repair-side {
  display: grid;
  justify-items: end;
  gap: 3px;
  white-space: nowrap;
}

.bpc-qb-price {
  color: var(--qb-blue);
  font-size: 13px;
  font-weight: 750;
}

.bpc-qb-cta {
  color: var(--qb-muted);
  font-size: 11px;
  font-weight: 650;
}

.bpc-qb-guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.bpc-qb-guidance__item {
  padding: 14px 15px;
  border: 1px solid color-mix(in srgb, var(--qb-blue) 18%, var(--qb-line));
  border-radius: 15px;
  background: color-mix(in srgb, var(--qb-blue) 5%, var(--qb-card));
}

.bpc-qb-guidance__item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--qb-text);
  font-size: 13px;
  line-height: 1.35;
}

.bpc-qb-guidance__item p {
  margin: 0;
  color: var(--qb-copy);
  font-size: 11px;
  line-height: 1.55;
}

.bpc-qb-basket-disclaimer {
  margin: 10px 18px 16px;
  color: var(--qb-muted);
  font-size: 11px;
  line-height: 1.5;
}

.bpc-qb-help {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--qb-line);
  border-radius: 18px;
  background: var(--qb-card);
  box-shadow: var(--qb-shadow-soft);
}

.bpc-qb-help__ico {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--qb-blue-soft);
  color: var(--qb-blue);
}

.bpc-qb-help__ico svg {
  width: 25px;
  height: 25px;
}

.bpc-qb-help__body {
  min-width: 0;
}

.bpc-qb-help__t {
  display: block;
  color: var(--qb-text);
  font-size: 15px;
  font-weight: 750;
}

.bpc-qb-help__p {
  margin: 4px 0 12px;
  color: var(--qb-copy);
  font-size: 13px;
  line-height: 1.45;
}

.bpc-qb-help__row,
.bpc-qb-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bpc-qb-cbtn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--qb-line-strong);
  border-radius: 11px;
  background: var(--qb-card);
  color: var(--qb-text);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.bpc-qb-cbtn svg {
  width: 18px;
  height: 18px;
}

.bpc-qb-cbtn--wa {
  border-color: var(--qb-green);
  background: var(--qb-green);
  color: #fff;
}

.bpc-qb-skel-wrap {
  display: grid;
  gap: 10px;
}

.bpc-qb-skel-wrap.is-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bpc-qb-skel {
  min-height: 72px;
  border-radius: 16px;
  background: linear-gradient(90deg, #eceef2 25%, #f7f8fa 50%, #eceef2 75%);
  background-size: 200% 100%;
  animation: bpcQbSkeleton 1.25s ease-in-out infinite;
}

@keyframes bpcQbSkeleton {
  to { background-position-x: -200%; }
}

@media (max-width: 767.98px) {
  .bpc-qb {
    width: 100%;
  }

  .bpc-qb-guidance {
    grid-template-columns: 1fr;
  }

  .bpc-qb-search {
    min-height: 56px;
    grid-template-columns: 22px minmax(0, 1fr) 44px;
    padding-left: 14px;
    border-radius: 16px;
  }

  .bpc-qb-search-go {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .bpc-qb-search-in {
    font-size: 16px;
  }

  .bpc-qb-search-ctx {
    display: none;
  }

  .bpc-qb-chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -12px;
    padding: 0 12px 4px;
    scrollbar-width: none;
  }

  .bpc-qb-chips::-webkit-scrollbar {
    display: none;
  }

  .bpc-qb-chip {
    flex: 0 0 auto;
  }

  .bpc-qb-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .bpc-qb-crumbs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .bpc-qb-grid,
  .bpc-qb-grid.is-models,
  .bpc-qb-skel-wrap.is-grid {
    grid-template-columns: 1fr;
  }

  .bpc-qb-card {
    min-height: 68px;
  }

  .bpc-qb-model {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 10px;
  }

  .bpc-qb-model-img {
    width: 54px;
    height: 54px;
  }

  .bpc-qb-repair {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px 10px;
  }

  .bpc-qb-ric {
    width: 42px;
    height: 42px;
  }

  .bpc-qb-repair-main {
    display: grid;
    justify-items: start;
    gap: 4px;
  }

  .bpc-qb-help {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }

  .bpc-qb-help__ico {
    width: 44px;
    height: 44px;
  }

  .bpc-qb-help__row .bpc-qb-cbtn {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .bpc-qb-repair-side {
    align-self: start;
    padding-top: 2px;
  }

  .bpc-qb-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpc-qb *,
  .bpc-qb *::before,
  .bpc-qb *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bpc-qb {
    --qb-bg: #0d0d10;
    --qb-card: #19191d;
    --qb-subtle: #232329;
    --qb-text: #f5f5f7;
    --qb-copy: #b7b8c0;
    --qb-muted: #8f929c;
    --qb-line: #303138;
    --qb-line-strong: #3b3d45;
    --qb-blue: #2997ff;
    --qb-blue-hover: #52aaff;
    --qb-blue-soft: #102a44;
    --qb-shadow: 0 18px 50px rgba(0, 0, 0, .34);
    --qb-shadow-soft: 0 8px 24px rgba(0, 0, 0, .24);
  }

  :root:not([data-theme="light"]) .bpc-qb-skel {
    background: linear-gradient(90deg, #24252b 25%, #303138 50%, #24252b 75%);
    background-size: 200% 100%;
  }
}

[data-theme="dark"] .bpc-qb {
  --qb-bg: #0d0d10;
  --qb-card: #19191d;
  --qb-subtle: #232329;
  --qb-text: #f5f5f7;
  --qb-copy: #b7b8c0;
  --qb-muted: #8f929c;
  --qb-line: #303138;
  --qb-line-strong: #3b3d45;
  --qb-blue: #2997ff;
  --qb-blue-hover: #52aaff;
  --qb-blue-soft: #102a44;
  --qb-shadow: 0 18px 50px rgba(0, 0, 0, .34);
  --qb-shadow-soft: 0 8px 24px rgba(0, 0, 0, .24);
}

/* Selezione multipla e inserimento manuale, nello stesso linguaggio visivo. */
.bpc-qb-repair {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bpc-qb-repair.is-selected {
  background: var(--qb-blue-soft);
}

.bpc-qb-repair.is-selected .bpc-qb-ric {
  border-color: var(--qb-blue);
  background: var(--qb-blue);
  color: #fff;
}

.bpc-qb-select-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--qb-muted);
  font-size: 11px;
  font-weight: 700;
}

.bpc-qb-select-state svg {
  width: 15px;
  height: 15px;
}

.bpc-qb-repair.is-selected .bpc-qb-select-state {
  color: var(--qb-blue);
}

.bpc-qb-manual-open,
.bpc-qb-manual-save,
.bpc-qb-manual-cancel,
.bpc-qb-add-device,
.bpc-qb-edit-item,
.bpc-qb-remove-item,
.bpc-qb-continue,
.bpc-qb-manual-close {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.bpc-qb-manual-open,
.bpc-qb-manual-save,
.bpc-qb-continue {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 13px;
  background: var(--qb-blue);
  color: #fff;
  font-weight: 800;
}

.bpc-qb-search-empty .bpc-qb-manual-open {
  margin: 2px 0 12px;
}

.bpc-qb-manual {
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--qb-line);
  border-radius: 22px;
  background: var(--qb-card);
  box-shadow: var(--qb-shadow-soft);
}

.bpc-qb-manual-head,
.bpc-qb-basket-head,
.bpc-qb-basket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bpc-qb-manual-head h2,
.bpc-qb-basket-head h2 {
  margin: 4px 0 0;
  color: var(--qb-text);
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.15;
}

.bpc-qb-manual-close,
.bpc-qb-remove-item {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--qb-subtle);
  color: var(--qb-text);
  font-size: 25px;
}

.bpc-qb-manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 22px;
}

.bpc-qb-manual-grid label {
  display: grid;
  gap: 7px;
  color: var(--qb-text);
  font-size: 13px;
  font-weight: 750;
}

.bpc-qb-manual-grid label.is-wide {
  grid-column: 1 / -1;
}

.bpc-qb-manual-grid :where(input, select, textarea) {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--qb-line-strong);
  border-radius: 13px;
  outline: 0;
  background: var(--qb-card);
  color: var(--qb-text);
  font: inherit;
}

.bpc-qb-manual-grid textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.bpc-qb-manual-grid :where(input, select, textarea):focus {
  border-color: var(--qb-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--qb-blue) 16%, transparent);
}

.bpc-qb-manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.bpc-qb-manual-cancel,
.bpc-qb-add-device,
.bpc-qb-edit-item {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--qb-line-strong);
  border-radius: 12px;
  background: var(--qb-card);
  color: var(--qb-blue);
  font-weight: 750;
}

.bpc-qb-basket {
  margin-top: 24px;
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid color-mix(in srgb, var(--qb-blue) 34%, var(--qb-line));
  border-radius: 22px;
  background: var(--qb-card);
  box-shadow: var(--qb-shadow);
}

.bpc-qb-basket-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.bpc-qb-basket-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid var(--qb-line);
  border-radius: 15px;
  background: var(--qb-subtle);
}

.bpc-qb-basket-item > img,
.bpc-qb-basket-index {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.bpc-qb-basket-index {
  display: grid;
  place-items: center;
  color: var(--qb-blue);
  font-weight: 850;
}

.bpc-qb-basket-copy {
  min-width: 0;
}

.bpc-qb-basket-copy strong,
.bpc-qb-basket-copy small {
  display: block;
}

.bpc-qb-basket-copy strong {
  color: var(--qb-text);
  font-size: 15px;
}

.bpc-qb-basket-copy small {
  margin-top: 4px;
  color: var(--qb-copy);
  line-height: 1.45;
}

.bpc-qb-basket-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bpc-qb-remove-item {
  width: 38px;
  height: 38px;
  color: #b42318;
  font-size: 14px;
}

.bpc-qb-remove-item svg {
  width: 18px;
  height: 18px;
}

.bpc-qb-basket-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--qb-line);
}

.bpc-qb-basket-total span,
.bpc-qb-basket-total strong {
  display: block;
}

.bpc-qb-basket-total span {
  color: var(--qb-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bpc-qb-basket-total strong {
  margin-top: 4px;
  color: var(--qb-text);
  font-size: 18px;
}

@media (max-width: 620px) {
  .bpc-qb-manual-grid {
    grid-template-columns: 1fr;
  }
  .bpc-qb-manual-grid label.is-wide {
    grid-column: auto;
  }
  .bpc-qb-basket-head,
  .bpc-qb-basket-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .bpc-qb-add-device,
  .bpc-qb-continue {
    width: 100%;
  }
  .bpc-qb-basket-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .bpc-qb-basket-item > img,
  .bpc-qb-basket-index {
    width: 48px;
    height: 48px;
  }
  .bpc-qb-basket-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .bpc-qb-edit-item {
    flex: 1;
  }
}
