[data-commercial-placement][hidden],
[data-commercial-host][hidden],
.commercial-card [hidden] {
  display: none !important;
}
.commercial-card {
  min-width: 0;
  color: #092767;
}
.commercial-card h2,
.commercial-card h3 {
  margin: 16px 0 12px;
  font-size: 28px;
  line-height: 1.2;
}
.commercial-card p {
  margin: 0 0 15px;
}
.commercial-disclosure {
  color: #58657d;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}
.commercial-image {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  border-radius: 12px;
}
.commercial-subtitle {
  font-weight: 700;
}
.commercial-description {
  white-space: pre-line;
  line-height: 1.65;
  font-size: 14px;
}
.commercial-reference {
  color: #58657d;
  font-size: 13px;
}
.commercial-cash-price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.commercial-cash-price span {
  font-size: 12px;
  font-weight: 500;
}
.commercial-installment-price {
  font-size: 23px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.commercial-action {
  width: 100%;
  margin-top: 8px;
  background: #092767;
  color: white;
  text-align: center;
}
[data-commercial-action][aria-disabled='true'],
[data-purchase][aria-disabled='true'] {
  opacity: 0.6;
  cursor: wait;
}
.commercial-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 24px;
  padding-block: 32px;
}
.commercial-inline .commercial-card {
  padding: 24px;
  border: 1px solid #d9e0eb;
  border-radius: 12px;
  background: white;
}
.commercial-offer-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;
}
.commercial-offer-page .commercial-card {
  padding: 28px;
  margin-block: 24px;
  border: 1px solid #d9e0eb;
  border-radius: 12px;
  background: white;
}

.travel-ads .commercial-card {
  padding: 24px;
  margin-block: 16px;
  border: 1px solid #d9e0eb;
  border-radius: 12px;
  background: white;
}
.travel-ads .commercial-image {
  max-height: 170px;
}
.course-invite [data-offer-price] {
  color: white;
  font-size: 34px;
  font-weight: 800;
}
.course-invite [data-commercial-primary-field='imageUrl'] {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}
.course-copy [data-commercial-primary-field='description'],
.offer-copy [data-commercial-primary-field='description'] {
  white-space: pre-line;
}
.alerts-card .commercial-image {
  width: 78px;
  height: 78px;
}
.alerts-dialog .commercial-image {
  width: 78px;
  height: 78px;
}
.alerts-card .commercial-action,
.alerts-dialog .commercial-action {
  background: #052659;
  color: white;
}

.sales-privacy-panel {
  position: fixed;
  z-index: 30;
  inset-inline-start: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(360px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid #b6c6df;
  border-radius: 12px;
  background: #fff;
  color: #092767;
  box-shadow: 0 8px 24px rgb(9 39 103 / 14%);
}

.sales-privacy-panel h2,
.sales-privacy-panel p {
  margin: 0 0 8px;
}

.sales-privacy-panel h2 {
  font-size: 1rem;
}

.sales-privacy-panel p {
  font-size: 0.875rem;
}

.sales-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sales-privacy-actions button {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #b6c6df;
  border-radius: 8px;
  background: #fff;
  color: #092767;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.sales-privacy-preferences {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 640px) {
  .sales-privacy-panel {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}
