/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* Footer brand widget */

.kubbuka-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
}

.kubbuka-footer-brand__logo {
    display: inline-block;
    margin-bottom: 8px;
    line-height: 0;
}

.kubbuka-footer-brand__logo img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
}

.kubbuka-footer-brand__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.kubbuka-footer-brand__contact a {
    color: inherit;
    text-decoration: none;
}

.kubbuka-footer-brand__contact a:hover {
    color: #7c4100;
}

.kubbuka-footer-brand__icon {
    flex: 0 0 16px;
    width: 16px;
    margin-top: 3px;
    color: #777;
}

@media (max-width: 767px) {
    .kubbuka-footer-brand__logo img {
        width: 190px;
    }
}


/* Footer menu widget */

.kubbuka-footer-menu {
    width: 100%;
}

.kubbuka-footer-menu .footer-toggle {
    display: none !important;
}

.kubbuka-footer-menu .footer-menu-title {
    display: block;
    position: relative;
    margin: 0 0 20px;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    cursor: default;
}

.kubbuka-footer-menu .footer-menu-arrow {
    display: none;
}

.kubbuka-footer-menu .footer-menu-list {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kubbuka-footer-menu .footer-menu-list li {
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.kubbuka-footer-menu .footer-menu-list a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
}

.kubbuka-footer-menu .footer-menu-list a:hover {
    color: #7c4100;
}

.kubbuka-footer-menu .footer-menu-list a.is-active {
    color: #222;
    font-weight: 600;
}

/* Mobile accordion */

@media (max-width: 767px) {
    .kubbuka-footer-menu .footer-menu-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding: 8px 0;
        cursor: pointer;
    }

    .kubbuka-footer-menu .footer-menu-arrow {
        display: block;
        width: 9px;
        height: 9px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform .2s ease;
        margin-right: 5px;
    }

    .kubbuka-footer-menu .footer-menu-list {
        display: none !important;
        padding-top: 12px !important;
    }

    .kubbuka-footer-menu .footer-toggle:checked ~ .footer-menu-list {
        display: block !important;
    }

    .kubbuka-footer-menu .footer-toggle:checked ~ .footer-menu-title .footer-menu-arrow {
        transform: rotate(225deg);
    }
}



/* ========================================
   KUBBUKA — ABOUT PAGE
======================================== */

.kh-about {
    --kh-blue: #0054AC;
    --kh-orange: #FAAF7A;
    --kh-text: #777777;
    --kh-heading: #242424;
    width: 100%;
    color: var(--kh-text);
    font-size: 14px;
    line-height: 1.7;
}

.kh-about *,
.kh-about *::before,
.kh-about *::after {
    box-sizing: border-box;
}

.kh-about h2,
.kh-about h3,
.kh-about p {
    margin-top: 0;
}

.kh-about h2,
.kh-about h3 {
    color: var(--kh-heading);
}

/* Общие заголовки */

.kh-about .kh-about-title {
    margin: 0 0 30px;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
    text-align: center;
}

/* Вступление */

.kh-about-hero {
    min-height: 340px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #777 url('/wp-content/uploads/2026/11/0db2e1261825bb11e7a587fb305o-dlya-doma-i-interera-stoly-stol-reka-iz-slebov-karagacha-stol.jpg') center 20% / cover no-repeat;
}

.kh-about-hero__content {
    width: 45%;
    padding: 35px 40px 35px 20px;
    text-align: right;
}

.kh-about-hero__content h2 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 500;
}

.kh-about-hero__content p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.85;
}

/* Факты о компании */

.kh-about-facts {
    padding: 25px 0;
    border-bottom: 2px solid #ccc;
}

.kh-about .kh-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    text-align: center;
}

.kh-about .kh-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 260px;
}

.kh-about .kh-fact__icon {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kh-about .kh-fact__icon img {
    display: block;
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.kh-about .kh-fact__arrow {
    position: relative;
    width: 85%;
    height: 20px;
    flex-shrink: 0;
}

.kh-about .kh-fact__arrow::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.kh-about .kh-fact__arrow::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.kh-about .kh-fact__arrow--orange {
    background: var(--kh-orange);
}

.kh-about .kh-fact__arrow--orange::after {
    border-left: 10px solid var(--kh-orange);
}

.kh-about .kh-fact__arrow--orange::before {
    border-top-color: var(--kh-orange);
    border-bottom-color: var(--kh-orange);
}

.kh-about .kh-fact__arrow--blue {
    background: var(--kh-blue);
}

.kh-about .kh-fact__arrow--blue::after {
    border-left: 10px solid var(--kh-blue);
}

.kh-about .kh-fact__arrow--blue::before {
    border-top-color: var(--kh-blue);
    border-bottom-color: var(--kh-blue);
}

.kh-about .kh-fact__number {
    display: block;
    color: var(--kh-orange);
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.kh-about .kh-fact__number--blue {
    color: var(--kh-blue);
}

.kh-about .kh-fact p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Преимущества */

.kh-about-benefits {
    padding: 35px 10px;
}

.kh-about .kh-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.kh-about .kh-benefit {
    min-height: 330px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    background: #fff;
    border: 1px solid #ebebeb;
}

.kh-about .kh-benefit--orange {
    border-top: 15px solid var(--kh-orange);
    border-left: 15px solid var(--kh-orange);
}

.kh-about .kh-benefit--blue {
    border-top: 15px solid var(--kh-blue);
    border-right: 15px solid var(--kh-blue);
}

.kh-about .kh-benefit h3 {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

.kh-about .kh-benefit p {
    flex: 1;
    margin-bottom: 20px;
}

.kh-about .kh-benefit img {
    width: auto;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

/* Кнопки */

.kh-about-button {
    margin-top: 30px;
    text-align: center;
}

.kh-about-button a,
.kh-about-footer__button {
    display: inline-block;
    padding: 10px 30px;
    background: var(--kh-blue);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 16px;
    transition: background .3s ease;
}

.kh-about-button a:hover,
.kh-about-footer__button:hover {
    background: #DC8D55;
    color: #fff !important;
}

/* Этапы сотрудничества */

.kh-about-order {
    padding: 35px 20px;
}

.kh-about .kh-order-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.kh-about .kh-order-step {
    text-align: center;
}

.kh-about .kh-order-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px dotted var(--kh-blue);
    border-radius: 50%;
}

.kh-about .kh-order-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.kh-about .kh-order-number {
    position: absolute;
    left: -15px;
    bottom: -8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dotted #fff;
    border-radius: 50%;
    background: var(--kh-orange);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.kh-about .kh-order-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Заключительный блок */

.kh-about-footer {
    padding: 30px 20px;
    text-align: center;
}

.kh-about-footer .kh-about-title {
    margin-bottom: 20px;
}

.kh-about-footer p {
    margin: 0 0 15px;
}

.kh-about-footer__button {
    margin-top: 10px;
}

/* Планшеты */

@media (max-width: 1024px) {
    .kh-about .kh-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kh-about .kh-fact {
        min-height: 230px;
    }

    .kh-about .kh-order-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 35px;
    }

    .kh-about-hero__content {
        width: 60%;
    }
}

/* Мобильные устройства */

@media (max-width: 767px) {
    .kh-about .kh-about-title {
        font-size: 25px;
    }

    .kh-about-hero {
        min-height: 300px;
        justify-content: center;
        background-position: center;
    }

    .kh-about-hero__content {
        width: 100%;
        padding: 25px;
        text-align: center;
        background: rgba(0,0,0,.45);
    }

    .kh-about-hero__content h2 {
        font-size: 22px;
    }

    .kh-about .kh-benefits-grid {
        grid-template-columns: 1fr;
    }

    .kh-about .kh-benefit {
        min-height: auto;
        padding: 25px;
    }

    .kh-about .kh-order-grid {
        grid-template-columns: 1fr;
    }

    .kh-about .kh-fact {
        min-height: 210px;
    }
}


/* Выравнивание карточек карусели столешниц */
.slab-products-carousel .product-element-top {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slab-products-carousel .product-element-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Одинаковая высота информационной части */
.slab-products-carousel .product-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slab-products-carousel .product-element-bottom {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Названия товаров */
.slab-products-carousel .wd-entities-title {
    min-height: 42px;
}

/* Цены внизу карточек */
.slab-products-carousel .price {
    margin-top: auto;
}
