/* =========================================================================
   Фабрика KS — правила из «Дополнительных стилей» старой темы (Внешний вид → Настроить → Дополнительные стили)
   для страниц, которые рисуют плагины: каталог, мини-корзина, оформление заказа, кабинет, анкеты, калькулятор.
   Перенесены как есть и в исходном порядке; подключаются последними, как было на сайте.
   Не вошли: правила под Elementor/UiCore и старую вёрстку главной/«О нас» (заменены вёрсткой темы),
   правила карточки товара (они в product.css). Полный исходник — home-layout/src/wp-custom-css.orig.css.
   Новые мелкие правки удобнее вносить в «Дополнительные стили» новой темы.
   ========================================================================= */
select.ksb-input.ksb-calc-select { font-size: 14px; }
/* наши формы (подвал, попапы) свёрстаны отдельно — общее правило их не касается; :where() не меняет силу правила для полей плагинов */
input:where(:not(.ks-form *)), textarea:where(:not(.ks-form *)) { padding: 10px 20px !important; }
input:where(:not(.ks-form *)), textarea:where(:not(.ks-form *)) { border-radius: 15px !important; }
body { background: #1A1A1A !important; }
span.woocommerce-Price-amount.amount { COLOR: BLACK; }
li#tab-title-description { background: #20B8AD !important; }
.pswp__caption { display: none !important; }
div#photoswipe-fullscreen-dialog { z-index: 9999999; }
#info h4 { color: #333; font-size: 18px; margin-bottom: 0px; font-weight: 600; }
div#qpt-cw-overlay { z-index: 99999999999 !important; }
div#qpt-cw-drawer { z-index: 999999999999 !important; }
.qpt-cw-drawer { position: fixed; top: 0; right: 0; width: 50vw !important; }
input.qpt-cw-qty-input { background: white !important; border: 0px; color: black !important; width: 80px !important; }
input.gss-range__field { padding: 6px !important; font-size: 16px !important; width: 80px !important; }
select#gss-sort { padding: 10px; color: black; font-size: 15px !important; }
input.gss-range__input.gss-range__input--min { background: #20B8AD !important; border: 0px !important; }
input.gss-range__input.gss-range__input--max { background: #20B8AD; border: 0px !important; }
label.ks-co-file__label { color: white; }
select.ks-co-input.ks-co-select, textarea.ks-co-input.ks-co-textarea--sm { color: black !important; font-size: 14px !important; border-radius: 10px !important; }
.ks-co-field-hint { font-size: 11px; margin-top: 2px; display: block; color: black; }
.ks-co-addr-wrap.js-addr-wrap label span { font-size: 13px; font-weight: 600; color: var(--ks-black); letter-spacing: .2px; }
abbr { color: red !important; font-size: 20px; line-height: 10px; }
textarea#order_comments { font-size: 14; font-size: 14px; }
.ks-lk-section input, .ks-lk-section textarea { color: black !important; font-size: 14px !important; }
label.ks-co-file__label { color: white; }
button.ks-lk-save-btn.js-profile-submit:hover { background: #333; }
label.ks-co-file__label { color: white !important; }
small { color: black; opacity: .5; font-size: 12px; }
textarea#order_comments { color: black; }
div#recieved section.woocommerce-customer-details, div#recieved section.woocommerce-order-details { display: none !important; }
.ks-lk-order__invoice-pending { font-size: 14px !important; }
.ks-lk-order__invoice a { color: white; font-size: 14px !important; display: flex; gap: 5px; }
.ks-lk-order__invoice { background: #20B8AD; color: white !important; padding: 10px; border-radius: 10px; }
@media screen and (max-width:640px) { .qpt-cw-drawer { position: fixed; top: 0; right: 0; width: 95vw !important; } }
@media screen and (max-width:640px) { input.qpt-cw-qty-input { background: white !important; border: 0px; color: black !important; width: 50px !important; padding: 10px !important; font-size: 14px !important; } }
@media screen and (max-width:640px) { .qpt-cw-item__total-wrap { display: -webkit-flex; display: flex; flex-direction: column; align-items: baseline; gap: 0px; margin-left: 10px; } }
.ksv-hero { display: none; }
.ksv-single { padding: 0px; max-width: 1140px; padding-top: 50px; padding-bottom: 160px; }
aside.ksv-sidebar { height: 100%; }
.ksv-sidebar-card { top: 120px; }
form#ks-hr-form input, form#ks-hr-form textarea, form#ks-hr-form select { font-size: 16px; }
.ksv-content { color: black; }
@media screen and (max-width:640px) { .ksv-single { padding-left: 20px; padding-right: 20px; } }
@media screen and (max-width:640px) { div#qpt-cw-drawer-body { max-height: fit-content; } }
.gss-sidebar__section.gss-sidebar__section--no-collapse { padding: 10px 15px; }
.smart-captcha { margin-bottom: 20px !important; }
.ks-lk-order__invoice { background: transparent !important; padding: 0px !important; }
a.ks-lk-invoice-btn { background: #333 !important; }
a.qpt-cw-wl-login-link:hover { color: white; }
.ks-co-gate__tabs { justify-content: center; }
.gss-catalog__breadcrumbs { display: none; }
span.gss-catalog__card-label.gss-catalog__card-label--rasprodazha, span.gss-product-label.gss-product-label--rasprodazha, span.gss-catalog__card-label.gss-catalog__card-label--rasrodazha, span.gss-product-label.gss-product-label--rasrodazha { background: #e66a53; }
span.gss-catalog__card-label.gss-catalog__card-label--khit, span.gss-product-label.gss-product-label--khit { background: #eab940; }
@media screen and (max-width:640px) { .ks-lk-order__num { font-size: 13px; max-width: 50px; } }
@media screen and (max-width:640px) { .ks-lk-order__status { max-width: 100px !important; } }
@media screen and (max-width:640px) { .ks-lk-order__row { grid-template-columns: unset !important; gap: 10px; padding: 14px 16px; display: flex; justify-content: space-between; padding-right: 35px; } }
@media screen and (max-width:640px) { .ks-lk-order__total { min-width: 150px; text-align: end; } }
@media screen and (max-width:640px) { .ks-lk-item__name { font-size: 11px; font-weight: 600; color: var(--ks-black); line-height: 1.2; } }
input#gss-search { font-size: 14px !important; color: black; }
div#qpt-cw-btn { border: 2px solid white; }
.added::after { display: none; }
#default_form select { border-radius: 10px; padding: 10px 15px; }
.ks-lk-gate { max-width: 800px !important; margin: 60px auto; text-align: center; }
span.ks-lk-order__planned-date__value { font-size: 13px; margin-top: 4px; }
.ks-co-payment__fields.payment_box.payment_method_yookassa_epl { display: none !important; }
.ksof input, .ksof textarea { font-size: 14px !important; }
.ks-cf-wrap { max-width: 1200px !important; margin: 0 auto; font-family: inherit; }
span.ks-co-payment__icon.ks-co-payment__icon--yookassa_epl { background-image: url(https://fabrika-ks.ru/wp-content/uploads/2026/04/credit-card-2.png); width: 20px; height: 20px; background-size: contain; }
span.ks-co-payment__icon.ks-co-payment__icon--bacs { background-image: url(https://fabrika-ks.ru/wp-content/uploads/2026/04/google-docs-2.png); width: 20px; height: 20px; background-size: contain; }
.grecaptcha-badge { display: none !important; }
h2.qpt-popular__title { font-size: 22px; font-weight: 700; margin: 0 0 20px; color: #222; }
.qpt-contact-btn.is-active { border-color: #20B8AD; background: #f0fdfb; color: #20B8AD; border: 5px solid #20B8AD; }
.qpt-contact-label { color: white; }
.qpt-contact-label { color: white !important; }
.postid-17821 img.attachment-large, .postid-17828 img.attachment-large { object-fit: contain !important; border-radius: 20px !important; }

/* Иконка корзины на плавающей кнопке мини-корзины — белая (раньше цвет приходил от темы) */
svg.qpt-cw-icon.qpt-cw-icon--cart { color: white; }

/* Правки 23.09.2026 */
/* после добавления в корзину ссылку «Просмотр корзины» не показываем — есть мини-корзина и кнопка «Оформить» */
.woocommerce a.added_to_cart { font-size: 14px; display: none; }
/* кнопки в форме покупки на карточке — 14px */
.woocommerce div.product form.cart .button { font-size: 14px; }
