/* KALYAEV UI overrides. Extracted from header.php on 2026-10-17. */

.catalog-block__item{--kl-card-action-height:44px}
.catalog-block__item .catalog-block__inner{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) var(--kl-card-action-height) var(--kl-card-action-height);row-gap:12px}
.catalog-block__inner>.js-config-img{display:none}
.catalog-block__inner>.image-list{grid-row:1;grid-column:1}
.catalog-block__inner>.catalog-block__info{grid-row:2;grid-column:1;margin:0!important;height:auto!important;min-width:0}
.catalog-block__inner>.catalog-block__info-bottom{grid-row:3;grid-column:1;margin:0!important;align-self:start}
.catalog-block__inner>.kd-card-fitting{grid-row:3;grid-column:1;margin:0;min-height:var(--kl-card-action-height);height:var(--kl-card-action-height);display:flex;align-items:center;justify-content:center}
.kd-fur-card .catalog-block__inner>.catalog-block__info-bottom{grid-row:4}
.catalog-block__inner>.catalog-block__info-bottom .catalog-block__info-bottom-wrapper .btn{min-height:var(--kl-card-action-height);box-sizing:border-box}
@media(max-width:600px){.catalog-block__item{--kl-card-action-height:50px}}


html body[class] :is(a,button,input[type="button"],input[type="submit"],input[type="reset"],input[type="checkbox"],input[type="radio"],select,summary,label[for],[role="button"],[role="link"],[role="tab"],[role="option"],[role="checkbox"],[role="radio"],[role="switch"],[onclick],[data-event="jqm"],[data-toggle],.js-item-action,.counter__action,.dropdown-select__title,.dropdown-select__list-item,.toggle-panel__item,.bx_filter_parameters_box_title,.sku-props__value,.swiper-button-prev,.swiper-button-next,.swiper-pagination-bullet,.fancybox-button,.jqmClose,.pointer):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled),html body[class] :is(a,button,input[type="button"],input[type="submit"],input[type="reset"],input[type="checkbox"],input[type="radio"],select,summary,label[for],[role="button"],[role="link"],[role="tab"],[role="option"],[role="checkbox"],[role="radio"],[role="switch"],[onclick],[data-event="jqm"],[data-toggle],.js-item-action,.counter__action,.dropdown-select__title,.dropdown-select__list-item,.toggle-panel__item,.bx_filter_parameters_box_title,.sku-props__value,.swiper-button-prev,.swiper-button-next,.swiper-pagination-bullet,.fancybox-button,.jqmClose,.pointer):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled) *{cursor:pointer!important}
html body[class] :is(input:not([type]),input[type="text"],input[type="search"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],textarea,[contenteditable="true"]){cursor:text!important}


body.theme-dark.front_page .COMPANY_TEXT .company-item__heading{background:var(--kd-raised,#2d2d34)!important;color:var(--kd-text,#f5f2ed);border-color:var(--kd-border,#484850)!important}
body.theme-dark.front_page .COMPANY_TEXT .company-item__link,body.theme-dark.front_page .COMPANY_TEXT .kl-store-layout{color:var(--kd-text,#f5f2ed)!important}
body.theme-dark.front_page .COMPANY_TEXT .kl-store-layout a:not(.btn){color:#ff858d}
body.theme-dark.front_page .COMPANY_TEXT .kl-store-map p{color:var(--kd-muted,#c8c4be)}
@media(prefers-color-scheme:dark){
body.theme-default.front_page .COMPANY_TEXT .company-item__heading{background:var(--kd-raised,#2d2d34)!important;color:var(--kd-text,#f5f2ed);border-color:var(--kd-border,#484850)!important}
body.theme-default.front_page .COMPANY_TEXT .company-item__link,body.theme-default.front_page .COMPANY_TEXT .kl-store-layout{color:var(--kd-text,#f5f2ed)!important}
body.theme-default.front_page .COMPANY_TEXT .kl-store-layout a:not(.btn){color:#ff858d}
body.theme-default.front_page .COMPANY_TEXT .kl-store-map p{color:var(--kd-muted,#c8c4be)}
}

/* Readable accents on dark category panels and fitting dialogs. */
body.theme-dark .kl-category-label,body.theme-dark #kd-fitting-dialog .kd-eyebrow{color:#ff858d}
body.theme-dark .kl-category-actions a:not(:first-child){color:#ff858d;border-color:#ff858d}
@media(prefers-color-scheme:dark){
body.theme-default .kl-category-label,body.theme-default #kd-fitting-dialog .kd-eyebrow{color:#ff858d}
body.theme-default .kl-category-actions a:not(:first-child){color:#ff858d;border-color:#ff858d}
}

/* KALYAEV basket and checkout dark surfaces 2026-10-17 */
body.theme-dark #basket-root .basket-items-list-container,body.theme-dark #bx-soa-order .bx-soa-section,body.theme-dark #bx-soa-order-main .bx-soa-section,body.theme-dark .bx-soa-sidebar .bx-soa-cart-total{background:var(--kd-raised,#2d2d34)!important;color:var(--kd-text,#f5f2ed);border-color:var(--kd-border,#484850)!important}
body.theme-dark #basket-root .basket-item-info-name-link,body.theme-dark #basket-root .basket-item-price-current-text,body.theme-dark #basket-root .basket-item-property-value,body.theme-dark .bx-soa-section-title,body.theme-dark .bx-soa-cart-total-line{color:var(--kd-text,#f5f2ed)}
body.theme-dark #basket-root .basket-item-property-name,body.theme-dark #basket-root .basket-item-price-title,body.theme-dark .bx-soa-pp-company-subTitle,body.theme-dark .bx-soa-change-profile{color:var(--kd-muted,#c8c4be)}
@media(prefers-color-scheme:dark){
body.theme-default #basket-root .basket-items-list-container,body.theme-default #bx-soa-order .bx-soa-section,body.theme-default #bx-soa-order-main .bx-soa-section,body.theme-default .bx-soa-sidebar .bx-soa-cart-total{background:var(--kd-raised,#2d2d34)!important;color:var(--kd-text,#f5f2ed);border-color:var(--kd-border,#484850)!important}
body.theme-default #basket-root .basket-item-info-name-link,body.theme-default #basket-root .basket-item-price-current-text,body.theme-default #basket-root .basket-item-property-value,body.theme-default .bx-soa-section-title,body.theme-default .bx-soa-cart-total-line{color:var(--kd-text,#f5f2ed)}
body.theme-default #basket-root .basket-item-property-name,body.theme-default #basket-root .basket-item-price-title,body.theme-default .bx-soa-pp-company-subTitle,body.theme-default .bx-soa-change-profile{color:var(--kd-muted,#c8c4be)}
}

/* Match summary label backgrounds to the panel. */
body.theme-dark .bx-soa-cart-total .bx-soa-cart-t,body.theme-dark .bx-soa-cart-total .bx-soa-cart-d{background:var(--kd-raised,#2d2d34)}
@media(prefers-color-scheme:dark){body.theme-default .bx-soa-cart-total .bx-soa-cart-t,body.theme-default .bx-soa-cart-total .bx-soa-cart-d{background:var(--kd-raised,#2d2d34)}
}
