/* ==========================================================================
   Refactored shop styles

   Структура:
   1. Базовые элементы форм
   2. Layout
   3. Utility / служебные классы
   4. Фильтры
   5. Ценовые фильтры и input'ы
   6. Сетка товаров
   7. Карточка товара
   8. Dropdown-описание карточки
   9. Информация и кнопки карточки
   10. Количество / корзина
   11. Пагинация
   12. Footer
   13. Keyframes
   14. Media queries
   15. Дополнительные слайдер-состояния
========================================================================== */


/* ==========================================================================
   1. Базовые элементы форм
========================================================================== */

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--color-black);
    line-height: 0;
}

input[type="checkbox"]:checked {
    background-color: var(--color-black);
}


/* =========================================
   КАСТОМНЫЕ СЛАЙДЕРЫ ФИЛЬТРОВ (ВЕС И ЦЕНА)
   ========================================= */

/* Общие стили для контейнеров слайдеров */
.akimow-slider-container {
    margin-bottom: 25px;

}

.akimow-slider-container h4 {
    margin: 0 0 15px 0;
    font-size: var(--fontsize-usual);
    font-weight: 600;
    color: var(--color-black);
}

/* Блок с текущими значениями (От / До) */
.akimow-slider-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--offset-usual);
    font-size: var(--fontsize-usual);
    color: var(--color-black);
    font-weight: 400;
}

/* Контейнер для самого jQuery UI слайдера */
.akimow-slider-track {
    margin: 25px 10px;
}

/* Блок с кнопками */
.akimow-slider-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.akimow-slider-actions .button {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.2s ease;
}

/* Кнопка "Применить" */
.akimow-btn-apply {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

.akimow-btn-apply:hover {
    background-color: var(--color-red-active);
    border-color: var(--color-red);
    color: var(--color-white);
}

/* Кнопка "Сбросить" */
.akimow-btn-reset {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

.akimow-btn-reset:hover {
    background-color: var(--color-red-active);
    border-color: var(--color-red);
    color: var(--color-white);
}

/* =========================================
   ПЕРЕОПРЕДЕЛЕНИЕ СТИЛЕЙ JQUERY UI SLIDER
   ========================================= */

/* Общий трек слайдера */
.akimow-slider-container .ui-slider {
    height: 6px;
    background: var(--color-white);
    border: none;
    border-radius: 3px;
}

/* Активная зона между ползунками (для ВЕСА - синий) */
.akimow-weight-slider .ui-slider-range {
    background: var(--color-black);
}

/* Активная зона между ползунками (для ЦЕНЫ - зеленый/ваш цвет) */
.akimow-price-slider .ui-slider-range {
    background: var(--color-black);
}

/* Ползунки ( Handles ) */
.akimow-slider-container .ui-slider-handle {
    width: 20px;
    height: 20px;
    top: -8px;
    /* Центрируем относительно трека высотой 6px */
    background: var(--color-white);
    border-radius: 50%;
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ползунок для ВЕСА */
.akimow-weight-slider .ui-slider-handle {
    border: 2px solid var(--color-red-active);
}

/* Ползунок для ЦЕНЫ */
.akimow-price-slider .ui-slider-handle {
    border: 2px solid var(--color-red-active);
}

/* Эффекты при наведении и фокусе на ползунок */
.akimow-slider-container .ui-slider-handle:hover {
    transform: scale(1.15);
}

.akimow-slider-container .ui-slider-handle:focus {
    outline: none;
    box-shadow: 0 0 4px 4px var(--color-black-opacity);
    background: var(--color-red) !important;
    border: none !important;
}

.akimow-price-slider .ui-slider-handle:focus {
    box-shadow: 0 0 4px 4px var(--color-black-opacity);
    background: var(--color-red) !important;
    border: none !important;
}


/* ==========================================================================
   2. Layout
========================================================================== */

.storefront-breadcrumb {
    width: 100%;
}

.content-area {
    margin-bottom: 0;
}

.shop-content-grid {
    display: grid;
    grid-template-columns: 318px auto;
    margin: 0px var(--offset-usual);
}

.wrapperrrr {
    position: fixed;
    height: 80%;
}

.filters {
    width: 318px;
    height: 98%;
    overflow: scroll;
    background: var(--color-box-base);
    padding: var(--offset-usual);
    border-radius: var(--radius-maximum);
    margin-bottom: var(--offset-usual);
    transition: all .15s;
}

.js-filter-fixed {
    position: fixed;
    z-index: 2;
    width: 240px;
    height: 1149px;
    top: 130px;
    overflow: scroll;
}

.sentinel {
    display: block;
    height: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    contain: layout style;
    transform: translateZ(0);
    will-change: transform;
}





/* ==========================================================================
   3. Utility / служебные классы
========================================================================== */

.yith-wcan-reset-filters {
    display: none;
}

.shop-overflow-link {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.shop-hover-link {
    display: block;
    position: absolute;
    left: 13%;
    width: 75%;
    height: 100%;
    z-index: 2;
}

.js-hide {
    display: none;
}

.js-active {
    display: block;
    scale: 1;
    transition: all 0.3s;
}

.js-grid-hide {
    display: none;
}

.js-grid-active {
    display: grid;
}

.shop-is-full {
    display: flex;
    justify-content: center;
    gap: var(--offset-usual);
    text-align: center;
}

.lmp_products_loading {
    position: fixed !important;
    top: 50% !important;
    left: 140px;
    z-index: 2;
    color: black;
}





/* ==========================================================================
   4. Фильтры
========================================================================== */

.shop-filter-btn-container {
    display: flex;
    flex-direction: column;
    gap: var(--minimum);
    margin-bottom: var(--offset-usual);
    transition: all 0.5s;
}

.filter-bigbtn {
    padding: 10px 5px;
    text-transform: uppercase;
    font-size: var(--fontsize-button);
    font-weight: var(--fw-max);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    border-radius: var(--radius-minimum);
    background-color: transparent;
    box-shadow: var(--shadow-round);
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-bigbtn:hover {
    background: var(--color-red-active);
    border-color: var(--color-red);
    color: var(--color-white);
    transition: all 0.15s;
}

.yith-wcan-filters {
    background-color: var(--color-box-middle);
}

.filter-item label {
    display: flex;
    align-items: center;
}

.filter-item label input {
    margin-right: var(--margin-med);
}

.filter-content ul {
    display: flex;
    flex-direction: column;
    gap: var(--offset-usual);
    margin-top: 10px;
}

.filter-title {
    margin-bottom: var(--offset-usual);
    font-family: 'Akimow sans';
    font-weight: 800;
    font-size: var(--fontsize-usual);
    text-transform: uppercase;
}

.yith-wcan-filters .yith-wcan-filter h4.collapsable::after {
    width: 14px;
    height: 14px;
    color: var(--color-black);
}

.term-label {
    font-size: var(--fontsize-usual);
    line-height: 18px;
    text-transform: lowercase;
}

.yith-wcan-filters .yith-wcan-filter .price-slider {
    padding: 20px 25px 20px 10px;
}

.yith-wcan-filters .yith-wcan-filter .price-slider .irs-from,
.yith-wcan-filters .yith-wcan-filter .price-slider .irs-to {
    border-radius: 6px;
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown,
.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper {
    border-radius: var(--radius-minimum);
    box-shadow: var(--shadow-card);
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper {
    z-index: 4;
}

.irs-from,
.irs-to,
.irs-min,
.irs-max {
    font-family: 'Akimow sans';
    font-weight: 300;
}

.js-filterbtn-active {
    background-color: var(--color-yellow);
    border-radius: 10px 10px 0 0;
    margin-top: -4px;
    box-shadow: var(--shadow-round);
}

.js-filterbtn-active p {
    color: black;
}

.js-filterbtn-active span,
.js-filterbtn-active p {
    scale: 1.1;
}

.term-active {
    border: none;
}

.shop-reset-filter {
    margin: var(--offset-usual);
}

.reset-filters {
    width: 100%;
    border: 1px solid var(--color-black);
    border-radius: 10px !important;
    padding: 10px 5px !important;
    background-color: var(--color-black);
    color: var(--color-box-top);
    font-weight: 600;
    font-size: var(--fontsize-button);
    transition: all .15s
}

.reset-filters:hover {
    background-color: transparent;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    transition: all .15s;
}

.reset-filters-bottom {
    margin-left: 280px;
}

.footer-filters-text {
    margin: 0;
    color: var(--color-box-top);
}

.js-overflow-filters-pad-btn {
    display: none;
}

.sort-price-asc,
.sort-price-desc {
    font-size: var(--fontsize-usual);
    border-radius: var(--radius-minimum);
}
.sort-price-asc.active,
.sort-price-desc.active,
.sort-weight-asc.active,
.sort-weight-desc.active {
    background-color: var(--color-red-active);
    border-color: var(--color-red);
    color: var(--color-white);
}
.sort-price-asc:hover,
.sort-price-desc:hover,
.sort-weight-asc:hover,
.sort-weight-desc:hover {
    background: var(--color-red-active);
    color: var(--color-white);
    border-color: var(--color-red);
    transition: all .15s;
}

.filtering-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--offset-smallest);
}





/* ==========================================================================
   5. Ценовые фильтры и input'ы
========================================================================== */

.price-input {
    height: 40px;
    width: 100%;
    border: 1px solid var(--color-gray) !important;
    border-radius: var(--radius-minimum);
    font-size: var(--fontsize-usual);
    letter-spacing: 0.2px;
    line-height: 24px;
}

.price-input-group {
    width: 100%;
    border-radius: var(--radius-minimum);
}

.price-filter-inputs {
    display: flex;
    justify-content: space-between;
    gap: var(--offset-smallest);
    margin-bottom: 15px;
    padding: 0 10px;
}

.price-filter-title {
    padding-left: 10px;
    font-size: var(--fontsize-usual);
    color: var(--color-black);
}

.price-ranges-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--offset-smallest);
    padding: 8px 0;
}

.price-range-preset {
    border-radius: var(--radius-minimum);
    font-size: var(--fontsize-small);
    font-weight: 400;
    background-color: var(--color-light-gray);
    padding: 6px 8px;
    color: var(--color-dark-gray) !important;
}

.price-range-preset.active {
    background-color: var(--color-red);
}

.filter-price-range .filter-content .filter-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--offset-small);
}

.filter-price-range .filter-content .filter-items li a {
    border: 1px solid var(--color-dark-gray);
    border-radius: var(--radius-minimum);
    padding: 5px 10px;
    font-size: var(--fontsize-small);
}

.filter-price-range .filter-item.active a {
    background-color: var(--color-red);
    border: none !important;
}

.filter-price-range .filter-item.active a * {
    color: var(--color-white) !important;
}

.filter-price-range .filter-item a * {
    color: var(--color-dark-gray);
}





/* ==========================================================================
   6. Сетка товаров
========================================================================== */

.shop-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--offset-usual);
    margin: 0 auto;
    padding: 0 var(--offset-usual) var(--offset-usual) var(--offset-usual);
}





/* ==========================================================================
   7. Карточка товара
========================================================================== */

.shop-product-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 12px;
    width: 280px;
    height: 400px;
    padding-bottom: 15px;

    background-color: var(--color-box-base);
    border-radius: var(--radius-maximum);
    box-shadow: none;
    contain: layout style paint;
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.shop-product-container.visible {
    opacity: 1;
    transform: scale(1);
}

.shop-product-container.shop-product-loading {
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.15s ease;
}

.shop-product-image-container-overflow {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-radius: var(--radius-maximum);

    box-shadow: var(--shadow-big);
    transition: all 0.2s;
}

.shop-product-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 10px;
}

.shop-product-sku {
    position: absolute;
    margin: 15px 0 0 15px;
    z-index: 4;
    font-size: var(--fontsize-usual);
}

.shop-product-image-control {
    display: flex;
    flex-direction: row;
}

.shop-product-img {
    height: auto;
    width: auto;
    max-height: 260px;
    margin: auto;
    background-size: contain;
}

.js-shop-product-image-btn {
    position: absolute;
    top: 55%;
    opacity: 0;
    transition: all 0.2s;
}

#btn__img_less {
    left: 10px;
}

#btn__img_more {
    right: 10px;
}

#btn__img_less,
#btn__img_more {
    z-index: 1;
    scale: 1;
    cursor: pointer;
    transition:
        opacity 0.15s,
        scale 0.15s;
}

#btn__img_less:hover,
#btn__img_more:hover {
    opacity: 1;
    scale: 1.1;
    transition:
        opacity 0.15s,
        scale 0.15s;
}

/* Hover-состояния карточки */

.shop-product-container:hover {
    background-color: var(--color-box-middle);
    box-shadow: var(--shadow-round);
    transition-delay: 0.3s;
}

.shop-product-container:not(:hover) {
    background-color: var(--color-box-base);
    box-shadow: none;
    transition-delay: 0s;
}

.shop-product-container:hover .js-shop-product-image-btn {
    opacity: 0.5;
    transition-delay: 0.3s;
}

.shop-product-container:not(:hover) .js-shop-product-image-btn {
    opacity: 0;
    transition-delay: 0s;
}

.shop-product-container:hover .shop-product-thumbnails-container .js-active {
    transition-delay: 0.3s;
}

.shop-product-container:hover .shop-product-image-container-overflow {
    border-radius: 20px 20px 0 0;
    box-shadow: var(--shadow-round);
    transition-delay: 0.3s;
}

.shop-product-container:hover .shop-product-image-container-overflow .shop-product-image-container {}



.unauthorized {
  width: 100%;
}

.shop-product-info {
    font-size: var(--fontsize-usual);
}

/* ==========================================================================
   8. Dropdown-описание карточки
========================================================================== */

.shop-product-info-dropdown {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    width: 20px;
    height: 20px;
    margin-left: 88%;
    margin-top: 10px;
    background-color: var(--color-accent);
    border-radius: 100px;
    transition: all 0.3s;
}

.shop-product-info-dropdown-btn {
    position: absolute;
    z-index: 3;
    width: 20px;
    height: 20px;
    margin-left: 87%;
    margin-top: 15px;
    float: right;
    background-color: var(--color-white);
    border-radius: 100px;
    transition: all 0.3s;
    cursor: pointer;
}

.shop-product-info-dropdown-btn:hover {
    scale: 1.2;
    transition: all .3s;
}

.shop-product-info-dropdown-btn:hover svg path {
    fill: var(--color-red-active);
}

.shop-product-info-dropdown-btn:hover+.shop-product-info-dropdown {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    transition: all 0.3s;

    /* Внимание: keyframes LoopInfoBorderAnimate не объявлен в исходнике */
    animation: LoopInfoBorderAnimate 0.4s ease-in-out forwards;
    animation-delay: 0.5s;
}

.shop-product-info-dropdown-info {
    margin-top: 25px;
    padding: 30px 20px 20px 20px;
    text-align: left;
}

.shop-product-info-dropdown-info p {
    margin: 0 0 10px;
    line-height: var(--medmax);
    opacity: 0;
}

.shop-product-info-dropdown-btn:hover+.shop-product-info-dropdown .shop-product-info-dropdown-info .info {
    animation: LoopInfoAnimate 0.3s ease-in-out forwards;
    animation-delay: 0.5s;
}





/* ==========================================================================
   9. Информация и кнопки карточки
========================================================================== */

.shop-product-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0 15px;
    margin-top: -8px;
}

.shop-product-info-container a {
    padding: 2px 10px;
    border: 1px solid var(--color-black);
    border-radius: var(--radius-minimum);
    background-color: var(--color-box-base);
    transition: all 0.15s;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.shop-product-info-container a:hover {
    background-color: var(--color-red-active);
    transition: all 0.15s;
    border-color: var(--color-red);
}

.shop-product-info-container a p {
    color: #5C6370;
    transition: all 0.15s;
}

.shop-product-info-container a:hover p {
    color: var(--color-white);
    transition: all 0.15s;
}

.shop-product-title {
    margin: 0;
    padding: 0 var(--offset-usual, 0);
    text-align: center;
    font-weight: 600;
    font-size: var(--fontsize-big);
    min-height: 36px;
    margin-top: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-product-info {
    margin: 0;
    font-weight: 400;
    color: var(--color-black);
}

.shop-price {
    font-size: var(--fontsize-big);
    color: var(--color-dark-gray);
}

.shop-product-info-container .shop-price {
    margin-left: 10px;
    scale: 1;
    transition: all 0.2s;
}

.shop-img-var-cont .shop-img-var {
    width: 10px;
    height: 10px;
    border: 1px solid black;
    border-radius: var(--radius-minimum);
}

.shop-menu-btn {
    position: absolute;
    top: 60px;
    right: 30px;
}





/* ==========================================================================
   10. Количество / корзина
========================================================================== */

.shop-cart-controls {
    width: 100%;
}

.shop-quantity-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
}

.shop-counter {
    display: flex;
    gap: 5px;
}

.shop-qty-btn,
.shop-qty-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    padding: 0;
    text-align: center;
    font-size: var(--fontsize-button);
    color: var(--color-black);
    background-color: var(--color-background);
    border-radius: var(--radius-minimum);
    aspect-ratio: 1 / 1;
    transition: all 0.15s;
    user-select: none;
    cursor: pointer;
    font-weight: 200;
}

.shop-qty-input {
    width: 100px;
    font-size: var(--fontsize-usual);
    cursor: pointer;
}

.shop-qty-btn:active,
.shop-add-to-cart-btn:active {
    transform: scale(0.95);
    transition: transform 0.05s ease;
}

.shop-qty-btn:hover,
.shop-qty-delete:hover {
    background-color: var(--color-red-active);
    color: var(--color-white);
}

.shop-add-to-cart-btn {
    height: 34px;
    border: 1px solid var(--color-black);
    border-radius: var(--radius-minimum);
    background: var(--color-box-base);
    transition: all 0.15s;
}

.shop-add-to-cart-btn:hover {
    background: var(--color-red-active);
    border: 1px solid var(--color-red);
    transition: all 0.15s;
}

.shop-add-to-cart-btn:hover p {
    color: var(--color-white);
}





/* ==========================================================================
   11. Пагинация
========================================================================== */

.shop_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0 auto;
    text-align: center;
}

.page-numbers {
    margin-right: 5px;
    padding: 5px;
    font-size: var(--fontsize-usual);
    color: var(--color-gray);
}

.current {
    color: var(--color-black);
    font-weight: 600;
}








.header-login-container,
.header-name,
.header-left-top {
    display: none;
}

.header-left,
.header-right,
.header-middle {
    display: block;
}

.header-btn-container-after {
    display: flex;
    gap: var(--offset-smallest);
    margin-left: 10px;
}

@media (min-width: 1024px) {
    .header {
        height: auto;
        padding: var(--offset-usual);
    }
}

.storefront-breadcrumb {
    margin-top: 80px;
}


.filter-opened {
    margin-top: -34px;
    height: 106.3% !important;
    transition: all .15s;
}




/* ==========================================================================
   15. Дополнительные слайдер-состояния
   Оставлены в конце, как в исходнике, чтобы сохранить приоритет каскада.
========================================================================== */

.yith-wcan-filters .yith-wcan-filter .price-slider .irs-handle,
.yith-wcan-filters .yith-wcan-filter .price-slider .irs-bar {
    scale: 1;
    transition: all 0.1s;
}

.yith-wcan-filters .yith-wcan-filter .price-slider .irs-handle:hover {
    scale: 1.3;
    transition: all 0.1s;
}

.yith-wcan-filters .yith-wcan-filter .price-slider .irs-handle .irs-from {
    transition: all 0.1s;
}

/* ==========================================================================
   8. Пустые карточки-маркеры (skeleton) конца каталога
========================================================================== */

.shop-product-container.shop-product-skeleton {
    opacity: 1;
    transform: scale(1);
    pointer-events: none;
    gap: 12px;
}

.shop-product-container.shop-product-skeleton .shop-product-skeleton-image {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-maximum);
    background: linear-gradient(90deg,
            var(--color-box-middle, #e3e3e3) 25%,
            var(--color-box-base, #f6f6f6) 50%,
            var(--color-box-middle, #e3e3e3) 75%);
    background-size: 200% 100%;
    animation: shop-skeleton-shimmer 1.2s linear infinite;
}

.shop-product-container.shop-product-skeleton .shop-product-skeleton-line {
    height: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg,
            var(--color-box-middle, #e3e3e3) 25%,
            var(--color-box-base, #f6f6f6) 50%,
            var(--color-box-middle, #e3e3e3) 75%);
    background-size: 200% 100%;
    animation: shop-skeleton-shimmer 1.2s linear infinite;
}

.shop-product-container.shop-product-skeleton .shop-product-skeleton-line-title {
    width: 70%;
}

.shop-product-container.shop-product-skeleton .shop-product-skeleton-line-short {
    width: 45%;
}

@keyframes shop-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}










/* ========== Единая карточка фильтра ========== */
.akimow-filter-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--offset-smallest);
    padding: 0px 0px 0px;
    font-size: var(--fontsize-usual);
    box-sizing: border-box;
    margin-bottom: var(--offset-usual);
}

/* Шапка: заголовок + мини-сброс */
.akimow-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.akimow-filter-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9b9b95;
}

.akimow-filter-reset {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e3df;
    border-radius: 50%;
    background: #f6f6f4;
    color: #a0a09a;
    font-size: 22px;

    cursor: pointer;
    padding: 0px 0px 1px 0px;
    transition: all .2s ease;
}

.akimow-filter-reset:hover {
    background: #1c1c1a;
    border-color: #1c1c1a;
    color: #fff;
    transform: rotate(90deg);
}

/* если фильтр уже применён — крестик становится активным */
.akimow-filter-card.is-filtered .akimow-filter-reset {
    background: #1c1c1a;
    border-color: #1c1c1a;
    color: #fff;
}

/* Поля от / до */
.akimow-filter-range {
    display: flex;
    align-items: center;
    gap: 5px;
}

.akimow-range-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-background);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 8px 10px;
    transition: border-color .2s, background .2s;
}

.akimow-range-field:focus-within {
    border-color: var(--color-red);
}

.akimow-range-label {
    font-size: 12px;
    color: #9b9b95;
}

.akimow-range-input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 600;
    color: #1c1c1a;
    outline: none;
}

.akimow-range-sep {
    color: #c9c9c4;
}

/* Слайдер (стилизуем сами, базовая тема jquery-ui не нужна) */
.akimow-slider-track {
    position: relative;
    height: 6px;
    margin: 8px 6px 4px;
    background: #ecece8;
    border-radius: 2px;
}

.akimow-slider-track .ui-slider-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: #1c1c1a;
    border-radius: 2px;
}

.akimow-slider-track .ui-slider-handle {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    transform: translateY(-50%);
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #1c1c1a;
    border-radius: 50%;
    cursor: grab;
    outline: none;
    transition: box-shadow .2s;
}

.akimow-slider-track .ui-slider-handle:active {
    cursor: grabbing;
    box-shadow: 0 0 0 5px rgba(28, 28, 26, .12);
}

/* Сортировка — сегмент-контрол */
.akimow-filter-sort {
    display: flex;
    gap: var(--offset-smallest);

    background: #f6f6f4;
    border-radius: 10px;
}

.akimow-filter-sort button {
    flex: 1;
    border: 0;
    background: transparent;
    border-radius: 8px;
    padding: 8px 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-black);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--color-black);
    transition: all .1s;
}



.akimow-filter-sort button.is-active {
    background: #fff;
    color: #1c1c1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

/* Применить */
.akimow-filter-card .akimow-btn-apply {
    width: 100%;
    border: 1px solid;
    border-radius: 10px;
    padding: 11px 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .1s, transform .1s;
}


.akimow-filter-card .akimow-btn-apply:active {
    transform: scale(.99);
}

.ui-slider-horizontal .ui-slider-handle {
    top: 3px !important;
}




/* ==========================================================================
   13. Keyframes
========================================================================== */

@keyframes LoopInfoAnimate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*
    TODO:
    В исходнике используется LoopInfoBorderAnimate,
    но keyframes для него не объявлены.
*/





/* ==========================================================================
   14. Media queries
========================================================================== */

/* --------------------------------------------------------------------------
   min-width
-------------------------------------------------------------------------- */

@media screen and (min-width: 1024px) {


    .col-full {
        max-width: 100%;
        margin: 0px 20px;
    }
}

@media screen and (min-width: 1600px) {
    .shop-product-container {
        width: 280px;
        height: 390px;
    }
}
@media screen and (max-width: 1920px) {
    .shop-product-container {
        width: 292px;
        height: 390px;
    }
    .shop-products-grid {
        padding-right: 0px;
    }
}
@media screen and (min-width: 2560px) {
    .shop-content-grid {
        grid-template-columns: 395px auto;
    }

    .filters {
        width: 395px;
    }

    .footer-desktop {
        margin: 0;
        padding: 0 20px 0 455px;
        grid-template-columns: 1fr 1fr 1fr 1fr 0.2fr;
    }
}

/* --------------------------------------------------------------------------
   max-width
-------------------------------------------------------------------------- */



@media screen and (max-width: 1366px) {
    .main {
        width: auto;
    }
    .shop-product-title, .shop-price {
        font-size: var(--fontsize-usual);
        font-weight: 500;
    }
    .shop-product-info {
        font-size: var(--fontsize-small);
        font-weight: 500;
    }

    .shop-content-grid {
        grid-template-columns: 262px auto;
    }
    .filters {
        width: 262px;
        height: 95%;
        transition: all .15s;
        margin-bottom: var(--margin-1280-usual)
    }

    .shop-product-info-dropdown-btn {
        margin-left: 83%;
    }

    .shop-product-info-dropdown-info p {
        font-size: var(--fontsize-usual);
    }

    .shop-products-grid {
        gap: var(--gap-1280);
        padding: 0px var(--padding-1280);
    }

    .shop-filter-container {
        padding: 0px;
    }

    .filter-opened {
        height: 100% !important;
        transition: all .15s;
    }
    .shop-content-grid {
        margin: 0px var(--offset-usual);
    }
    .shop-product-container {
        width: 197px;
        height: 295px;
        padding-bottom: 14px;
    }

    .shop-product-info-container {
        padding: 0 var(--fontsize-usual);
    }

    .shop-product-info-container .shop-price {
        margin-left: 7px;
    }


    .shop-product-img {
        max-height: 210px;
    }

    .shop-product-thumbnails-container,
    .shop-product-image-container-overflow {
        max-width: 218px;
        max-height: 218px;
    }

    /*Filters */
    .filter-title,
    .akimow-slider-container,
    .yith-wcan-filter {
        margin-bottom: var(--margin-1280-usual);
    }

    /* .filter-bigbtn, .reset-filters {
        font-size: var(--fontsize-biggest);
    } */
    .akimow-slider-container h4,
    .filter-title,
    .sort-price-asc,
    .sort-price-desc,
    .term-label {
        font-size: var(--fontsize-usual);
    }

    .yith-wcan-filters .yith-wcan-filter h4.collapsable::after {
        width: var(--fontsize-usual);
        height: var(--fontsize-usual);
        ;
    }

    .filter-content ul {
        gap: var(--gap-1280);
    }

    .akimow-slider-values {
        font-size: var(--fontsize-small);
    }

    .akimow-slider-track {
        margin: var(--margin-1280-usual) 0;
    }
}

@media screen and (max-width: 1365px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--offset-usual);
        padding: var(--offset-usual);
    }

    .wrapperrrr {
        width: 250px;
    }

    .shop-product-container {
        width: 200px;
        height: 285px;
    }

    .shop-product-img {
        width: 100%;
        max-height: 180px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .shop-product-thumbnails-container,
    .shop-product-image-container-overflow {
        max-width: auto;
        max-height: auto;
    }

    .shop-product-image-container-overflow,
    .shop-product-image-container {
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 10px 10px 0px 10px !important;
    }

    .shop-product-container,
    .shop-product-thumbnails-container {
        width: auto;
        height: auto;
    }

    .shop-overflow-link {
        display: block;
    }

    .shop-product-info-dropdown,
    .shop-product-info-dropdown-btn,
    .js-shop-product-image-btn {
        display: none;
    }

    /* .shop-product-sku {
        font-size: 14px;
    }

    .shop-product-info {
        font-size: 14px;
    }

    .shop-product-title {
        font-size: 10px;
        line-height: 14px;
    } */

    .shop-product-container:hover,
    .shop-product-container:not(:hover) {
        min-width: 100px;
        background-color: var(--color-box-base);
        box-shadow: none;
        transition: none;
    }

    .yith-wcan-filters .yith-wcan-filter {
        margin-bottom: 10px;
        padding: var(--offset-usual) 0 0;
        border-top: 1px solid var(--color-light-gray);
    }

    .dropdown-label {
        font-size: 12px;
    }

    .single-btn {
        height: 42px;
    }

    .btn-wb a h3,
    .btn-ozon a h3 {
        font-size: 22px;
    }

    .irs-from,
    .irs-to {
        background-color: transparent !important;
        color: black !important;
        font-size: 18px !important;
    }

    .irs-from::before {
        display: none;
    }

    .price-slider {
        padding: 10px 40px;
    }

    .filter-title {
        margin-bottom: 10px;
    }

    .akimow-slider-track {
        margin: var(--offset-usual);
    }
    .shop-products-overflow {
        height: auto;
        /* margin-top: var(--offset-big);  */
        margin-top: 0;
    }

    .shop-content-grid {
        grid-template-columns: 1fr !important;
        margin: 0 10px 10px !important;
    }

    .shop-product-container:hover .shop-product-image-container-overflow {
        height: auto;
        border-radius: 0;
        box-shadow: none;
        transition-delay: 0;
    }

    .shop-mobile-filter {
        position: fixed;
        top: 40px;
        left: 0;
        z-index: 8;
        width: 100%;
        height: 100%;
        overflow: scroll;
        background: var(--color-box-top);
        box-shadow: var(--shadow-card);
    }

    .price-ranges-buttons {
        padding: 8px;
    }

    input[type="checkbox"]:checked+a {
        background-color: var(--color-red);
        color: var(--color-box-top) !important;
        transition: all 0.15s;
    }

    .item-count {
        display: none;
    }

    .yith-wcan-filters {
        background: var(--color-box-top);
    }

    .filter-item label input {
        display: none;
    }

    .term-label {
        border-radius: var(--radius-minimum);
        background-color: var(--color-light-gray);
        padding: var(--offset-smallest) var(--offset-usual);
        color: var(--color-dark-gray) !important;
    }

    .term-active {
        background-color: var(--color-black);
        color: var(--color-white) !important;
    }
    .akimow-filter-card {
        margin-bottom: var(--offset-biggest);
        padding: 0px var(--offset-usual);
    }
    .akimow-filter-sort, .akimow-filter-card {
        gap: var(--fontsize-usual);
    }

    .filter-content {
        overflow: hidden;
        max-width: 560px;
    }

    .filter-content ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--offset-usual);
        padding: var(--offset-usual) !important;
        white-space: nowrap;
    }

    .irs-bar {
        height: 3px !important;
        margin-top: 1px;
    }

    .yith-wcan-filters .yith-wcan-filter .price-slider .irs-handle {
        background-color: var(--color-white);
        border: 1px solid var(--color-black);
        box-shadow: var(--shadow-round);
    }

    .shop-products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--offset-usual);
        padding: var(--offset-usual);
    }

    .js-overflow-filters-pad-btn {
        display: block;
        position: fixed;
        bottom: 80px;
        width: 40px;
        height: 50px;
        background-color: white;
        border-radius: 0 10px 10px 0;
        box-shadow: var(--shadow-round);
    }

    .js-overflow-filters-pad-btn svg {
        margin: 12px 6px;
    }

    .shop-product-info-container {
        padding: 0;
    }

    .shop-product-info {
        font-size: 12px;
    }

    .shop_pagination {
        margin-bottom: 70px;
    }
}

@media (min-width: 300px) and (max-width: 920px) {
    .storefront-breadcrumb {
        margin-top: 45px;
    }

}


@media screen and (max-width: 1365px) {
    .shop-content-grid {
        grid-template-columns: 1fr !important;
        margin: 0 10px 10px !important;
    }
    .shop-product-container {
        width: 100%;
        height: 100%
    }
    .shop-products-grid, .shop-content-grid {gap: 20px;}
    .shop-products-grid {
        padding: 0px;
    }
    .shop-products-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    .shop-filter-container {
        display: none;
        padding: 20px 60px;
    }
}
@media screen and (max-width: 1024px) {
        .shop-products-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 880px) {
        .shop-products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 600px) and (max-width: 1365px) {
    .shop-product-info-container {
        padding: 0px 20px 10px;
    }
    .shop-product-image-container-overflow {
        margin: auto;
    }
    .shop-mobile-filter {
        padding: 80px 40px;
    }
    .filter-content {
        max-width: 100%;
    }

}


/* УДАЛЯЕМ ОТСЮДА */

@media screen and (max-width: 480px) {

    .shop-counter {
        display: flex;
        gap: 8px;
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }

    /* .filter-price-range .filter-item.active a *,
    .filter-price-range .filter-item a * {
        font-size: 14px;
        line-height: 18px;
    } */

    .filter-price-range .filter-content .filter-items {
        gap: var(--offset-smallest);
    }

    .shop-qty-delete {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 100;
        width: 30px;
        font-size: 2rem;
        background-color: var(--color-red-active);
        color: var(--color-box-top);
    }

    .woocommerce-Price-amount {
        font-weight: 400;
        font-size: 14px;
    }

    .shop-qty-input {
        max-width: 70px;
    }

    input[type="checkbox"]:checked {
        accent-color: #ff5722;
    }

    .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.disabled {
        opacity: 0.45;
        background-color: var(--color-light-gray);
        border-radius: var(--radius-minimum);
    }

    .shop-product-info-container {
        justify-content: space-between;
        margin: 0 10px;
        border-radius: 7px;
    }

    .shop-product-info-container a {
        padding: 5px 2px;
    }

    .shop-product-info-container .shop-price {
        margin-left: 0;
    }

    .shop-product-container:hover .shop-price {
        scale: 1;
        margin-left: 10px;
    }

    .shop-product-container:hover .shop-product-thumbnails-container .js-active {
        scale: 1;
    }

    .shop-product-container:hover .shop-product-image-container-overflow {
        height: auto;
        border-radius: 20px !important;
        box-shadow: none;
        transition-delay: 0;
    }

    .shop-product-container:hover .shop-product-info-container a {
        background: transparent !important;
        border: none;
        border-radius: 0;
    }

    .main {
        margin: 0 !important;
        background: transparent;
        box-shadow: none;
    }

    .shop-product-container:hover,
    .shop-product-container:not(:hover) {
        background: var(--color-box-top);
    }

    .site-main {
        margin-bottom: 10px;
    }

    .yith-wcan-filters .yith-wcan-filter h4 {
        padding-left: 10px;
    }

    .yith-wcan-filters .yith-wcan-filter h4.collapsable::after {
        display: none;
    }

    .shop-mobile-filter {
        padding: 40px 10px 170px;
    }

    .yith-wcan-filters .yith-wcan-filter .price-slider {
        padding: 10px 40px;
    }

    .shop_pagination {
        margin: 15px auto 70px auto;
    }

    .shop-product-container {
        width: auto;
        height: auto;
        gap: var(--offset-smallest);
        border-radius: var(--radius-minimum);
    }

    .shop-product-title {
        font-size: var(--fontsize-usual);
    }

    .shop-product-image-container-overflow {
        max-width: none;
        max-height: none;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .shop-product-sku {
        margin: 8px 0 0 8px;
        font-size: 12px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 0;
    }

    .woocommerce-breadcrumb {
        display: none;
    }

    .shop-product-info {
        font-size: 12px;
    }
}
@media screen and (max-width: 350px) {
    .shop-add-to-cart-btn {
        padding: 0px 10px;
        height: 28px;
    }
    .shop-product-info {
        font-size: 10px;
    }
    .woocommerce-Price-amount {
        font-size: 12px;
    }
}

