/* Product page installment plans */
.single-product .seen-installments {
	margin: 12px 0 16px;
	padding: 14px 16px 12px;
	background: #F3F6F4;
	border: 1px solid #e2eaf3;
	border-radius: 16px;
}

.single-product .seen-installments__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 10px;
}

.single-product .seen-installments__badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: none;
}

.single-product .seen-installments__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
}

.single-product .seen-installments__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.single-product .seen-installments:not(.is-expanded) .seen-installments__row.is-extra {
	display: none;
}

.single-product .seen-installments__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.single-product .seen-installments__term {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.single-product .seen-installments__amount {
	font-size: 13px;
	color: #64748b;
	text-align: right;
}

.single-product .seen-installments__sum {
	color: #263A2F;
	font-size: 15px;
	font-weight: 800;
}

.single-product .seen-installments__more {
	display: block;
	width: 100%;
	margin-top: 10px;
	border: 0;
	border-radius: 999px;
	padding: 9px 14px;
	background: #fff;
	color: #263A2F;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.single-product .seen-installments__more:hover {
	background: #EEF3F0;
}

.single-product .seen-installments__hint {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
}

/* Shop / catalog cards: always a full row under the price */
.product-grid-item .wrapp-product-price:has(.seen-installment-card),
.product-list-item .wrapp-product-price:has(.seen-installment-card),
.product-element-bottom .wrapp-product-price:has(.seen-installment-card),
.wd-product .wrapp-product-price:has(.seen-installment-card),
.product-grid-item .wrap-price:has(.seen-installment-card),
.product-list-item .wrap-price:has(.seen-installment-card),
.product-element-bottom .wrap-price:has(.seen-installment-card),
.wd-product .wrap-price:has(.seen-installment-card) {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 8px;
}

.product-grid-item .wrapp-product-price .price,
.product-list-item .wrapp-product-price .price,
.product-element-bottom .wrapp-product-price .price,
.product-grid-item .wrap-price .price,
.product-list-item .wrap-price .price,
.product-element-bottom .wrap-price .price {
	width: 100%;
	margin-bottom: 0 !important;
}

.product-element-bottom .seen-installment-card,
.wd-entities-wrapper .seen-installment-card,
.product-grid-item .seen-installment-card,
.product-list-item .seen-installment-card,
.wd-products-holder .seen-installment-card,
.widget .seen-installment-card {
	display: flex !important;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 8px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 7px 10px;
	border-radius: 10px;
	background: #eef6fb !important;
	border: 1px solid #d4e8f5;
	color: #334155 !important;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
	text-align: left;
}

.seen-installment-card__sum {
	color: #263A2F !important;
	font-weight: 800;
	font-size: 13px;
}

.seen-installment-card__meta {
	color: #64748b !important;
	font-weight: 600;
}

.product__rassrochka,
.product-element-bottom .seen-installment-card,
.wd-entities-wrapper .seen-installment-card,
.product-grid-item .seen-installment-card,
.product-list-item .seen-installment-card,
.wd-products-holder .seen-installment-card,
.widget .seen-installment-card {
	display: none !important;
}

.product-grid-item .price,
.product-list-item .price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.product-grid-item .price del,
.product-list-item .price del {
	order: 1;
	color: #94a3b8;
	font-size: 13px;
	font-weight: 500;
	opacity: 1;
}

.product-grid-item .price ins,
.product-list-item .price ins {
	order: 2;
	text-decoration: none;
	color: #263A2F;
	font-size: 18px;
	font-weight: 800;
	background: transparent;
}

.seen-product-lead {
	margin: 2px 0 14px;
	padding: 14px 16px 12px;
	border-radius: 16px;
	background: #f4f7f5;
	border: 1px solid #e3eee6;
}

.seen-product-lead__kicker {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #263A2F;
}

.seen-product-lead__text {
	font-size: 15px;
	line-height: 1.6;
	color: #1f2937;
}

.seen-product-lead__text p:first-child {
	margin-top: 0;
}

.seen-product-lead__text p:last-child {
	margin-bottom: 0;
}

.seen-product-lead.is-clamped .seen-product-lead__text {
	max-height: 7.6em;
	overflow: hidden;
}

.seen-product-lead.is-open .seen-product-lead__text {
	max-height: none;
}

.single-product button.seen-product-lead__more {
	display: inline-flex;
	width: auto;
	margin-top: 8px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: #263A2F !important;
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.single-product button.seen-pay-open {
	display: inline-flex;
	align-items: center;
	width: auto;
	margin: 0 0 14px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid #263A2F !important;
	background: transparent !important;
	color: #263A2F !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.single-product button.seen-pay-open:hover {
	background: #263A2F !important;
	color: #fff !important;
}

.seen-pay-modal[hidden] {
	display: none !important;
}

.seen-pay-modal.is-open {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.seen-pay-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	background: rgba(38, 58, 47, 0.28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
}

.seen-pay-modal__card {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	max-height: min(80vh, 560px);
	overflow: auto;
	padding: 18px 16px 14px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.seen-pay-modal__x {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
	color: #263A2F;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.seen-pay-modal__title {
	margin: 0 28px 4px 0;
	font-size: 18px;
	font-weight: 800;
	color: #263A2F;
}

.seen-pay-modal__note {
	margin: 0 0 12px;
	font-size: 13px;
	color: #64748b;
}

.seen-pay-modal .seen-installments {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}
