.cart-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    height: 4rem;
    overflow: hidden;
}
.img-cart {
    width: 4rem;
    line-height: 4rem;
}
.count-buttons {
    position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    background-color: #fff;
    width: fit-content;
}
.count-buttons__wrapper {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.count-buttons__button {
    box-shadow: none;
    color: #afafaf;
    font-size: 18px;
    font-weight: 400;
    overflow: hidden;
    padding: 0;
    line-height: 1.5;
    outline: none;
    height: 100%;
    width: 40px;
    border: none;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cart-product {
    padding: 0 8px;
}
.cart-row {
    border-top: 1px solid #dfe2e1;
    padding-top: .75rem!important;
    padding-bottom: .75rem!important;
}
.cart-product{
    margin-left: .75rem !important;
}
.shop-product-img {
    background: #f6f6f6;
    position: relative;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    width: 100%;
    height: auto;
}
.shop-product-img img {
    width:100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px 9px 0 0;
}
.product-price {
    font-size:24px;
    text-align: center;
}
.product-description {
    margin-top:15px;
}
.shop-product-item {
    border: 1px solid #cccccc;
    border-radius: 9px;
    box-sizing: border-box;
    margin-bottom:20px;
    overflow: hidden;
}

.cost-without-discount, #products-cost-without-discount {
    text-decoration:line-through;
}

/**
 * Pagination
 */
.pagination li {margin:4px}
.pagination li a{background-color:rgba(6, 106, 201, .1);border:transparent;border-radius:.325rem !important;color:#066ac9;font-size:16px;padding:4px 9px;text-decoration: none;}
.pagination li.active a{
    background-color: #066ac9;
    border-color: #066ac9;
    color: #fff;
    cursor: default;
    z-index: 3;
}
.pagination li.disabled {
    display:none;
}
.pagination li:hover a {
    background-color: #066ac9;
    border-color: #066ac9;color: #fff;
}

/**
 * Color filter
 */

.color-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.color-filter-options {
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 5px 15px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
@media (min-width: 992px) {
    .color-filter-options {
        display:block;
    }
}

.color-filter-options::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.color-filter-options {
    -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */
    scroll-behavior: smooth; /* Smooth scroll modern browsers */
}

.color-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.color-filter-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.color-filter-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.color-filter-option {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-filter-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.color-filter-option.active {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.3);
    transform: scale(1.1);
}

.color-filter-clear {
    text-align: center;
}

.clear-filter-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #dc3545;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.clear-filter-link:hover {
    background: #dc3545;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .color-filter-options {
        gap: 8px;
        padding-bottom: 20px;
    }
    
    .color-filter-option {
        width: 38px;
        height: 38px;
    }
    
    .color-filter-btn {
        padding: 10px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .color-filter-option {
        width: 36px;
        height: 36px;
    }
    
    .color-filter-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/**
 * Swipers
 */
.links-swiper {
    width: 100%;
    height: 60px;
    margin: 0 0 20px 0;
}

.links-swiper .swiper-slide {
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.links-swiper .swiper-slide a {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: 32px;
    padding: 0 10px;
    border-radius: 20px;
    text-decoration: none;


    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    color: #172431;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s  ease-in-out;
    border: 1px solid #eeeff1;
}

.links-swiper .swiper-slide a:hover {

    border-color:gray;
}

/**
 * Move up/down
 */

.btn.btn-move-up, .btn.btn-move-down {
    padding: 4px 5px;
    font-size: 12px;
    line-height: 1;
    border-radius: 3px;
    margin: 0 2px;
    transition: all 0.2s ease;
}

.btn.btn-move-up:hover, .btn.btn-move-down:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/**
 * Product catlog
 */
.products-catalog {
    display:flex;
    flex-direction: column;
}
@media (min-width: 992px) {
    .products-catalog {
        flex-direction: row;
    }
}

.products-catalog__left {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
#product-catalog-filter {
    border: 1px solid #03a9f4;
    background: #03A9F4;
    padding: 2px 13px;
    font-size: 14px;
    color: #ffffff;
    display:none;
}
#product-catalog-filter:hover {
    border-color: gray;
}
.products-catalog__left #close-filter {
    display:none;
}
.products-catalog__left_opened #close-filter {
    display: flex;
    flex-direction: row-reverse;
    background: #fff;
    position: fixed;
    width: 100%;
}
.form-group-submit {
    padding: 15px 0 0 0;
}
@media (max-width: 991px) {
    .products-catalog__left_opened {
        position: fixed;
        top: 0;
        background: #fff;
        z-index: 2000;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0;
        display:flex
    }
    #product-catalog-filter {
        display: block;
    }
    .filter-form-group {
        overflow-y: auto;
        overflow-x: hidden;
        padding: 20px;
        padding-top: 40px;
    }
    .form-group-submit {
        padding: 0 15px 0 0;
    }
}

@media (min-width: 992px) {
    .products-catalog__left {
        display: -webkit-box;
        display: flex;
        width: 240px;
        height: auto;
        height: initial;
        padding-bottom: 24px;
    }
}

.products-catalog__right {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 992px) {
    .products-catalog__right {
        width: calc(100% - 240px);
    }
}

.products-catalog .filter__item .propety-header {
    font-weight: bold;
    font-size:16px;
    font-family: Roboto;
}
.products-catalog .filter__item:not(:last-of-type) {
    margin-bottom: 12px;
}
.products-catalog .filter__item .propety-header {
    padding-right: 16px;
    font-size: 16px;
    line-height: 1.25;
    text-align: left;
    -webkit-transition: opacity .1s 
    ease-in-out;
    transition: opacity .1s 
    ease-in-out;
    padding:5px 0
}
.products-catalog .filter__item label {
    display:block;
}

.product-list .product-title {
    text-align: center;
    padding: 0 5px;
    font-size:20px;
}
.product-list .to-album {
    margin:10px 0;
    text-align: center;
}
.product-list .to-album button {
    border-radius: 20px;
    background-color: #FFC42E;
    border:none;        
    padding: 9px 25px;
    font-family: 'Roboto Condensed', sans-serif;
}

.swiper-wrapper .shop-product {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.product-category-view .category-description {margin: 30px 0}

.products-header {
    display:flex;
    margin-bottom:15px;
}
.products-header select {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    color: #606972;
    min-width:180px;
}
.products-header .selected-filters {
    width:100%;
}

.btn-arrow {
    background: #f8f9fa;
    border-color: #ddd !important;
}
.icon-arrow-up, .icon-arrow-down {
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display:inline-block;
}
.icon-arrow-up {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4L4 8M8 4L12 8M8 4V12' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.icon-arrow-down {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12L4 8M8 12L12 8M8 12V4' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/**
 * Swiper
 */
.icon-arrow {
    background-image: url("svg/icon-arrow.svg");
    width: 16px;
    height:16px;
}

/**
 * Store
 */
.shop-avatar-wrap__mini {
    display:flex;margin-top:8px;margin-bottom:8px;gap:10px;
}
.shop-avatar-wrap__mini img {
    width: 50px;
    height: 50px;
    margin-top: 0;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%
}

/**
 * FLEX template
 */
.gap-3 {
    gap: .75rem;
}
.gap-12 {
    gap: 3rem;
}
.flex-col {
    flex-direction: column;
}
.flex {
    display: flex;
}
@media (min-width: 768px) {
    .md-gap-6 {
        gap: 1.5rem;
    }
}
@media (min-width: 768px) {
    .md-flex-row {
        flex-direction: row;
    }
}
.flex-box {
    border:1px solid #e5e7eb;
    border-radius: .75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.flex-box:hover {
    cursor:pointer;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.flex-box h3 {
    color:#71717a;
    font-weight: 500;
    font-size:16px;
}
.p-4 {
    padding: 1rem;
}
.pt-0 {
    padding: 0 !important;
}
.gap-y-1\.5 {
    row-gap: .375rem;
}

@media (min-width: 768px) {
    .md-w-1\/3 {
        width: 33.333333%;
    }
}

.w-full {
    width: 100%;
}

/* favorite */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background-color: rgba(255, 71, 87, 0.1);
}

.favorite-btn .heart-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #666;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.fav-active .heart-icon {
    fill: #ff4757;
    stroke: #ff4757;
    transform: scale(1.1);
}

.heart-icon path {
    transition: all 0.3s ease;
}

.favorite-btn .heart-svg {
    width: 22px;
    height: 22px;
    overflow: visible;
}

.favorite-btn .heart-path {
    fill: none;
    stroke: #495057;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

/* Анимация пульсации при добавлении */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.fav-active .heart-path {
    animation: pulse 0.4s ease;
}

.favorite-btn .heart {
    width: 24px;
    height: 24px;
    background-color: #ccc;
    position: relative;
    transform: rotate(-45deg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn .heart::before,
.favorite-btn .heart::after {
    content: '';
    width: 24px;
    height: 24px;
    background-color: #ccc;
    border-radius: 50%;
    position: absolute;
    transition: all 0.3s ease;
}

.favorite-btn .heart::before {
    top: -12px;left:0;
}

.favorite-btn .heart::after {
    top:0;left:12px;
}

.favorite-btn .heart.active {
    background-color: #ff4757;
    transform: rotate(-45deg) scale(1.1);
}

.favorite-btn .heart.active::before,
.favorite-btn .heart.active::after {
    background-color: #ff4757;
}

.favorite-btn .heart:hover {
    transform: rotate(-45deg) scale(1.1);
}

.fav-active .heart-path {
    stroke: red;
    transform: scale(1.1);
}