/* BLANCO catalog UI 2.0.5 */
.tax-product_cat .woocommerce-products-header__description,
.tax-product_cat .term-description {
    display: none !important;
}

.bh-nav-list {
    gap: 18px !important;
}

.bh-nav-list > li > a {
    white-space: nowrap;
}

.bh-load-more {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 48px 0 8px;
}

.bh-load-more__button {
    position: relative;
    min-width: 220px;
    min-height: 52px;
    padding: 13px 54px 13px 24px;
    border: 1px solid #171714;
    border-radius: 2px;
    background: #171714;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.bh-load-more__button::after {
    content: "↓";
    position: absolute;
    top: 50%;
    right: 22px;
    font-size: 19px;
    font-weight: 400;
    transform: translateY(-52%);
}

.bh-load-more__button:hover,
.bh-load-more__button:focus-visible {
    border-color: #87745b;
    background: #87745b;
    outline: none;
}

.bh-load-more__button.is-loading {
    cursor: wait;
    opacity: .72;
}

.bh-load-more__button.is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bh-load-more-spin .7s linear infinite;
}

.bh-load-more__status {
    min-height: 20px;
    color: #6d6b65;
    font-size: 13px;
}

.woocommerce-pagination.bh-load-more__native {
    display: none !important;
}

@keyframes bh-load-more-spin {
    to { transform: translateY(-52%) rotate(360deg); }
}

@media (min-width:1181px) and (max-width:1380px) {
    .bh-nav-list {
        gap: 12px !important;
    }

    .bh-nav-list > li > a {
        font-size: 12px !important;
    }
}

@media (max-width:700px) {
    .bh-load-more {
        margin-top: 34px;
    }

    .bh-load-more__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion:reduce) {
    .bh-load-more__button,
    .bh-load-more__button::after {
        transition: none;
        animation: none;
    }
}

/* Карточка товара: вкладки и отзывы */
body.single-product div.product .woocommerce-tabs {
    margin-top: 64px;
}

body.single-product div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 30px;
    margin: 0 0 32px;
    padding: 0;
    overflow-x: auto;
    border-bottom: 1px solid #dedbd4;
    list-style: none;
}

body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0 0 15px;
    color: #777269;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li a:hover,
body.single-product div.product .woocommerce-tabs ul.tabs li a:focus-visible {
    color: #171714;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active::after {
    display: block !important;
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #87745b;
}

body.single-product div.product .woocommerce-tabs .panel {
    margin: 0;
}

body.single-product #tab-reviews #reviews {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(460px, 1.18fr);
    gap: 24px;
    align-items: start;
}

body.single-product #reviews #comments,
body.single-product #reviews #review_form_wrapper {
    min-width: 0;
    padding: 28px;
    border: 1px solid #dedbd4;
    border-radius: 14px;
    background: #fff;
}

body.single-product #reviews #comments h2,
body.single-product #reviews #review_form #respond .comment-reply-title {
    display: block;
    margin: 0 0 20px;
    color: #171714;
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.2;
}

body.single-product #reviews .woocommerce-noreviews {
    margin: 0;
    color: #777269;
    font-size: 15px;
    line-height: 1.6;
}

body.single-product #reviews #comments ol.commentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.single-product #reviews #comments ol.commentlist li {
    margin: 0 0 16px;
}

body.single-product #reviews #comments ol.commentlist li .comment_container {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid #ece9e3;
    border-radius: 10px;
    background: #faf9f7;
}

body.single-product #reviews #comments ol.commentlist li img.avatar {
    position: static;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
}

body.single-product #reviews #comments ol.commentlist li .comment-text {
    margin: 0;
    padding: 0;
    border: 0;
}

body.single-product #reviews #review_form_wrapper #respond {
    margin: 0;
    padding: 0;
}

body.single-product #reviews #commentform {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 17px 18px;
    margin: 0;
}

body.single-product #reviews #commentform > p {
    margin: 0;
}

body.single-product #reviews #commentform .comment-notes,
body.single-product #reviews #commentform .comment-form-rating,
body.single-product #reviews #commentform .comment-form-comment,
body.single-product #reviews #commentform .comment-form-cookies-consent,
body.single-product #reviews #commentform .form-submit {
    grid-column: 1 / -1;
}

body.single-product #reviews #commentform label {
    display: block;
    margin: 0 0 7px;
    color: #393732;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

body.single-product #reviews #commentform input[type="text"],
body.single-product #reviews #commentform input[type="email"],
body.single-product #reviews #commentform textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #cbc7be;
    border-radius: 6px;
    background: #fff;
    color: #171714;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.single-product #reviews #commentform input[type="text"],
body.single-product #reviews #commentform input[type="email"] {
    min-height: 46px;
    padding: 10px 12px;
}

body.single-product #reviews #commentform textarea {
    min-height: 150px;
    padding: 12px;
    resize: vertical;
}

body.single-product #reviews #commentform input[type="text"]:focus,
body.single-product #reviews #commentform input[type="email"]:focus,
body.single-product #reviews #commentform textarea:focus {
    border-color: #87745b;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(135, 116, 91, .14);
}

body.single-product #reviews #commentform .comment-form-rating {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.single-product #reviews #commentform .comment-form-rating label {
    margin: 0;
}

body.single-product #reviews #commentform .stars {
    margin: 0;
    line-height: 1;
}

body.single-product #reviews #commentform .stars a,
body.single-product #reviews .star-rating {
    color: #87745b;
}

body.single-product #reviews #commentform .comment-form-cookies-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}

body.single-product #reviews #commentform .comment-form-cookies-consent input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #87745b;
}

body.single-product #reviews #commentform .comment-form-cookies-consent label {
    margin: 0;
    color: #777269;
    font-weight: 400;
}

body.single-product #reviews #commentform .submit {
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #171714;
    border-radius: 2px;
    background: #171714;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

body.single-product #reviews #commentform .submit:hover,
body.single-product #reviews #commentform .submit:focus-visible {
    border-color: #87745b;
    background: #87745b;
    outline: none;
}

@media (max-width: 900px) {
    body.single-product #tab-reviews #reviews {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body.single-product div.product .woocommerce-tabs {
        margin-top: 44px;
    }

    body.single-product div.product .woocommerce-tabs ul.tabs {
        gap: 22px;
        margin-bottom: 24px;
    }

    body.single-product #reviews #comments,
    body.single-product #reviews #review_form_wrapper {
        padding: 20px;
    }

    body.single-product #reviews #commentform {
        grid-template-columns: 1fr;
    }

    body.single-product #reviews #commentform > p {
        grid-column: 1;
    }

    body.single-product #reviews #commentform .comment-form-rating {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
