.bpac-root {
  --bp-text: #1d1d1f;
  --bp-muted: #6e6e73;
  --bp-line: #e5e5e7;
  --bp-soft: #f5f5f7;
  --bp-blue: #0071e3;
  --bp-blue-hover: #0077ed;
  --bp-white: #ffffff;
  width: min(1220px, calc(100% - 32px));
  margin: 48px auto 72px;
  padding: 52px 42px 44px;
  box-sizing: border-box;
  color: var(--bp-text);
  background: var(--bp-white);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 34px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bpac-root *,
.bpac-root *::before,
.bpac-root *::after {
  box-sizing: border-box;
}

.bpac-header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.bpac-eyebrow {
  margin-bottom: 10px;
  color: var(--bp-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.bpac-title {
  margin: 0;
  color: var(--bp-text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.bpac-subtitle {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--bp-muted);
  font-size: 17px;
  line-height: 1.45;
}

.bpac-family-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 22px;
}

.bpac-family-button {
  appearance: none;
  border: 1px solid var(--bp-line);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--bp-text);
  background: var(--bp-white);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.bpac-family-button:hover {
  border-color: #c7c7cc;
  transform: translateY(-1px);
}

.bpac-family-button.is-active {
  color: #fff;
  background: var(--bp-text);
  border-color: var(--bp-text);
}

.bpac-chooser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin: 0 0 24px;
  padding: 18px;
  background: var(--bp-soft);
  border-radius: 24px;
}

.bpac-select-field {
  display: block;
  min-width: 0;
}

.bpac-select-label {
  display: block;
  margin: 0 0 7px 4px;
  color: var(--bp-muted);
  font-size: 12px;
  font-weight: 600;
}

.bpac-select {
  appearance: auto;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--bp-text);
  background: #fff;
  border: 1px solid #d8d8dc;
  border-radius: 14px;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bpac-select:focus {
  border-color: var(--bp-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .12);
}

.bpac-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  color: var(--bp-muted);
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.bpac-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bpac-product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 26px 26px 28px;
  text-align: center;
  background: var(--bp-soft);
  border: 1px solid rgba(0, 0, 0, .035);
  border-radius: 28px;
}

.bpac-product-kicker {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 9px;
  color: var(--bp-muted);
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 0, 0, .045);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .025em;
  backdrop-filter: blur(12px);
}

.bpac-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
  margin: 2px auto 18px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .035);
  border-radius: 22px;
}

.bpac-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bpac-image-wrap.bpac-image-missing::after {
  content: "Imagen no disponible";
  color: var(--bp-muted);
  font-size: 12px;
}

.bpac-image-wrap.bpac-image-missing img {
  display: none;
}

.bpac-family-label {
  margin-bottom: 5px;
  color: var(--bp-blue);
  font-size: 12px;
  font-weight: 650;
}

.bpac-name {
  margin: 0;
  color: var(--bp-text);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
}

.bpac-price {
  min-height: 23px;
  margin-top: 9px;
  color: var(--bp-text);
  font-size: 14px;
  font-weight: 600;
}

.bpac-color-dots {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bpac-color-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .16);
}

.bpac-muted {
  color: var(--bp-muted);
  font-size: 12px;
}

.bpac-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 20px;
  color: #fff !important;
  background: var(--bp-blue);
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}

.bpac-buy-button:hover,
.bpac-buy-button:focus {
  color: #fff !important;
  background: var(--bp-blue-hover);
  transform: translateY(-1px);
}

.bpac-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 14px;
  color: var(--bp-text);
  font-size: 15px;
  font-weight: 700;
}

.bpac-section-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--bp-line);
}

.bpac-specs {
  overflow: hidden;
  border: 1px solid var(--bp-line);
  border-radius: 24px;
  background: #fff;
}

.bpac-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  align-items: stretch;
  min-height: 82px;
  border-bottom: 1px solid var(--bp-line);
}

.bpac-spec-row:last-child {
  border-bottom: 0;
}

.bpac-spec-side,
.bpac-spec-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 22px;
}

.bpac-spec-side-a {
  text-align: right;
  justify-content: flex-end;
}

.bpac-spec-side-b {
  text-align: left;
  justify-content: flex-start;
}

.bpac-spec-label {
  color: var(--bp-muted);
  background: #fafafa;
  border-left: 1px solid var(--bp-line);
  border-right: 1px solid var(--bp-line);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.bpac-spec-value {
  max-width: 390px;
  color: var(--bp-text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.bpac-spec-empty {
  color: #b0b0b5;
}

.bpac-spec-side .bpac-color-dots {
  justify-content: inherit;
  margin-top: 0;
}

.bpac-loading,
.bpac-error,
.bpac-empty-state {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 30px;
  color: var(--bp-muted);
  text-align: center;
  font-size: 14px;
}

.bpac-error strong {
  color: var(--bp-text);
  font-size: 16px;
}

@media (max-width: 820px) {
  .bpac-root {
    width: min(100% - 20px, 760px);
    margin: 28px auto 48px;
    padding: 34px 18px 26px;
    border-radius: 26px;
  }

  .bpac-header {
    margin-bottom: 24px;
  }

  .bpac-subtitle {
    font-size: 15px;
  }

  .bpac-chooser {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 14px;
    border-radius: 20px;
  }

  .bpac-vs {
    width: 34px;
    height: 34px;
    margin: -2px auto;
  }

  .bpac-product-grid {
    gap: 10px;
  }

  .bpac-product-card {
    padding: 18px 12px 20px;
    border-radius: 22px;
  }

  .bpac-product-kicker {
    display: none;
  }

  .bpac-image-wrap {
    height: 180px;
    margin-bottom: 14px;
    padding: 8px;
    border-radius: 18px;
  }

  .bpac-name {
    font-size: clamp(17px, 4.6vw, 22px);
  }

  .bpac-price {
    min-height: 38px;
    font-size: 12px;
    line-height: 1.35;
  }

  .bpac-buy-button {
    min-height: 38px;
    margin-top: 14px;
    padding: 0 15px;
    font-size: 12px;
  }

  .bpac-spec-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .bpac-spec-label {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 35px;
    padding: 9px 12px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--bp-line);
  }

  .bpac-spec-side {
    grid-row: 2;
    min-height: 66px;
    padding: 13px 12px;
    text-align: center;
    justify-content: center;
  }

  .bpac-spec-side-a {
    border-right: 1px solid var(--bp-line);
  }

  .bpac-spec-value {
    font-size: 12px;
    line-height: 1.38;
  }

  .bpac-spec-side .bpac-color-dots {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .bpac-root {
    width: calc(100% - 12px);
    padding: 28px 10px 18px;
    border-radius: 22px;
  }

  .bpac-eyebrow {
    font-size: 10px;
  }

  .bpac-title {
    font-size: 30px;
  }

  .bpac-family-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 2px 4px;
    scrollbar-width: none;
  }

  .bpac-family-nav::-webkit-scrollbar {
    display: none;
  }

  .bpac-family-button {
    flex: 0 0 auto;
  }

  .bpac-image-wrap {
    height: 145px;
  }

  .bpac-product-card {
    padding-inline: 9px;
  }

  .bpac-family-label {
    font-size: 10px;
  }

  .bpac-price {
    font-size: 11px;
  }

  .bpac-color-dot {
    width: 12px;
    height: 12px;
  }
}
