/* Breadcrumb */
.woocommerce-breadcrumb {
    padding: 15px 150px;
}

.woocommerce-breadcrumb a {
    color: initial;
}

/* Products */
.products a {
    color: initial;
}

.products ul {
    margin: 0;
    padding: 0;
}


.inner-page .header-h {
    height: 123px;
}

li {
    list-style-type: none;
}

/* products */
.products {
    margin: 0 0 30px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.products .product {
    background: #f7f7f7;
}

.products .product__header .product__link {
    display: flex;
    gap: 20px;
    position: relative;
}

.products .product__header .product__link h2 {
    margin-top: 20px;
}

.products .product__header .product__link .onsale,
.product__container .onsale {
    position: absolute;
    top: 0;
    right: 0;
    background: #ca1919;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
}

.products .product__header {
    position: relative;
    padding-bottom: 15px;
}

.products .product__header::after {
    position: absolute;
    bottom: 0;
    content: "";
    background-color: #ccc;
    width: 96%;
    height: 1px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.product__header .product__image {
    max-width: 212px;
    width: 100%;
}

.product .product__body {
    padding: 12px 30px 12px 30px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: baseline;
}

.product .product__cart-wrapper {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    min-width: 250px;
}

.product .product__body bdi {
    font-size: 20px;
}

.product .product__footer {
    padding: 12px 30px 12px 30px;
}

.product__footer svg {
    width: 20px;
    height: 20px;
}

.product__footer li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.product__cart-wrapper .added_to_cart {
    position: absolute;
}

.product-card__desc-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card__desc-content strong {
    margin-bottom: 5px;
}

.product-card__desc-content ul {
    margin-bottom: 8px;
}

.product-card__desc-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    outline: none;
    border: none;
    background: none;
    padding: initial;
    box-shadow: none;
}

.product-card__desc-toggle:focus,
.product-card__desc-toggle:hover,
.product-card__desc-toggle:active {
    outline: none;
    border: none;
    background: none;
    padding: initial;
    box-shadow: none;
}

.product-card__desc-toggle span.arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    padding: 0;
    /* вниз */
    transition: transform .25s ease;
}

.product-card__desc-toggle .arrow.up {
    transform: rotate(-135deg);
    margin-top: 6px;
}



/* Cart */
.floating-cart {
    position: fixed;
    top: 30%;
    right: 0;
    width: 300px;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.floating-cart.open {
    transform: translateX(0);
}

.floating-cart__toggle {
    position: absolute;
    left: -60px;
    top: 0;
    display: flex;
    background: #d5d5d5;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    box-shadow: -1px 3px 5px #bebebe;
}

.floating-cart__img {
    width: 40px;
}

.floating-cart a {
    color: #000;
}

.floating-cart ul {
    margin: 0;
}

.floating-cart bdi {
    font-size: 16px;
}

.floating-cart__content {
    padding: 10px;
    min-height: 60px;
}

.widget_shopping_cart_content {
    padding: 5px;
    min-height: 60px;
}

.floating-cart__content .cart_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.woocommerce-mini-cart-item {
    padding-bottom: 5px;
    border-bottom: 1px solid #e1e1e1;
}

.woocommerce-mini-cart-item .remove_from_cart_button {
    display: none;
}

.woocommerce-mini-cart-item>a:nth-child(2) {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.woocommerce-mini-cart-item>a:nth-child(2) img {
    width: 50px;
    height: 50px;
}

.woocommerce-mini-cart__buttons {
    margin: 10px 0 0 0;
    display: flex;
    justify-content: space-around;
    gap: 8px;
}

.woocommerce-mini-cart__buttons a.button {
    max-width: 150px;
    display: block;
    background: #045f40;
    width: fit-content;
    color: white;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
}

.woocommerce-mini-cart__buttons a.button:focus {
    border: none;
    background: #045f40;
}

.quantity-cart {
    position: absolute;
    top: 7px;
    right: 7px;
    background: red;
    width: 17px;
    height: 17px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.woocommerce-mini-cart-item .quantity {
    display: none;
}

/* Cart */
.woo-cart {
    /* max-width: 800px; */
    border-bottom: 1px solid #c8c8c8;
    padding-bottom: 20px;
}

.woo-cart__header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #c8c8c8;
    padding-bottom: 8px;
    color: #515151;
    font-weight: 500;
}

.product-quantity {
    display: none;
}

.woo-cart__thumbnail {
    grid-area: img;
}

.woo-cart__body {
    grid-area: body;
}

.woo-cart__price {
    grid-area: price;
}

.woo-cart__thumbnail img {
    width: 84px;
    height: 84px;
}

.woo-cart__product {
    display: grid;
    grid-template-columns: 84px 1fr 200px;
    grid-template-areas: "img body price";
    gap: 20px;
    padding: 20px 0 0 20px;
}

.woo-cart__price {
    display: flex;
    justify-content: flex-end;
}

.woo-cart__price bdi {
    font-size: 16px;
}

.woo-cart__excerpt {
    font-size: 13px;
}

.woo-cart__remove a.remove {
    width: fit-content;
    font-size: 13px;
    font-weight: 500;
}

.woo-cart__remove a.remove:hover {
    color: initial !important;
    background: initial;
}

.woo-cart__totals {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.woo-cart__totals h2 {
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

.woo-cart__totals bdi {
    font-size: 16px;
}

.custom_add_to_cart,
a.woo-cart__button,
a.cart-button-return {
    max-width: 150px;
    min-width: 80px;
    width: 100% !important;
    display: block;
    background: #045f40;
    width: fit-content;
    color: white;
    padding: 10px 14px !important;
    cursor: pointer;
    font-size: 13px !important;
    text-align: center;
}

.custom_add_to_cart,
a.woo-cart__button:hover,
a.cart-button-return:hover {
    color: white;
}

.custom_add_to_cart:focus {
    background: #045f40;
}



/* Страница оформления заказа */
.woocommerce-additional-fields {
    display: none;
}

.woocommerce-checkout-review-order-table .cart-subtotal {
    display: none;
}

.product-total bdi,
.order-total bdi {
    font-size: 18px;
}

button#place_order {
    max-width: 150px;
    display: block;
    background: #045f40;
    width: fit-content;
    color: white;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
}



/* Контейнер селекта */
.taiga-select2-selection.select2-selection--single {
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 36px 0 14px;
    background: #fff;
}

.taiga-select2-selection .select2-selection__rendered {
    font-weight: 700;
    color: #0b615e;
    line-height: 46px;
    font-size: 18px;
}

.taiga-select2-selection .select2-selection__arrow {
    right: 12px;
}

/* Дропдаун */
.taiga-select2-dropdown.select2-dropdown {
    border: 1px solid #cfd8dc;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    overflow: hidden;
    width: 100% !important;
    min-width: 0 !important;
    /* было min-width:100% — удаляем/переопределяем */
    max-width: 100%;
}

.taiga-select2-dropdown .select2-results__options {
    max-height: 260px;
    /* не слишком высокий список */
}

.taiga-select2-dropdown .select2-results__option {
    padding: 12px 16px;
    font-size: 18px;
    line-height: 24px;
    border-bottom: 1px solid #e6ecef;
}

.taiga-select2-dropdown .select2-results__option:last-child {
    border-bottom: 0;
}

.taiga-select2-dropdown .select2-results__option--selected {
    background: #eef6f5;
    font-weight: 700;
}

.taiga-select2-dropdown .select2-results__option[aria-disabled="true"] {
    color: #a0a9af;
    font-weight: 600;
}

/* Текст внутри опций (форматированный) */
.taiga-opt {
    display: block;
}

/* На всякий — чтобы меню не пряталось за шапкой/модалками */
.select2-container {
    z-index: 99;
    width: 198px !important;
}

.variations_form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 12px !important;
}

.single_variation_wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}


/* Single product */
.product__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.img-wrap img {
    width: 100%;
    object-fit: cover;
    height: 400px;
}

div.product__cart-add-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.product-single__container form.product__variations {
    width: 100%;
}

.product-single__container div.product-variable__cart-add-wrap {
    justify-content: space-between;
}

.product-single__container a.reset_variations {
    color: #000;
    margin-left: 10px;
    display: none;
}



/* панель описания */
#tab-description {
    position: relative;
}

/* внутренняя обёртка текста (её создадим скриптом) */
#tab-description .desc__inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    /* <-- 7 строк */
    overflow: hidden;
}

/* красивый градиент-переход, пока текст свернут */
#tab-description.is-clamped:not(.is-expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.75rem;
    /* оставить место под кнопку */
    height: 3.5rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 70%);
}

/* кнопка */
#tab-description .desc-toggle {
    margin-top: 12px;
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #998b8b;
    border: none;
    outline: none;
    padding: 0;
    background: no-repeat;
}

#tab-description .desc-toggle:active,
#tab-description .desc-toggle:focus {
    box-shadow: none;
}

/* когда раскрыто – отключаем кламп и фейд */
#tab-description.is-expanded .desc__inner {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

#tab-description.is-expanded::after {
    display: none;
}

/* Стрелочка внутри кнопки */
.desc-toggle .arrow-desc {
    font-size: 14px;
    color: #888;
    display: inline-block;
}

/* Поворачиваем вверх, когда раскрыто */
.desc-toggle .arrow-desc.up {
    transform: rotate(-180deg);
}

/* All */
h1.woocommerce-products-header__title.page-title,
.post-9241 h1.entry-title {
    text-align: center;
    padding: 28px 0 40px;
    font-family: 'Akrobat' !important;
}

.product .category-page--inner {
    flex-direction: column;
}

.tabs.wc-tabs,
.woocommerce-Tabs-panel h2 {
    display: none;
}

.woocommerce-Price-amount bdi {
    font-size: 24px;
    font-weight: 700;
}




/*ADAPTIVE*/
/* EXTRA LARGE */
@media only screen and (max-width : 1200px) {
    .woocommerce-breadcrumb {
        font-size: 14px;
    }
}

/* LARGE */
@media only screen and (max-width : 1080px) {}

/* TAB */
@media only screen and (max-width : 992px) {
    .woocommerce-breadcrumb {
        padding: 15px 10px;
        max-width: 720px;
        margin: 0 auto;
    }

    .products .product__header .product__link h2 {
        margin-top: 20px;
        font-size: 16px;
    }
}

/* MEDIUM */
@media only screen and (max-width : 768px) {
    .product .product__body {
        flex-direction: column;
    }

    .products .product__header .product__link {
        padding-right: 10px;
    }

    .products .product__header .product__link h2 {
        font-size: 14px;
    }

    /* Cart */
    .woo-cart__product {
        grid-template-columns: 84px 1fr 70px;
    }

    /* Single product */
    .product__container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product__container .img-wrap {
        position: relative;
    }

    .img-wrap img {
        height: 300px;
    }

    div.product__cart-add-wrap {
        margin-top: 20px;
    }

    li.product .product__cart-wrapper {
        justify-content: flex-start;
        width: 100%;
    }

    li.product .product__cart-wrapper form {
        width: 100%;
    }

    li.product .product__cart-wrapper {
        justify-content: space-between;
    }

    li.product .product__cart-wrapper .single_variation_wrap {
        justify-content: space-between;
    }
}

/* PHONE*/
@media only screen and (max-width : 576px) {
    .products .product__header .product__link {
        flex-direction: column;
    }

    .product__header .product__image {
        max-width: initial;
        width: 100%;
    }

    /* Cart */
    .woo-cart__product {
        padding: 20px 0 0 0;
        grid-template-areas:
            "img  price"
            "body price";
        grid-template-columns: 1fr 70px;
    }
}

/* MINI */
@media only screen and (max-width : 374px) {}