/* Kinivalo P2 UI polish — storefront-only. No checkout/payment/order logic. */
.products-section .product-card {
  transition: box-shadow .18s ease, transform .18s ease;
}
.products-section .product-card:focus-within {
  box-shadow: 0 0 0 2px rgba(224, 59, 26, .17), 0 8px 22px rgba(15, 23, 42, .09);
}
.products-section .product-card .product-order {
  min-height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
.products-section .product-card .kv-p2-quick-btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 9px 12px;
  border: 1px solid #d4dbe5;
  border-radius: 10px;
  background: #fff;
  color: #1d2939;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
}
.products-section .product-card .kv-p2-quick-btn:hover,
.products-section .product-card .kv-p2-quick-btn:focus-visible {
  border-color: #ec431e;
  color: #c32f16;
  background: #fff8f5;
}
.products-section .product-card .kv-p2-quick-btn:focus-visible,
.kv-p2-dialog button:focus-visible,
.kv-p2-dialog a:focus-visible {
  outline: 3px solid #fda76f;
  outline-offset: 2px;
}
.products-section .product-card .kv-p2-quick-btn + .product-order {
  margin-top: 8px;
}
.verification-payments-card .payment-methods-actual span,
.footer-trust-panel .payment-methods-actual span {
  border-radius: 9px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .07);
}
.verification-payments-card {
  min-width: 0;
}
.footer-trust-panel .payment-methods-actual {
  justify-content: flex-start !important;
  gap: 8px !important;
}
.kv-p2-dialog {
  width: min(94vw, 810px);
  max-width: 810px;
  max-height: min(90vh, 820px);
  max-height: min(90dvh, 820px);
  margin: auto;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
  color: #111827;
  box-shadow: 0 20px 70px rgba(15, 23, 42, .24);
  overflow: auto;
}
.kv-p2-dialog::backdrop {
  background: rgba(13, 20, 33, .72);
}
.kv-p2-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
}
.kv-p2-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid #d9dee8;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.kv-p2-dialog-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 22px;
  background: #f8f9fb;
}
.kv-p2-dialog-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}
.kv-p2-dialog-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 58px 27px 28px;
}
.kv-p2-dialog-kicker {
  color: #c8351b;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kv-p2-dialog-title {
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 850;
  line-height: 1.25;
  margin: 0;
}
.kv-p2-dialog-desc {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: #475467;
}
.kv-p2-dialog-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.kv-p2-dialog-features span {
  background: #eef7f4;
  color: #17634d;
  border: 1px solid #d5ebe3;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
}
.kv-p2-dialog-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 29px;
  font-weight: 900;
  color: #e13219;
}
.kv-p2-dialog-price del {
  color: #98a2b3;
  font-size: 15px;
  font-weight: 600;
}
.kv-p2-dialog-cost {
  padding: 10px 12px;
  border: 1px solid #ffd9c9;
  border-radius: 10px;
  background: #fff8f3;
  color: #814026;
  font-size: 13px;
  line-height: 1.5;
}
.kv-p2-dialog-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border-radius: 11px;
  background: linear-gradient(110deg, #ed2f1d, #f97316);
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  text-align: center;
}
.kv-p2-dialog-buy:hover { color: #fff; filter: brightness(.96); }
.kv-p2-dialog-note {
  font-size: 12px;
  line-height: 1.4;
  color: #667085;
}
body.kv-p2-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .kv-p2-dialog { width: min(94vw, 470px); border-radius: 18px; }
  .kv-p2-dialog-shell { grid-template-columns: 1fr; }
  .kv-p2-dialog-image { min-height: 0; padding: 16px 34px; }
  .kv-p2-dialog-image img { max-height: 240px; }
  .kv-p2-dialog-info { gap: 11px; padding: 18px 18px 22px; }
  .kv-p2-dialog-title { font-size: 22px; }
  .kv-p2-dialog-close { top: 9px; right: 9px; }
  .products-section .product-card .product-name {
    font-size: 14px !important;
    line-height: 1.35;
  }
  .products-section .product-card .product-desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .products-section .product-card .kv-p2-quick-btn {
    font-size: 13px;
    padding: 8px 5px;
  }
  .products-section .product-card .product-order {
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 1.4;
    min-height: 44px !important;
  }
  .verification-payments-card .payment-methods-actual { row-gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .products-section .product-card { transition: none; }
}
