.product-section {
  padding-block: clamp(26px, 5vw, 58px);
}

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

.product-card {
  --product-accent: #91d9ff;
  --product-wash: rgba(48, 144, 219, .16);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 3.4vw, 38px);
  background: radial-gradient(ellipse at top right, var(--product-wash), transparent 66%), #10243b;
}

.product-card--rastayar {
  --product-accent: #7de8df;
  --product-wash: rgba(31, 183, 167, .17);
  background-color: #0b292f;
}

.product-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-card__header > div {
  min-width: 0;
}

.product-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  width: 66px;
  aspect-ratio: 1;
  border-radius: 18px;
  background: #fff;
}

.product-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-logo--rastayar {
  background: #fafafa;
}

.product-logo--rastayar img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -51%);
}

.product-card__category {
  display: block;
  margin: 0 0 2px;
  color: var(--product-accent);
  font-size: .875rem;
  font-weight: 700;
}

.product-card h2, .product-card h3 {
  margin: 0;
  line-height: 1.45;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
}

.product-card > p {
  margin: 18px 0 12px;
  color: #d9e7f4;
  font-size: 1rem;
  line-height: 1.9;
}

.product-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: #caddec;
  font-size: .875rem;
}

.product-points li::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-end: 7px;
  border-radius: 50%;
  background: var(--product-accent);
  vertical-align: middle;
  content: "";
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product-actions .btn {
  white-space: normal;
  text-align: center;
}

.product-card .product-actions {
  margin-top: auto;
}

.product-card .btn.primary {
  color: #082031;
  background: var(--product-accent);
  box-shadow: none;
}

.product-card .btn.primary:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
}

.product-all {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .63fr);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
  margin-block: 32px 0;
  padding: clamp(22px, 5vw, 58px);
  background: radial-gradient(ellipse at top right, rgba(48, 144, 219, .18), transparent 62%), #10243b;
}

.product-hero--rastayar {
  background: radial-gradient(ellipse at top right, rgba(31, 183, 167, .2), transparent 62%), #0b292f;
}

.product-hero h1 {
  font-size: clamp(1.9rem, 4.1vw, 3.4rem);
}

.product-hero .lead {
  max-width: 52ch;
  margin: 14px 0 20px;
  color: #d9e7f4;
}

.product-flow {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 17px;
  background: rgba(4, 18, 30, .35);
}

.product-flow .product-logo {
  margin-block-end: 14px;
}

.product-flow h2 {
  margin: 0;
  font-size: 1.06rem;
}

.product-flow ul {
  margin: 10px 0 0;
  padding-inline-start: 20px;
  color: #d9e7f4;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-feature {
  padding: 22px;
}

.product-feature h3, .product-feature h2 {
  margin: 0 0 7px;
  font-size: 1.15rem;
}

.product-feature p, .product-details p {
  margin: 0;
  color: #c5d8ea;
  font-size: 1rem;
}

.product-details {
  display: grid;
  gap: 10px;
  margin-block: 24px 0;
}

.product-details details {
  padding: 13px 18px;
}

.product-details summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

.product-details details p {
  margin: 8px 0 0;
}

.product-note {
  margin: 18px 0 0;
  color: #c5d8ea;
  font-size: .95rem;
}

.product-contact {
  scroll-margin-top: 105px;
}

.product-contact h2 {
  margin: 0 0 8px;
}

.product-contact > p {
  margin: 0 0 16px;
  color: #c5d8ea;
}

.product-contact .field {
  margin-top: 12px;
}

.product-contact .form-status {
  min-height: 1.6em;
}

@media (max-width: 760px) {
  .product-grid, .product-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero {
    margin-top: 22px;
  }
}

@media (max-width: 490px) {
  .product-grid {
    gap: 14px;
  }

  .product-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-logo {
    width: 56px;
    border-radius: 15px;
  }
}
