.kaspi-link {
  color: #e74b3c;
  border-color: #e74b3c;
  font-weight: 600;
}

.has-image {
  position: relative;
  padding: 0;
}

.has-image::after {
  display: none;
}

.media-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  object-position: 50% 46%;
}

.before-photo {
  object-position: center 50%;
}

.product-card[data-tone="white"] .media-photo,
.product-card[data-tone="gray"] .media-photo {
  object-position: center 43%;
}

.stand-photo .media-photo {
  object-position: center 60%;
}

.kaspi-button {
  gap: 10px;
}

.two-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.product-card[data-tone="white"] .product-photo {
  background: linear-gradient(145deg, #e8e5e1, #fffefa);
  color: #8c817b;
}

.product-card[data-tone="gray"] .product-photo {
  background: linear-gradient(145deg, #aaa8a5, #dedbd7);
  color: white;
}

.white { background: #fffdf8; }
.gray { background: #888886; }

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 2px;
  font-size: .78rem;
  font-weight: 600;
  color: #e74b3c;
  transition: padding .2s;
}

.product-buy:hover {
  padding-left: 8px;
  padding-right: 8px;
}

.stands {
  background: var(--white);
  padding: clamp(90px, 11vw, 160px) clamp(24px, 7vw, 100px);
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: clamp(45px, 8vw, 120px);
  align-items: center;
}

.stands-intro h2 {
  font: clamp(2.2rem, 4vw, 4.1rem)/1.12 var(--serif);
  letter-spacing: -.04em;
  margin: 0;
}

.stands-intro > p:last-child {
  color: var(--muted);
  margin: 25px 0 0;
  max-width: 450px;
}

.stand-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stand-photo {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #292827;
  color: rgba(255,255,255,.75);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.stand-card[data-stand="wood"] .stand-photo {
  background: linear-gradient(145deg, #8f6848, #c49a73);
}

.stand-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}

.stand-caption small {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-size: .58rem;
}

.stand-caption h3 {
  font: 1.15rem var(--serif);
  margin: 2px 0 0;
}

.black { background: #252525; }
.wood { background: #9f744f; }

.stands-button {
  grid-column: 2;
  width: max-content;
  margin-top: -35px;
  gap: 10px;
}

@media (max-width: 900px) {
  .two-products { grid-template-columns: 1fr 1fr; }
  .two-products .product-card:last-child {
    grid-column: auto;
    width: 100%;
    margin: 0;
  }
  .stands { grid-template-columns: 1fr; }
  .stands-intro { max-width: 620px; }
  .stands-button {
    grid-column: 1;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .two-products,
  .stand-products { grid-template-columns: 1fr; }
  .stands {
    padding-left: 24px;
    padding-right: 24px;
  }
  .stand-photo { height: 330px; }
  .stands-button,
  .kaspi-button { width: 100%; }
}

/* Kaspi actions */
.header .kaspi-link,
.hero .kaspi-button,
.product-card .product-buy,
.stands .stands-button,
.order a[href^="https://kaspi.kz"] {
  background: #e9332a;
  color: #fff;
  border-color: #e9332a;
  box-shadow: 0 10px 28px rgba(233, 51, 42, .22);
}

.header .kaspi-link {
  padding: 10px 18px;
  border-radius: 999px;
  line-height: 1;
}

.product-card .product-buy {
  border: 0;
  border-radius: 999px;
  margin-top: 8px;
  padding: 14px 18px;
}

.header .kaspi-link:hover,
.hero .kaspi-button:hover,
.product-card .product-buy:hover,
.stands .stands-button:hover,
.order a[href^="https://kaspi.kz"]:hover {
  background: #cf271f;
  border-color: #cf271f;
}
