/* Страница /rassrochka — белый фон (перекрывает старые тёмные стили и кэш) */

html,
body.page-installment,
body.rassrochka-page {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

body.page-installment header {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom-color: #e5e5e5 !important;
}

body.page-installment .page-hero,
body.page-installment .installment-conditions,
body.page-installment .installment-page,
body.page-installment section {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

body.page-installment .home-stage.has-bg .page-hero,
body.page-installment .home-stage.has-bg .installment-conditions,
body.page-installment .home-stage.has-bg .installment-page,
body.page-installment .home-stage.has-bg section {
  background: transparent !important;
}

body.page-installment .site-footer,
body.page-installment .site-footer p,
body.page-installment .site-footer a,
body.page-installment .site-footer .footer-contact,
body.page-installment .site-footer .footer-col--nav a,
body.page-installment .site-footer .footer-legal-link,
body.page-installment .site-footer .footer-bottom {
  background: transparent;
  color: #9FB4D6 !important;
  -webkit-text-fill-color: #9FB4D6 !important;
}

body.page-installment .site-footer {
  background: #0B2347 !important;
  color: #9FB4D6 !important;
  border-top: 0 !important;
}

body.page-installment .site-footer .logo-text strong,
body.page-installment .site-footer .footer-col h4,
body.page-installment .site-footer .footer-col--nav a:hover,
body.page-installment .site-footer .footer-contact:hover,
body.page-installment .site-footer .footer-legal-link:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.page-installment .site-footer .logo-text span {
  color: #9FB4D6 !important;
  -webkit-text-fill-color: #9FB4D6 !important;
}

body.page-installment .page-desc,
body.page-installment .breadcrumb,
body.page-installment .breadcrumb a {
  color: #16233B !important;
}

body.page-installment .page-hero h1,
body.page-installment .page-desc {
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
}

body.page-installment .installment-conditions__inner {
  background: #ffffff !important;
  border: 1px solid #DCE6F2 !important;
  box-shadow: 0 8px 24px rgba(15, 61, 140, 0.08) !important;
}

body.page-installment .installment-conditions__title,
body.page-installment .installment-page__head h2 {
  color: #1a1a1a !important;
}

body.page-installment .installment-conditions__intro,
body.page-installment .installment-conditions__note,
body.page-installment .installment-page__count {
  color: #666666 !important;
}

body.page-installment .installment-term-card {
  background: #F3F7FD !important;
  border-color: #DCE6F2 !important;
}

body.page-installment .installment-term-card span {
  color: #1a1a1a !important;
}

body.page-installment .installment-page,
body.page-installment .products-grid {
  overflow: visible;
}

body.page-installment .product-card {
  background: #ffffff !important;
  border: 1px solid #DCE6F2 !important;
  box-shadow: none !important;
}

body.page-installment .product-card:hover {
  background: #ffffff !important;
  border-color: #1D5FD1 !important;
}

@media (min-width: 769px) {
  body.page-installment .products-grid {
    padding-top: 18px;
  }

  body.page-installment .products-grid .product-card {
    position: relative;
    z-index: 1;
    transform: translateZ(0) !important;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.28s ease;
  }

  body.page-installment .products-grid .product-card:hover {
    z-index: 4;
    border-color: #1D5FD1 !important;
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow:
      0 2px 0 #0F3D8C,
      0 10px 18px rgba(15, 61, 140, 0.12),
      0 22px 40px rgba(15, 61, 140, 0.18) !important;
  }

  body.page-installment .products-grid .product-card .product-img img {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.page-installment .products-grid .product-card:hover .product-img img {
    transform: scale(1.07);
  }
}

body.page-installment .product-img,
body.page-installment .product-img:has(img),
body.page-installment .product-img img {
  background: #ffffff !important;
}

body.page-installment .product-body,
body.page-installment .product-card__actions {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

body.page-installment .product-body h3 {
  color: #1a1a1a !important;
}

body.page-installment .installment-empty {
  background: #ffffff !important;
  color: #666666 !important;
}

@media (max-width: 768px) {
  html,
  body.page-installment {
    background: #ffffff !important;
  }

  body.page-installment .product-card {
    background: #ffffff !important;
    border: 1px solid #DCE6F2 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  }

  body.page-installment .product-body,
  body.page-installment .product-card__actions {
    background: #ffffff !important;
  }
}
