/**
 * BresciaPC repair product - 7.36.0
 * A calm, content-first product page inspired by native Apple interfaces.
 */

body.single-product {
  --rp-bg: #f5f5f7;
  --rp-surface: #fff;
  --rp-surface-subtle: #f8f9fb;
  --rp-ink: #111214;
  --rp-text: #4f535c;
  --rp-muted: #6b7079;
  --rp-line: #e5e7eb;
  --rp-line-strong: #d7dae0;
  --rp-blue: #0066cc;
  --rp-blue-hover: #0055ad;
  --rp-blue-soft: #eef6ff;
  --rp-green: #12833c;
  --rp-green-hover: #0f7133;
  --rp-focus: #0066cc;
  --rp-shadow: 0 18px 54px rgba(15, 23, 42, .07);
  --rp-shadow-soft: 0 8px 26px rgba(15, 23, 42, .055);
  --rp-radius-xl: 30px;
  --rp-radius-lg: 22px;
  --rp-radius-md: 16px;
  --rp-max: 1180px;
  background: var(--rp-bg);
  color: var(--rp-ink);
}

[data-theme="dark"] body.single-product,
body.single-product[data-theme="dark"] {
  --rp-bg: #0c0c0f;
  --rp-surface: #17171b;
  --rp-surface-subtle: #202025;
  --rp-ink: #f5f5f7;
  --rp-text: #b7b8c0;
  --rp-muted: #8c8f99;
  --rp-line: #2d2e34;
  --rp-line-strong: #3b3d45;
  --rp-blue: #2997ff;
  --rp-blue-hover: #52aaff;
  --rp-blue-soft: #102a44;
  --rp-green: #30d158;
  --rp-green-hover: #45dc6a;
  --rp-focus: #2997ff;
  --rp-shadow: 0 20px 60px rgba(0, 0, 0, .36);
  --rp-shadow-soft: 0 10px 28px rgba(0, 0, 0, .26);
}

body.single-product #page,
body.single-product #content,
body.single-product #primary,
body.single-product .site-main,
body.single-product .site-content {
  background: transparent;
}

body.single-product .site-main {
  overflow: clip;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .bpc-breadcrumbs,
body.single-product .breadcrumb {
  width: min(var(--rp-max), calc(100% - 40px));
  max-width: var(--rp-max);
  margin-inline: auto;
}

.bpc-repair-product {
  width: min(var(--rp-max), calc(100% - 40px)) !important;
  max-width: var(--rp-max) !important;
  margin: 18px auto 72px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  float: none !important;
  color: var(--rp-ink);
}

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

.bpc-repair-product :where(a, button, summary, input, select, textarea):focus-visible,
body.single-product .bspc-modal :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--rp-focus) !important;
  outline-offset: 3px !important;
}

/* Hero */
.bpc-rp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  padding: clamp(24px, 3.6vw, 44px);
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-xl);
  box-shadow: var(--rp-shadow);
}

.bpc-rp-hero__gallery {
  min-width: 0;
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.bpc-rp-media-fallback {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  width: 100%;
  min-height: clamp(360px, 43vw, 520px);
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fbfcff 0%, #f2f6fb 48%, #e8f2ff 100%);
  color: var(--bspc-blue-primary);
}

.bpc-rp-media-fallback__halo {
  position: absolute;
  z-index: -1;
  width: min(70%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bspc-blue-primary) 13%, transparent);
  filter: blur(2px);
}

.bpc-rp-media-fallback__icon {
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  border: 1px solid color-mix(in srgb, var(--bspc-blue-primary) 20%, transparent);
  border-radius: 42px;
  background: color-mix(in srgb, var(--bspc-bg-white) 86%, transparent);
  box-shadow: 0 24px 60px rgba(15, 82, 186, .14);
}

.bpc-rp-media-fallback__icon .bpc-icon {
  width: 118px;
  height: 118px;
  stroke-width: 1.25;
}

.bpc-rp-media-fallback__label {
  max-width: 90%;
  color: var(--rp-ink);
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 720;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

.bpc-rp-media-fallback--image img {
  display: block;
  width: 100%;
  height: clamp(360px, 43vw, 520px);
  object-fit: contain;
}

[data-theme="dark"] .bpc-rp-media-fallback {
  background: linear-gradient(145deg, #24252b 0%, #1d2430 100%);
}

.bpc-rp-hero__gallery .onsale {
  z-index: 5;
  top: 16px;
  left: 16px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--rp-ink);
  color: var(--rp-surface);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.bpc-rp-hero__gallery .woocommerce-product-gallery,
.bpc-rp-hero__gallery div.images {
  position: relative !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bpc-rp-hero__gallery .woocommerce-product-gallery__wrapper,
.bpc-rp-hero__gallery .flex-viewport {
  border-radius: 24px;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f3f6 100%);
  border: 1px solid var(--rp-line);
  overflow: hidden;
}

[data-theme="dark"] .bpc-rp-hero__gallery .woocommerce-product-gallery__wrapper,
[data-theme="dark"] .bpc-rp-hero__gallery .flex-viewport {
  background: linear-gradient(180deg, #24252b 0%, #1d1e23 100%);
}

.bpc-rp-hero__gallery .woocommerce-product-gallery__image,
.bpc-rp-hero__gallery .woocommerce-product-gallery__image a {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 100%;
  min-height: clamp(360px, 43vw, 520px);
}

.bpc-rp-hero__gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: clamp(360px, 43vw, 520px) !important;
  max-height: 520px;
  padding: clamp(18px, 3vw, 36px);
  object-fit: contain;
  object-position: center;
}

.bpc-rp-hero__gallery .woocommerce-product-gallery__trigger {
  position: absolute !important;
  z-index: 6;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9) !important;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
  color: #15171a;
  backdrop-filter: blur(14px);
}

.bpc-rp-hero__gallery .woocommerce-product-gallery__trigger::before,
.bpc-rp-hero__gallery .woocommerce-product-gallery__trigger::after {
  box-sizing: content-box;
}

.bpc-rp-hero__gallery .flex-control-thumbs {
  position: static !important;
  display: flex !important;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.bpc-rp-hero__gallery .flex-control-thumbs li {
  float: none !important;
  width: 66px !important;
  height: 66px !important;
  margin: 0 !important;
  border: 1px solid var(--rp-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--rp-surface-subtle);
  cursor: pointer;
}

.bpc-rp-hero__gallery .flex-control-thumbs img {
  width: 100% !important;
  height: 100% !important;
  padding: 6px;
  object-fit: contain;
  opacity: .58;
  transition: opacity .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bpc-rp-hero__gallery .flex-control-thumbs img:hover,
.bpc-rp-hero__gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
}

.bpc-rp-hero__gallery .flex-control-thumbs li:has(img.flex-active) {
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 2px var(--rp-focus);
}

.bpc-rp-hero__content {
  min-width: 0;
}

.bpc-rp-eyebrow,
.bpc-rp-kicker {
  margin: 0 0 8px;
  color: var(--rp-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .065em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bpc-rp-title {
  margin: 0;
  max-width: 14ch;
  color: var(--rp-ink);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.bpc-rp-lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--rp-text);
  font-size: 16px;
  line-height: 1.58;
}

.bpc-rp-lead p {
  margin: 0;
}

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

.bpc-rp-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-md);
  background: var(--rp-surface);
}

.bpc-rp-fact > svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--rp-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-rp-fact span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bpc-rp-fact strong {
  color: var(--rp-ink);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
}

.bpc-rp-price-line,
.bpc-rp-price-line .woocommerce-Price-amount,
.bpc-rp-price-line .woocommerce-Price-currencySymbol {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.bpc-rp-fact small {
  color: var(--rp-muted);
  font-size: 12px;
  line-height: 1.3;
}

.bpc-rp-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: 12px;
  margin-top: 16px;
}

.bpc-rp-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.bpc-rp-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-rp-button:hover {
  transform: translateY(-1px);
}

.bpc-rp-button:active {
  transform: translateY(0) scale(.985);
}

.bpc-rp-button--primary:not(:disabled) {
  background: var(--rp-blue);
  color: var(--rp-surface) !important;
  box-shadow: 0 9px 24px rgba(0, 102, 204, .23);
}

.bpc-rp-button--primary:not(:disabled):hover {
  background: var(--rp-blue-hover);
}

.bpc-rp-button--secondary {
  border-color: var(--rp-line-strong);
  background: var(--rp-surface);
  color: var(--rp-ink) !important;
}

.bpc-rp-button--secondary:hover {
  border-color: var(--rp-blue);
  color: var(--rp-blue) !important;
}

.bpc-rp-button--dark {
  background: var(--rp-ink);
  color: var(--rp-surface) !important;
}

.bpc-rp-button--whatsapp {
  background: var(--rp-green);
  color: var(--rp-surface) !important;
}

.bpc-rp-button--whatsapp:hover {
  background: var(--rp-green-hover);
}

.bpc-rp-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rp-line);
}

.bpc-rp-assurances > a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--rp-text);
  text-decoration: none;
}

.bpc-rp-assurances svg {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--rp-ink);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-rp-assurances span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.bpc-rp-assurances strong {
  color: var(--rp-ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.bpc-rp-assurances small {
  color: var(--rp-muted);
  font-size: 10.5px;
  line-height: 1.25;
}

/* Shared sections */
.bpc-rp-section,
.bpc-rp-card,
.bpc-rp-help {
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow-soft);
}

.bpc-rp-section {
  padding: clamp(22px, 3vw, 32px);
}

.bpc-rp-section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.bpc-rp-section__header h2,
.bpc-rp-card h2,
.bpc-rp-help h2,
.bpc-rp-faq-card .faq-title,
.apple-related-section .apple-section-title {
  margin: 0;
  color: var(--rp-ink);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.bpc-rp-section__header p:not(.bpc-rp-kicker),
.bpc-rp-help p {
  margin: 7px 0 0;
  color: var(--rp-text);
  font-size: 14px;
  line-height: 1.5;
}

/* Repair accordion */
.bpc-rp-accordion {
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  background: var(--rp-surface);
}

.bpc-rp-service {
  margin: 0;
  background: var(--rp-surface);
}

.bpc-rp-service[hidden] {
  display: none !important;
}

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

.bpc-rp-service__summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color .16s ease;
}

.bpc-rp-service__summary::-webkit-details-marker {
  display: none;
}

.bpc-rp-service__summary:hover {
  background: var(--rp-surface-subtle);
}

.bpc-rp-service[open] > .bpc-rp-service__summary {
  background: var(--rp-blue-soft);
}

.bpc-rp-service__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--rp-blue) 18%, var(--rp-line));
  border-radius: 14px;
  background: var(--rp-blue-soft);
  color: var(--rp-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-rp-service__summary:hover .bpc-rp-service__icon,
.bpc-rp-service[open] > .bpc-rp-service__summary .bpc-rp-service__icon {
  color: #fff;
  background: var(--rp-blue);
  border-color: var(--rp-blue);
  transform: translateY(-1px);
}

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

.bpc-rp-service__icon .bpc-icon {
  display: block;
  stroke-width: 1.75;
}

.bpc-rp-service__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.bpc-rp-service__copy strong {
  color: var(--rp-ink);
  font-size: 15px;
  font-weight: 710;
  letter-spacing: -.01em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bpc-rp-service__copy > span {
  overflow: hidden;
  color: var(--rp-text);
  font-size: 12.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpc-rp-service__price {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rp-blue-soft);
  color: var(--rp-blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.bpc-rp-service__price.is-request {
  background: var(--rp-surface-subtle);
  color: var(--rp-text);
}

.bpc-rp-service__chevron {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--rp-muted);
}

.bpc-rp-service__chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.bpc-rp-service[open] .bpc-rp-service__chevron svg {
  transform: rotate(180deg);
}

.bpc-rp-service__panel {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--rp-surface-subtle);
  transition: grid-template-rows .28s cubic-bezier(.25, .8, .25, 1);
}

.bpc-rp-service[open] .bpc-rp-service__panel {
  grid-template-rows: 1fr;
}

.bpc-rp-service__panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 74px;
  border-top: 0 solid var(--rp-line);
  transition: padding .28s ease, border-width .28s ease;
}

.bpc-rp-service[open] .bpc-rp-service__panel-inner {
  padding-top: 18px;
  padding-bottom: 20px;
  border-top-width: 1px;
}

.bpc-rp-service__description {
  margin: 0;
  max-width: 78ch;
  color: var(--rp-text);
  font-size: 14px;
  line-height: 1.62;
}

.bpc-rp-service__description p {
  margin: 0 0 9px;
}

.bpc-rp-service__description p:last-child {
  margin-bottom: 0;
}

.bpc-rp-service__reassurance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--rp-muted);
  font-size: 12px;
  line-height: 1.4;
}

.bpc-rp-service__reassurance svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--rp-green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-rp-service__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.bpc-rp-service__actions .bpc-rp-button {
  min-width: 210px;
}

.bpc-rp-more {
  display: grid;
  justify-items: center;
  margin-top: 16px;
}

.bpc-rp-more__button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--rp-line-strong);
  border-radius: 999px;
  background: var(--rp-surface);
  color: var(--rp-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.bpc-rp-more__button:hover {
  border-color: var(--rp-blue);
  color: var(--rp-blue);
}

.bpc-rp-more__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

.bpc-rp-more__button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Process */
.bpc-rp-section__header--inline {
  align-items: center;
}

.bpc-rp-open-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--rp-surface-subtle);
  color: var(--rp-text);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.bpc-rp-open-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rp-muted);
}

.bpc-rp-open-status.is-open {
  background: rgba(32, 184, 90, .1);
  color: #10763c;
}

.bpc-rp-open-status.is-open i {
  background: var(--rp-green);
}

.bpc-rp-process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpc-rp-process__steps li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
}

.bpc-rp-process__steps li + li {
  border-left: 1px solid var(--rp-line);
}

.bpc-rp-process__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--rp-blue-soft);
  color: var(--rp-blue);
}

.bpc-rp-process__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-rp-process__steps li > span:last-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.bpc-rp-process__steps strong {
  color: var(--rp-ink);
  font-size: 13.5px;
  line-height: 1.3;
}

.bpc-rp-process__steps small {
  color: var(--rp-text);
  font-size: 11.5px;
  line-height: 1.4;
}

/* Description + FAQ */
.bpc-rp-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bpc-rp-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
}

.bpc-rp-description__content {
  position: relative;
  margin-top: 14px;
  max-height: 190px;
  overflow: hidden;
  color: var(--rp-text);
  font-size: 14px;
  line-height: 1.65;
}

.bpc-rp-description__content.is-expanded {
  max-height: none;
}

.bpc-rp-description__content.is-collapsible:not(.is-expanded)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--rp-surface));
  pointer-events: none;
}

.bpc-rp-description__content p:first-child {
  margin-top: 0;
}

.bpc-rp-description__content p:last-child {
  margin-bottom: 0;
}

.bpc-rp-text-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rp-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bpc-rp-text-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.bpc-rp-text-toggle[aria-expanded="true"] svg {
  transform: rotate(-90deg);
}

.bpc-rp-faq-card .bspc-faq-accordion,
.bpc-rp-faq-card .bpc-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bpc-rp-faq-card .faq-title {
  margin-bottom: 14px;
}

.bpc-rp-faq-card .faq-item {
  border-top: 1px solid var(--rp-line);
}

.bpc-rp-faq-card .faq-item:last-of-type {
  border-bottom: 1px solid var(--rp-line);
}

.bpc-rp-faq-card .faq-question {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border: 0;
  background: transparent;
  color: var(--rp-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.bpc-rp-faq-card .faq-question__chevron {
  flex: 0 0 auto;
  color: var(--rp-muted);
  transition: transform .2s ease;
}

.bpc-rp-faq-card .faq-question[aria-expanded="true"] .faq-question__chevron {
  transform: rotate(180deg);
}

.bpc-rp-faq-card .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--rp-text);
  font-size: 13px;
  line-height: 1.55;
  transition: grid-template-rows .24s ease;
}

.bpc-rp-faq-card .faq-answer[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.bpc-rp-faq-card .faq-answer__inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 2px;
}

.bpc-rp-faq-card .faq-answer[aria-hidden="false"] .faq-answer__inner {
  padding-bottom: 14px;
}

.bpc-rp-faq-card .faq-more-link {
  margin-top: 12px;
  text-align: left;
}

.bpc-rp-faq-card .faq-more-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rp-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Help banner */
.bpc-rp-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background:
    radial-gradient(circle at 0 50%, rgba(0, 102, 204, .1), transparent 31%),
    radial-gradient(circle at 100% 50%, rgba(32, 184, 90, .1), transparent 34%),
    var(--rp-surface);
}

.bpc-rp-help__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rp-blue);
  color: var(--rp-surface);
}

.bpc-rp-help__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-rp-help h2 {
  font-size: 22px;
}

.bpc-rp-help__actions {
  display: flex;
  gap: 10px;
}

.bpc-rp-help__actions .bpc-rp-button {
  min-width: 142px;
}

/* Related products */
.bpc-repair-product .apple-related-section {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
}

.bpc-repair-product .apple-related-section .apple-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.bpc-repair-product .apple-related-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}

.bpc-repair-product .apple-related-section .apple-section-title {
  margin: 0;
}

.bpc-repair-product .apple-related-header p {
  margin: 5px 0 0;
  color: var(--rp-text);
  font-size: 13px;
  line-height: 1.45;
}

.bpc-repair-product .apple-carousel-container {
  position: relative;
}

.bpc-repair-product .apple-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.bpc-repair-product .apple-carousel-track::-webkit-scrollbar {
  display: none;
}

.bpc-repair-product .apple-product-card {
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  background: var(--rp-surface);
  box-shadow: var(--rp-shadow-soft);
}

.bpc-repair-product .apple-card-link {
  height: 100%;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--rp-ink);
  text-decoration: none;
}

.bpc-repair-product .apple-card-image {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--rp-surface-subtle);
  overflow: hidden;
}

.bpc-repair-product .apple-card-image img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

.bpc-repair-product .apple-card-image__placeholder {
  color: var(--rp-muted);
}

.bpc-repair-product .apple-card-image__placeholder svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-repair-product .apple-card-info {
  min-width: 0;
}

.bpc-repair-product .apple-card-name {
  margin: 0;
  color: var(--rp-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.bpc-repair-product .apple-card-price {
  display: block;
  margin-top: 5px;
  color: var(--rp-ink);
  font-size: 12px;
  font-weight: 700;
}

.bpc-repair-product .apple-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
  color: var(--rp-blue);
  font-size: 12px;
  font-weight: 700;
}

.bpc-repair-product .apple-card-cta svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-repair-product .apple-nav-btn {
  display: none !important;
}

/* Hide legacy product-only UI when the dedicated template is active. */
.bpc-repair-product ~ .pp-ship,
body.single-product .bpc-action-dock[data-context="product"],
body.single-product .product-full-description,
body.single-product .bpc-product-seo-text,
body.single-product .bspc-applecom-cta,
body.single-product .how-it-works-section {
  display: none !important;
}

/* Product modal skin: presentation only, behavior remains in modal-manager.js. */
body.single-product .bspc-modal {
  padding: 24px;
  background: transparent;
}

body.single-product .bspc-modal::backdrop {
  background: rgba(12, 13, 16, .52);
  backdrop-filter: blur(12px) saturate(120%);
}

body.single-product .bspc-modal-card {
  width: min(720px, calc(100vw - 32px));
  max-height: min(880px, calc(var(--bpc-overlay-viewport-height, 100dvh) - 48px));
  padding: 32px;
  border: 1px solid var(--rp-line);
  border-radius: 26px;
  background: var(--rp-surface);
  color: var(--rp-ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
}

body.single-product .bspc-modal-card h3 {
  margin: 0 58px 7px 0;
  padding: 0;
  color: var(--rp-ink);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.1;
}

body.single-product .bspc-modal-card .bspc-sub {
  margin: 0 58px 18px 0;
  padding: 0;
  color: var(--rp-text);
  font-size: 14px;
  line-height: 1.5;
  opacity: 1;
}

body.single-product .bspc-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--rp-surface-subtle);
  color: var(--rp-ink);
  font-size: 0;
  line-height: 1;
}

body.single-product .bspc-mini {
  gap: 14px;
  padding: 12px;
  margin: 0 0 18px;
  border: 1px solid var(--rp-line);
  border-radius: 16px;
  background: var(--rp-surface-subtle);
}

body.single-product .bspc-mini-thumb img {
  width: 62px;
  height: 62px;
  padding: 4px;
  border-radius: 12px;
  background: var(--rp-surface);
  object-fit: contain;
}

body.single-product .bspc-mini-line {
  align-items: baseline;
  padding: 3px 0;
  border: 0 !important;
}

body.single-product .bspc-mini-label {
  color: var(--rp-muted);
  font-size: 11px;
  opacity: 1;
}

body.single-product .bspc-mini-val {
  color: var(--rp-ink);
  font-size: 12px;
  font-weight: 680;
  text-align: right;
}

body.single-product .bspc-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

body.single-product .bspc-choice-card {
  min-height: 138px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  background: var(--rp-surface);
  color: var(--rp-ink);
  box-shadow: none;
}

body.single-product .bspc-choice-card:hover {
  border-color: var(--rp-blue);
  box-shadow: 0 10px 28px rgba(0, 102, 204, .1);
  transform: none;
}

body.single-product .bspc-choice-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--rp-blue-soft) !important;
  color: var(--rp-blue) !important;
}

body.single-product .bspc-choice-title {
  color: var(--rp-ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.3;
}

body.single-product .bspc-choice-desc {
  color: var(--rp-text);
  font-size: 12px;
  line-height: 1.45;
}

body.single-product .bspc-reassurance,
body.single-product .bspc-appt-note {
  color: var(--rp-text);
  font-size: 12px;
}

body.single-product .bspc-info-card {
  border: 0;
  border-radius: 14px;
  background: var(--rp-surface-subtle);
  color: var(--rp-ink);
}

body.single-product .bspc-modal-card :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: var(--bpc-form-control-height, 48px);
  border: 1px solid var(--rp-line-strong);
  border-radius: 12px;
  background: var(--rp-surface);
  color: var(--rp-ink);
  box-shadow: none;
}

body.single-product .bspc-modal-card textarea {
  min-height: var(--bpc-form-textarea-height, 104px);
}

body.single-product .bspc-modal-card :where(input, select, textarea):focus {
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 3px var(--rp-focus);
}

body.single-product .bspc-btn,
body.single-product .bspc-modal-card button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: var(--rp-blue);
  color: var(--rp-surface);
  font-weight: 700;
  box-shadow: none;
}

body.single-product .bspc-link-btn {
  min-height: 44px;
  color: var(--rp-blue);
  font-weight: 650;
}

body.single-product .bspc-appt-box,
body.single-product .bspc-shipping-instructions,
body.single-product .bspc-step,
body.single-product .bspc-form-section {
  border-color: var(--rp-line);
  border-radius: 16px;
  background: var(--rp-surface-subtle);
}

@media (max-width: 960px) {
  .bpc-rp-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
    gap: 28px;
  }

  .bpc-rp-title {
    font-size: clamp(36px, 5vw, 50px);
  }

  .bpc-rp-assurances small {
    display: none;
  }

  .bpc-rp-process__steps li {
    padding-inline: 14px;
  }

  .bpc-repair-product .apple-carousel-track {
    grid-template-columns: none;
    grid-auto-columns: minmax(250px, 42%);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.single-product .bspc-modal-card {
    width: min(720px, calc(100vw - 24px));
    padding: 24px;
  }

  body.single-product .bspc-close {
    position: sticky;
    display: flex;
    top: max(8px, env(safe-area-inset-top));
    right: auto;
    margin: -4px 0 -40px auto;
  }
}

@media (max-width: 767.98px) {
  body.single-product .woocommerce-breadcrumb,
  body.single-product .bpc-breadcrumbs,
  body.single-product .breadcrumb,
  .bpc-repair-product {
    width: min(100% - 24px, var(--rp-max)) !important;
  }

  .bpc-repair-product {
    gap: 14px;
    margin-top: 10px !important;
    margin-bottom: 44px !important;
  }

  .bpc-rp-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 14px 14px 22px;
    border-radius: 24px;
  }

  .bpc-rp-hero__gallery .woocommerce-product-gallery__image,
  .bpc-rp-hero__gallery .woocommerce-product-gallery__image a,
  .bpc-rp-hero__gallery .woocommerce-product-gallery__image img {
    min-height: 248px;
    height: 248px !important;
  }

  .bpc-rp-media-fallback,
  .bpc-rp-media-fallback--image img {
    min-height: 248px;
    height: 248px;
  }

  .bpc-rp-media-fallback {
    gap: 12px;
    padding: 24px;
    border-radius: 19px;
  }

  .bpc-rp-media-fallback__icon {
    width: 124px;
    height: 124px;
    border-radius: 32px;
  }

  .bpc-rp-media-fallback__icon .bpc-icon {
    width: 82px;
    height: 82px;
  }

  .bpc-rp-hero__gallery .woocommerce-product-gallery__wrapper,
  .bpc-rp-hero__gallery .flex-viewport {
    border-radius: 19px;
  }

  .bpc-rp-hero__gallery .flex-control-thumbs {
    gap: 8px;
  }

  .bpc-rp-hero__gallery .flex-control-thumbs li {
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px;
  }

  .bpc-rp-hero__content {
    padding: 0 4px;
  }

  .bpc-rp-title {
    max-width: none;
    font-size: clamp(31px, 8.5vw, 42px);
    line-height: 1.02;
  }

  .bpc-rp-lead {
    margin-top: 13px;
    font-size: 14px;
  }

  .bpc-rp-facts {
    margin-top: 20px;
    gap: 9px;
  }

  .bpc-rp-fact {
    min-height: 68px;
    padding: 11px 12px;
  }

  .bpc-rp-fact > svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .bpc-rp-fact strong {
    font-size: 13px;
  }

  .bpc-rp-fact small {
    font-size: 10.5px;
  }

  .bpc-rp-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .bpc-rp-button {
    min-height: 50px;
  }

  .bpc-rp-assurances {
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .bpc-rp-assurances > a {
    align-items: flex-start;
    gap: 6px;
  }

  .bpc-rp-assurances svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .bpc-rp-assurances strong {
    font-size: 10.5px;
  }

  .bpc-rp-section,
  .bpc-rp-card {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .bpc-rp-section__header {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .bpc-rp-section__header h2,
  .bpc-rp-card h2,
  .bpc-rp-help h2,
  .bpc-rp-faq-card .faq-title,
  .apple-related-section .apple-section-title {
    font-size: 23px;
  }

  .bpc-rp-accordion {
    border-radius: 15px;
  }

  .bpc-rp-service__summary {
    grid-template-columns: 42px minmax(0, 1fr) auto 24px;
    gap: 10px;
    min-height: 70px;
    padding: 12px 10px;
  }

  .bpc-rp-service__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .bpc-rp-service__copy strong {
    font-size: 13.5px;
  }

  .bpc-rp-service__copy > span {
    font-size: 11.5px;
  }

  .bpc-rp-service__price {
    padding: 5px 8px;
    font-size: 11.5px;
  }

  .bpc-rp-service__panel-inner {
    padding-inline: 16px;
  }

  .bpc-rp-service[open] .bpc-rp-service__panel-inner {
    padding-top: 15px;
    padding-bottom: 16px;
  }

  .bpc-rp-service__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bpc-rp-service__actions .bpc-rp-button {
    width: 100%;
    min-width: 0;
  }

  .bpc-rp-section__header--inline {
    display: grid;
  }

  .bpc-rp-open-status {
    justify-self: start;
  }

  .bpc-rp-process__steps {
    grid-template-columns: 1fr;
  }

  .bpc-rp-process__steps li {
    padding: 14px 0;
  }

  .bpc-rp-process__steps li + li {
    border-top: 1px solid var(--rp-line);
    border-left: 0;
  }

  .bpc-rp-details-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bpc-rp-help {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .bpc-rp-help__icon {
    width: 46px;
    height: 46px;
  }

  .bpc-rp-help__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bpc-rp-help__actions .bpc-rp-button {
    min-width: 0;
  }

  .bpc-repair-product .apple-carousel-track {
    grid-auto-columns: 84%;
  }

  body.single-product .bspc-modal {
    align-items: end;
    padding: 0;
  }

  body.single-product .bspc-modal::backdrop {
    backdrop-filter: none;
  }

  body.single-product .bspc-modal-card {
    width: 100%;
    max-width: none;
    max-height: min(92dvh, calc(var(--bpc-overlay-viewport-height, 100dvh) - 8px));
    margin: 0;
    padding:
      20px
      calc(14px + env(safe-area-inset-right))
      calc(18px + env(safe-area-inset-bottom))
      calc(14px + env(safe-area-inset-left));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  body.single-product .bspc-modal-card::before {
    width: 34px;
    height: 4px;
    margin: -13px auto 17px;
    background: var(--rp-line-strong);
  }

  body.single-product .bspc-modal-card h3 {
    margin-right: 52px;
    font-size: 24px;
  }

  body.single-product .bspc-modal-card .bspc-sub {
    margin-right: 52px;
  }

  body.single-product .bspc-close {
    position: sticky;
    display: flex;
    top: max(8px, env(safe-area-inset-top));
    right: auto;
    margin: -4px 0 -40px auto;
  }

  body.single-product .bspc-choice-grid {
    grid-template-columns: 1fr;
  }

  body.single-product .bspc-choice-card {
    min-height: auto;
  }
}

/* Product skin follows the shared single-scroll viewport contract on iPhone landscape. */
@media (pointer: coarse) and (orientation: landscape) and (max-width: 900px) and (max-height: 500px) {
  body.single-product .bspc-modal {
    align-items: stretch;
    padding: 0 calc(8px + env(safe-area-inset-right)) 0 calc(8px + env(safe-area-inset-left));
  }

  body.single-product .bspc-modal-card {
    width: min(720px, 100%);
    max-width: 100%;
    max-height: var(--bpc-overlay-viewport-height, 100dvh);
    margin: 0 auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border: 1px solid var(--rp-line);
    border-radius: 18px;
  }

  body.single-product .bspc-modal-card::before {
    display: none;
  }

  body.single-product .bspc-modal-card h3 {
    margin-right: 48px;
    font-size: 21px;
  }

  body.single-product .bspc-modal-card .bspc-sub {
    margin-bottom: 12px;
  }

  body.single-product .bspc-close {
    position: sticky;
    top: 8px;
    right: auto;
    margin: -4px 0 -40px auto;
  }

  body.single-product .bspc-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product .bspc-choice-card {
    min-height: 0;
    padding: 14px;
  }
}

@media (max-width: 430px) {
  .bpc-rp-hero__gallery .woocommerce-product-gallery__image,
  .bpc-rp-hero__gallery .woocommerce-product-gallery__image a,
  .bpc-rp-hero__gallery .woocommerce-product-gallery__image img {
    min-height: 224px;
    height: 224px !important;
  }

  .bpc-rp-service__summary {
    grid-template-columns: 40px minmax(0, 1fr) auto 20px;
    gap: 8px;
  }

  .bpc-rp-service__copy > span {
    display: none;
  }

  .bpc-rp-service__price {
    max-width: 94px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bpc-rp-help__actions {
    grid-template-columns: 1fr;
  }
}

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

@media print {
  body.single-product {
    background: #fff;
  }

  .bpc-repair-product {
    width: 100% !important;
    margin: 0 !important;
  }

  .bpc-rp-actions,
  .bpc-rp-more,
  .bpc-rp-help,
  .apple-related-section {
    display: none !important;
  }

  .bpc-rp-hero,
  .bpc-rp-section,
  .bpc-rp-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* ======================================================================
   Repair PDP 2026 - selectable multi-intervention experience
   ====================================================================== */
.bpc-rp-selection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.bpc-rp-selection-main {
  min-width: 0;
}

.bpc-rp-selection-intro {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 15px 17px;
  color: var(--rp-text);
  background: linear-gradient(145deg, var(--rp-blue-soft), var(--rp-surface-subtle));
  border: 1px solid var(--rp-line);
  border-radius: 18px;
}

.bpc-rp-selection-intro__icon {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--rp-blue);
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: 12px;
}

.bpc-rp-selection-intro strong {
  display: block;
  margin-bottom: 3px;
  color: var(--rp-ink);
  font-size: 15px;
}

.bpc-rp-selection-intro p {
  margin: 0;
  color: var(--rp-text);
  font-size: 13.5px;
  line-height: 1.55;
}

.bpc-rp-services {
  display: grid;
  gap: 12px;
}

.bpc-rp-service-card {
  position: relative;
  overflow: clip;
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(25, 45, 75, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bpc-rp-service-card[hidden] {
  display: none !important;
}

.bpc-rp-service-card:hover {
  border-color: var(--rp-line-strong);
  box-shadow: 0 12px 34px rgba(25, 45, 75, .08);
}

.bpc-rp-service-card.is-selected {
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 3px rgba(42, 118, 210, .13), 0 14px 36px rgba(25, 75, 135, .09);
}

.bpc-rp-service-card__row {
  display: grid;
  grid-template-columns: 36px 48px minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  min-height: 102px;
  padding: 16px 17px;
  cursor: pointer;
}

.bpc-rp-service-card__selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.bpc-rp-service-card__selector input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.bpc-rp-service-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: transparent;
  background: var(--rp-surface);
  border: 2px solid var(--rp-muted);
  border-radius: 10px;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.bpc-rp-service-card__selector input:focus-visible + .bpc-rp-service-card__check {
  outline: 3px solid var(--rp-focus);
  outline-offset: 3px;
}

.bpc-rp-service-card__selector input:checked + .bpc-rp-service-card__check {
  color: var(--rp-surface);
  background: var(--rp-blue);
  border-color: var(--rp-blue);
  transform: scale(1.04);
}

.bpc-rp-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--rp-blue);
  background: var(--rp-blue-soft);
  border: 1px solid var(--rp-line);
  border-radius: 15px;
}

.bpc-rp-service-card__icon svg,
.bpc-rp-service-card__icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.bpc-rp-service-card__copy {
  min-width: 0;
}

.bpc-rp-service-card__copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rp-ink);
  font-size: 16px;
  line-height: 1.3;
}

.bpc-rp-service-card__copy span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rp-text);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bpc-rp-service-card__commercial {
  min-width: 116px;
  text-align: right;
}

.bpc-rp-service-card__commercial strong,
.bpc-rp-service-card__commercial small {
  display: block;
}

.bpc-rp-service-card__commercial strong {
  color: var(--rp-ink);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.bpc-rp-service-card__commercial strong.is-request {
  color: var(--rp-text);
}

.bpc-rp-service-card__commercial small {
  margin-top: 3px;
  color: var(--rp-text);
  font-size: 10.5px;
}

.bpc-rp-service-card__details {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--rp-text);
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bpc-rp-service-card__details:hover,
.bpc-rp-service-card__details:focus-visible {
  color: var(--rp-blue);
  background: var(--rp-blue-soft);
}

.bpc-rp-service-card__details svg {
  transition: transform .18s ease;
}

.bpc-rp-service-card__details[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.bpc-rp-service-card__panel {
  padding: 0 18px 18px 114px;
  border-top: 1px solid var(--rp-line);
}

.bpc-rp-service-card__panel[hidden] {
  display: none !important;
}

.bpc-rp-service-card__description {
  max-width: 760px;
  padding-top: 16px;
  color: var(--rp-text);
  font-size: 14px;
  line-height: 1.65;
}

.bpc-rp-service-card__description p {
  margin: 0 0 10px;
}

.bpc-rp-service-card__description p:last-child {
  margin-bottom: 0;
}

.bpc-rp-service-card__reassurance {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0 0;
  color: var(--rp-green);
  font-size: 12.5px;
  font-weight: 650;
}

.bpc-rp-service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.is-multi-ready .bpc-rp-service-card__actions--fallback {
  display: none;
}

.bpc-rp-selection-summary {
  position: sticky;
  top: calc(var(--bpc-header-height, 76px) + 18px);
  display: grid;
  gap: 14px;
  max-height: calc(100vh - var(--bpc-header-height, 76px) - 36px);
  padding: 20px;
  overflow: auto;
  background: var(--rp-surface);
  border: 1px solid var(--rp-line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(21, 45, 76, .11);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.bpc-rp-selection-summary__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.bpc-rp-selection-summary__head h3 {
  margin: 2px 0 0;
  color: var(--rp-ink);
  font-size: 19px;
}

.bpc-rp-selection-summary__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--rp-text);
  background: var(--rp-surface-subtle);
  border: 1px solid var(--rp-line);
  border-radius: 50%;
}

.bpc-rp-selection-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  color: var(--rp-surface);
  background: var(--rp-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.bpc-rp-selection-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 25px 15px;
  color: var(--rp-text);
  text-align: center;
  background: var(--rp-surface-subtle);
  border: 1px dashed var(--rp-line);
  border-radius: 17px;
}

.bpc-rp-selection-empty[hidden] {
  display: none !important;
}

.bpc-rp-selection-empty svg {
  color: var(--rp-muted);
}

.bpc-rp-selection-empty strong {
  color: var(--rp-ink);
  font-size: 14px;
}

.bpc-rp-selection-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.bpc-rp-selection-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpc-rp-selection-list[hidden] {
  display: none !important;
}

.bpc-rp-selection-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  padding: 10px 9px 10px 12px;
  background: var(--rp-surface-subtle);
  border: 1px solid var(--rp-line);
  border-radius: 13px;
}

.bpc-rp-selection-list li > span {
  min-width: 0;
}

.bpc-rp-selection-list strong,
.bpc-rp-selection-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bpc-rp-selection-list strong {
  color: var(--rp-ink);
  font-size: 12.5px;
}

.bpc-rp-selection-list small {
  margin-top: 2px;
  color: var(--rp-text);
  font-size: 11px;
}

.bpc-rp-selection-list__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--rp-text);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.bpc-rp-selection-list__remove:hover,
.bpc-rp-selection-list__remove:focus-visible {
  color: var(--bspc-error-text);
  background: var(--bspc-error-bg);
}

.bpc-rp-selection-totals {
  padding: 13px 14px;
  background: var(--rp-surface-subtle);
  border: 1px solid var(--rp-line);
  border-radius: 15px;
}

.bpc-rp-selection-totals[hidden],
.bpc-rp-selection-discount[hidden] {
  display: none !important;
}

.bpc-rp-selection-totals > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.bpc-rp-selection-totals span {
  color: var(--rp-text);
  font-size: 12px;
  font-weight: 650;
}

.bpc-rp-selection-totals strong {
  color: var(--rp-ink);
  font-size: 18px;
}

.bpc-rp-selection-totals p {
  margin: 7px 0 0;
  color: var(--rp-text);
  font-size: 10.5px;
  line-height: 1.45;
}

.bpc-rp-selection-discount,
.bpc-rp-selection-backup {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: 15px;
}

.bpc-rp-selection-discount {
  color: var(--rp-text);
  background: var(--rp-blue-soft);
  border: 1px solid var(--rp-line);
}

.bpc-rp-selection-backup {
  color: var(--rp-text);
  background: var(--rp-surface-subtle);
  border: 1px solid var(--rp-line);
}

.bpc-rp-selection-discount svg,
.bpc-rp-selection-backup svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.bpc-rp-selection-discount p,
.bpc-rp-selection-backup p {
  margin: 0;
}

.bpc-rp-selection-discount strong,
.bpc-rp-selection-discount span,
.bpc-rp-selection-backup strong,
.bpc-rp-selection-backup span {
  display: block;
}

.bpc-rp-selection-discount strong,
.bpc-rp-selection-backup strong {
  margin-bottom: 2px;
  font-size: 12px;
}

.bpc-rp-selection-discount span,
.bpc-rp-selection-backup span {
  font-size: 10.5px;
  line-height: 1.45;
}

.bpc-rp-selection-submit {
  width: 100%;
  min-height: 50px;
}

.bpc-rp-selection-submit:disabled {
  color: var(--rp-muted);
  background: var(--rp-surface-subtle);
  border-color: var(--rp-line);
  box-shadow: none;
  cursor: not-allowed;
}

.bpc-rp-selection-status {
  min-height: 18px;
  margin: -5px 2px 0;
  color: var(--rp-text);
  font-size: 11px;
  line-height: 1.4;
}

.bpc-rp-selection-status.is-error {
  color: var(--bspc-error-text);
}

.bpc-rp-selection-dock {
  display: none;
}

@media (max-width: 980px) {
  .bpc-rp-selection-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }

  .bpc-rp-service-card__row {
    grid-template-columns: 34px 44px minmax(0, 1fr);
  }

  .bpc-rp-service-card__commercial {
    grid-column: 3;
    min-width: 0;
    text-align: left;
  }

  .bpc-rp-service-card__details {
    grid-column: 3 / -1;
    justify-self: start;
    margin-top: -7px;
  }
}

@media (max-width: 782px) {
  .bpc-rp-selection-layout {
    display: block;
  }

  .bpc-rp-selection-intro {
    margin-bottom: 13px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .bpc-rp-selection-intro p {
    font-size: 12.5px;
  }

  .bpc-rp-services {
    gap: 10px;
  }

  .bpc-rp-service-card {
    border-radius: 17px;
  }

  .bpc-rp-service-card__row {
    grid-template-columns: 34px 44px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 92px;
    padding: 13px 12px;
  }

  .bpc-rp-service-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .bpc-rp-service-card__copy strong {
    font-size: 15px;
  }

  .bpc-rp-service-card__copy span {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }

  .bpc-rp-service-card__commercial {
    grid-column: auto;
    min-width: 88px;
    text-align: right;
  }

  .bpc-rp-service-card__commercial strong {
    font-size: 12.5px;
  }

  .bpc-rp-service-card__commercial small {
    display: none;
  }

  .bpc-rp-service-card__details {
    grid-column: 3 / -1;
    justify-self: start;
    min-height: 32px;
    margin: -6px 0 -3px;
    padding: 5px 7px;
  }

  .bpc-rp-service-card__panel {
    padding: 0 14px 15px 14px;
  }

  .bpc-rp-service-card__description {
    padding-top: 14px;
    font-size: 13px;
  }

  .bpc-rp-selection-summary {
    position: fixed;
    inset: auto 0 0;
    z-index: 100030;
    display: grid;
    max-height: min(86dvh, 760px);
    padding: 19px 16px max(18px, env(safe-area-inset-bottom));
    overflow: auto;
    border: 0;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -18px 55px rgba(17, 31, 50, .22);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform .24s ease, visibility 0s linear .24s;
  }

  .bpc-rp-selection-layout.is-summary-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100020;
    background: rgba(18, 30, 47, .48);
  }

  .bpc-rp-selection-layout.is-summary-open .bpc-rp-selection-summary {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .bpc-rp-selection-summary__head {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .bpc-rp-selection-summary__close {
    display: inline-flex;
  }

  .bpc-rp-selection-dock:not([hidden]) {
    position: fixed;
    inset: auto 0 0;
    z-index: 10000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 1.2fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    background: var(--rp-surface);
    border-top: 1px solid var(--rp-line);
    box-shadow: 0 -10px 30px rgba(17, 36, 60, .13);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }

  .bpc-rp-selection-dock__summary {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 50px;
    padding: 7px 8px;
    color: var(--rp-ink);
    text-align: left;
    background: transparent;
    border: 0;
  }

  .bpc-rp-selection-dock__summary span,
  .bpc-rp-selection-dock__summary strong,
  .bpc-rp-selection-dock__summary small {
    display: block;
    min-width: 0;
  }

  .bpc-rp-selection-dock__summary strong {
    font-size: 13px;
  }

  .bpc-rp-selection-dock__summary small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--rp-text);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bpc-rp-selection-dock .bpc-rp-selection-submit {
    min-height: 50px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .bpc-rp-repairs {
    padding-bottom: 90px;
  }
}

@media (max-width: 430px) {
  .bpc-rp-service-card__row {
    grid-template-columns: 32px 40px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px 10px;
  }

  .bpc-rp-service-card__selector,
  .bpc-rp-service-card__check {
    width: 30px;
    height: 30px;
  }

  .bpc-rp-service-card__icon {
    width: 40px;
    height: 40px;
  }

  .bpc-rp-service-card__commercial {
    min-width: 78px;
  }

  .bpc-rp-service-card__commercial strong {
    max-width: 88px;
    white-space: normal;
  }

  .bpc-rp-selection-dock:not([hidden]) {
    grid-template-columns: minmax(0, .9fr) minmax(144px, 1.1fr);
    gap: 7px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpc-rp-service-card,
  .bpc-rp-service-card__check,
  .bpc-rp-service-card__details svg,
  .bpc-rp-selection-summary {
    transition: none !important;
  }
}
