﻿.headline-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  background: #f4f8fc;
}

.headline-offer div {
  display: grid;
  gap: 3px;
}

.headline-offer small,
.headline-offer span,
.offer-heading span,
.offer-row small {
  color: #697386;
}

.headline-offer strong {
  font-size: 30px;
}

.headline-offer a {
  padding: 13px 18px;
  border-radius: 10px;
  background: #0866d9;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.offer-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.offer-row {
  grid-template-columns: 1.1fr auto 1.4fr auto 130px;
}

.offer-row > div {
  display: grid;
  gap: 3px;
}

.availability {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px !important;
  font-weight: 750;
  white-space: nowrap;
}

.availability-in_stock {
  background: #dcfce7;
  color: #166534 !important;
}

.comparison-note {
  padding: 13px 16px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
}

@media (max-width: 850px) {
  .offer-row {
    grid-template-columns: 1fr auto;
  }

  .offer-row > span:not(.availability) {
    display: none;
  }
}

@media (max-width: 600px) {
  .headline-offer,
  .offer-heading {
    align-items: stretch;
    flex-direction: column;
  }
}
