/* Deal detail pages only. Offer data and destination URLs are rendered by the
   existing page generator; these rules only arrange the existing information. */
.deal-detail-page {
  max-width: 1040px;
}

.deal-detail-top {
  margin-top: 24px;
}

.deal-detail-top.has-purchase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: stretch;
  gap: 16px;
}

.deal-detail-page .cost-box {
  margin: 0;
}

.deal-purchase-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1.5px solid #BBDDF7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 43, 62, .05);
}

.deal-purchase-card h2 {
  margin: 0 0 20px;
  color: #102b3e;
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.15;
  text-align: center;
}

.deal-detail-cta {
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 11px;
  background: #ffd84d;
  color: #102b3e;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.deal-detail-cta:hover {
  background: #f4c82f;
}

.deal-detail-cta:focus-visible {
  outline: 3px solid #0066DD;
  outline-offset: 3px;
}

.deal-purchase-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.deal-purchase-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #102b3e;
  font-size: 14px;
  font-weight: 700;
}

.deal-purchase-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e3f7eb;
  color: #075d4e;
  font-size: 16px;
  font-weight: 900;
}

.deal-detail-page .deal-plan-details {
  max-width: none;
  margin-top: 16px;
}

.deal-detail-page .notice {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .deal-detail-top.has-purchase-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .deal-purchase-card {
    padding: 18px;
  }

  .deal-purchase-card h2 {
    display: none;
  }

  .deal-detail-cta {
    min-height: 54px;
    font-size: 24px;
  }

  .deal-purchase-points {
    margin-top: 16px;
    gap: 9px;
  }

  .deal-detail-page .cost-row {
    align-items: flex-start;
  }

  .deal-detail-page .cost-row b {
    max-width: 62%;
    text-align: right;
  }
}
