/* 098 (17.11.2026, ДЕВ): блок покупки в быстром просмотре (js/sb-quickview.js). Те же кнопки и цвета, что у блока покупки карточки. */
.product-photo-modal-content { --sb-ink: #212529; --sb-ink2: #767676; --sb-green: #51a564; --sb-green2: #63c278; --sb-green-d: #2a7a36; --sb-tint: #e0ffe7; --sb-line: #e4e4e4; --sb-line2: #f0f0f0; --sb-r-s: 12px; --sb-ease: cubic-bezier(.23, 1, .32, 1); }
.sb-qv { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px 24px; align-items: start; margin-top: 12px; padding: 16px 4px 4px; border-top: 1px solid var(--sb-line2); font-size: 14px; line-height: 20px; color: var(--sb-ink); }
.sb-qv p { margin: 0; }
.sb-qv-name { display: block; margin-bottom: 8px; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--sb-ink); text-decoration: none; text-wrap: balance; }
.sb-qv-name:hover { color: var(--sb-green-d); text-decoration: underline; text-underline-offset: 3px; }
.sb-qv-price { font-size: 24px; line-height: 30px; font-weight: 700; color: var(--sb-green-d); font-variant-numeric: tabular-nums; }
.sb-qv-inst { margin-top: 2px !important; font-size: 14px; }
.sb-qv-inst b { font-variant-numeric: tabular-nums; }
.sb-qv-avail { margin-top: 10px; display: grid; gap: 2px; }
.sb-qv .sb-av-line { font-size: 13px; line-height: 18px; color: var(--sb-ink2); }
.sb-qv .sb-av-main { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sb-ink); }
.sb-qv .sb-av--in { color: var(--sb-green-d); }
.sb-qv .sb-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sb-qv .sb-av--order .sb-dot { background: var(--sb-ink2); }
.sb-qv .sb-av-eta { padding-left: 16px; }
.sb-qv-actions { display: grid; gap: 8px; }
.sb-qv .sb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 14px; border: 0; border-radius: var(--sb-r-s); font: inherit; font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .16s var(--sb-ease), filter .15s ease, box-shadow .15s ease; }
.sb-qv .sb-btn:active { transform: scale(.97); }
.sb-qv .sb-btn:focus-visible, .sb-qv-name:focus-visible { outline: 2px solid var(--sb-green-d); outline-offset: 2px; }
.sb-qv .sb-btn.is-busy { opacity: .6; pointer-events: none; }
.sb-qv .sb-btn--main { background: linear-gradient(90deg, var(--sb-green), var(--sb-green2)); color: #fff; }
.sb-qv .sb-btn--main:hover { color: #fff; filter: brightness(.95); }
.sb-qv .sb-btn--alt { flex-direction: column; gap: 0; padding: 4px 14px; background: var(--sb-tint); color: var(--sb-green-d); }
.sb-qv .sb-btn--alt:hover { filter: brightness(.97); }
.sb-qv .sb-btn-l1 { font-weight: 700; }
.sb-qv .sb-btn-l2 { font-size: 12px; line-height: 16px; font-weight: 400; font-variant-numeric: tabular-nums; }
.sb-qv .sb-btn--quiet { background: #fff; color: var(--sb-ink); box-shadow: inset 0 0 0 1px var(--sb-line); font-size: 14px; }
.sb-qv .sb-btn--quiet:hover { color: var(--sb-ink); box-shadow: inset 0 0 0 1px #999; background: #f1f6f9; }
.sb-qv .sb-ico-wa { flex: 0 0 18px; width: 18px; height: 18px; color: #25d366; }
.sb-qv .sb-btn--wa-main .sb-ico-wa { color: #fff; }
.sb-qv .sb-btn-done { display: none; }
.sb-qv .is-done .sb-btn-text { display: none; }
.sb-qv .is-done .sb-btn-done { display: inline; }
/* окно с блоком покупки: фото слева, покупка справа, по высоте экрана */
@media (min-width: 768px) {
	.product-photo-modal-content.sb-qv-on { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 24px; align-items: center; width: 92%; max-width: 1080px; max-height: 90vh; overflow: auto; }
	.product-photo-modal-content.sb-qv-on .product-photo-modal-slider { min-width: 0; }
	.product-photo-modal-content.sb-qv-on .product-photo-modal-slider img { max-height: 76vh; width: auto !important; max-width: 100%; margin: 0 auto; object-fit: contain; }
	.product-photo-modal-content.sb-qv-on .sb-qv { grid-template-columns: 1fr; margin: 0; padding: 0 16px 0 0; border-top: 0; }
}
@media (max-width: 767.98px) { .sb-qv { grid-template-columns: 1fr; gap: 12px; } }
.sb-qv-more { justify-self: center; display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--sb-green-d); text-decoration: underline; text-decoration-color: rgba(42, 122, 54, .35); text-underline-offset: 3px; }
.sb-qv-more:hover { color: var(--sb-green-d); text-decoration-color: currentColor; }
body.sb-qv-open .svet-wa, body.sb-qv-open .calendar_designer { display: none !important; }
@media (min-width: 768px) {
	.product-photo-modal-content.sb-qv-on { margin: 0 auto; top: 50%; transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) { .sb-qv .sb-btn { transition: none; } .sb-qv .sb-btn:active { transform: none; } }
/* по оценщику-дизайнеру (17.11): рассрочка одной строкой, «в корзине» — сплошной тёмно-зелёный с галочкой, без рамки после щелчка мышью */
.sb-qv :focus:not(:focus-visible) { outline: none; }
.sb-qv .sb-btn--alt { flex-direction: row; padding: 0 14px; font-weight: 700; box-shadow: inset 0 0 0 1px transparent; }
.sb-qv .sb-btn--alt:hover { filter: none; box-shadow: inset 0 0 0 1px var(--sb-green); }
.sb-qv .sb-btn--main.is-done { background: var(--sb-green-d); filter: none; }
.sb-qv .is-done .sb-btn-done { display: inline-flex; align-items: center; gap: 6px; }
.sb-qv .sb-btn-done svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* 101 (17.11): быстрый просмотр — по дизайн-системе карточки: цена тёмная, рассрочка — белая кнопка с зелёной рамкой, «без переплат» — жёлтая пилюля нет (одна строка), окно со скруглением 12 px */
.product-photo-modal-content.sb-qv-on { border-radius: 12px; }
.sb-qv-price { color: #212529; font-weight: 600; }
.sb-qv .sb-btn--main { background: #51A564; border-radius: 5px; }
.sb-qv .sb-btn--main:hover { filter: brightness(.94); }
.sb-qv .sb-btn--main.is-done { background: #2a7a36; }
.sb-qv .sb-btn--alt { background: #fff; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #51A564 !important; color: #212529; }
.sb-qv .sb-btn--alt:hover { background: #f6fbf7; box-shadow: inset 0 0 0 1.5px #51A564 !important; }
.sb-qv .sb-btn--quiet { border-radius: 5px; box-shadow: inset 0 0 0 1px #C4C4C4; }
.sb-qv .sb-av--in { color: #212529; }
.sb-qv .sb-av-line { color: #6C757D; }
