.orders {
    padding: 0 10px;
    max-width: 1340px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: flex-end;
}
.orders select {
    background: black;
    color: white;
    font-size: 11px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 300;
    outline: none;
    border: none;
    border-radius: 5px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("/wp-content/themes/padlostudio/img/chevron-white.svg");
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: right 10px center;
    padding: 7px 25px 7px 7px;
}
.products-section-cats{
    max-width: 1340px;
    margin: 20px auto;
    position: relative;
}
.products-section-cats:after{
    content: '';
    display: block;
    width: 90px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    background: linear-gradient(-90deg, #ffffff 20%, transparent);
}
.products-section-cats > ul{
    display: flex;
    gap: 40px;
    align-items: flex-start;
    list-style: none;
    padding: 0 200px 0 50px;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}
.products-section-cats > ul > li > a{
    display: block;
    color: var(--blue);
    font-size: 14px;
    text-decoration: none;
    text-align: center;
}
.products-section-cats > ul > li > a img{
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.products-section-cats > ul.active img,
.products-section-cats > ul.active a {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
.cat-parent{
    align-self: center;
}
.cat-parent a{
    position: relative;
}
.cat-parent a:after{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: -30px;
    border-top: 2px solid var(--blue);
    border-left: 2px solid var(--blue);
    transform: rotate(-45deg);
}
.cat-parent:has(.only-mobile){
    display: none;
}
.products-section-cats > ul.active{
    cursor: grabbing;
}


.products-section{
    padding: 0 10px 50px;
    box-sizing: border-box;
}
.products-section > div{
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.products-section .filters-list{
    width: 20%;
}
.products-section .products-list{
    width: 78%;
}
.products-section .products .product {
    width: 24%;
    margin: 0 0.5% 20px;
}
h2 .product-count {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 0 10px;
    color: #aaa;
}
.filters-list .product-count {
    display: none;
}
.active-filters {
    display: flex;
    flex-wrap: wrap;
}
.active-filters .checked-filter {
    width: fit-content;
    background: black;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    margin: 0 5px 5px 0;
    cursor: pointer;
}
.products .product > a, .posts .post > a{
    width: 100%;
    display: block;
    color: var(--blue);
    padding: 0;
    box-sizing: border-box;
}
.products .product > a .img-container{
    max-width: 100%;
    aspect-ratio: 2 / 3;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}
.products .product > a img{
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
}
.products .sale-percent {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    font-size: 20px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 5px;
    z-index: 1;
}
.products .details{
    min-height: 96px;
}
.box-brand {
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
.product .details h4{
    font-size: 16px;
    height: 42px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product .box-info{
    font-size: 12px;
    color: #999;
    margin: 0;
}
.box-price .regular-price{
    font-size: 20px;
    font-weight: 900;
}
.box-price.sale .regular-price{
    text-decoration: line-through;
}
.box-price.sale > div:first-child{
    background: red;
    padding: 0 5px;
    border-radius: 5px;
}
.box-price .sale-price{
    color: white;
    font-size: 20px;
    font-weight: 700;
}
.box-price .sale-price + span{
    color: white;
    font-size: 14px;
}
.box-price .current-price,
.products .price{
    font-size: 20px !important;
    font-weight: 900 !important;
}
.currency{
    font-size: 16px;
}
.stock{
    font-size: 12px !important;
    color: #999;
    margin: 10px 0 10px;
}
.stock span ,
.woocommerce-variation-availability p{
    display:flex;
    align-items: center;
    margin: 0 0 10px;
}
.in-stock:before{
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #4bc700;
    border-radius: 50%;
    margin: 0 5px 0 0;
}
.order-stock:before{
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #ffce1d;
    border-radius: 50%;
    margin: 0 5px 0 0;
}
.out-stock:before,
.out-of-stock:before{
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #d02c21;
    border-radius: 50%;
    margin: 0 5px 0 0;
}
.box-cart{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 10px 20px;
}
.add-to-cart{
    width: 100%;
    padding: 15px 0;
    background: transparent;
    color: black;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    border: none;
    outline: none;
    border-top: 1px solid #00000044;
    cursor: pointer;
}
.add-to-cart:hover{
    background: black;
    color: white;
}
.add-to-cart img{
    width: 12px;
    display: block;
    margin: 0 0 2px 0;
    filter: invert(1);
}
.add-to-cart:hover img{
    filter: invert(0);
}
.product-skeleton{
    background: linear-gradient(90deg, #eee, #ddd, #eee);
    background-size: 200% 100%;
    animation: shimmer 800ms infinite;
}
.product-skeleton img{
    width: 30%;
    display: block;
    margin: 0;
    opacity: 0.5;
    z-index: 1;
    position: relative;
}
.mini-add-to-cart{
    display: flex;
    gap: 10px;
}
.mini-cart-button, .mini-heart-button{
    background: #F5F5F5;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mini-cart-button img, .mini-heart-button img{
    width: 24px;
    display: block;
    margin: 0;
}
.mini-cart-button.active{
    background: #00C853;
}
.mini-cart-button.active img{
    filter: invert(1);
}


.upsells, .related, .home-products, .recent-posts-slider{
    overflow: hidden;
}
.upsells .products, .related .products, .home-products .products, .recent-posts-slider .posts{
    flex-wrap: nowrap;
    cursor: grab;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    flex-shrink: 0;
}
.upsells .products.active, .related .products.active, .home-products .products.active, .recent-posts-slider .posts.active {
    cursor: grabbing;
}
.upsells .products.active .product > a, .related .products.active .product > a, .home-products .products.active .product > a, .recent-posts-slider .posts.active .post > a {
    user-select: none;
    pointer-events: none;
}

.upsells .products.active .product > a, .related .products.active .product > a, .home-products .products.active .product > a, .recent-posts-slider .posts.active .post > a{
    user-select: none;
    pointer-events: none;
}

.upsells .product, .related .product, .home-products .product{
    width: 250px !important;
    padding: 10px;
    box-sizing: border-box;
    margin: 0 0 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    float: none !important;
    flex-shrink: 0;
}
.pagination {
    display: flex;
    justify-content: center;
    margin: 0 0 30px;
}
.pagination button {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    outline: none;
    color: #333;
    font-size: 10px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    margin: 0 2px;
    box-sizing: border-box;
    cursor: pointer;
    width: 30px;
    aspect-ratio: 1/1;
}
.pagination button:hover {
    background: #efefef;
}
.pagination button.active {
    background: black;
    color: white;
}
.pagination button img{
    width: 14px;
    display: block;
    margin: 0;
}
.pagination button.pagination-left{
    transform: rotate(180deg);
}
.pg-size {
    display: flex;
    justify-content: flex-end;
}
.pg-size button {
    background: transparent;
    border: none;
    outline: none;
    color: #aaa;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}
.pg-size button:not(:last-child){
    border-right: 2px solid #aaa;
}
.pg-size button.active {
    color: black;
}

@media (max-width: 1024px){
    .cat-parent:has(.only-mobile){
        display: block;
    }
    .filters-list .product-count {
        display: inline;
    }

    .products-section .products-list{
        width: 100%;
    }
    .products-section .products .product {
        width: 48% !important;
        margin: 0 1% 20px;
    }
    .mini-cart-button, .mini-heart-button {
        border-radius: 5px;
        width: 30px;
        height: 30px;
    }
    .mini-cart-button img, .mini-heart-button img {
        width: 20px;
    }
    .product h4{
        font-size: 14px;
        margin: 0;
    }
    .box-cart {
        margin: 0 0 20px;
    }
    .box-price .regular-price{
        font-size: 14px;
        font-weight: 700;
    }
    .currency {
        font-size: 12px;
    }
    .box-price .sale-price{
        font-size: 16px;
        font-weight: 700;
    }
}

.no-results {
    grid-column: 1 / -1;
    max-width: 900px;
    padding: 30px;
    background: #fafafa;
    border-radius: 12px;
    font-family: "Nunito Sans", sans-serif;
}
.no-results-titles{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.no-results-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    color: #888;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.no-results-title h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px;
    color: black;
}
.no-results-title p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.no-results-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 auto;
    text-align: left;
}
.no-results-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ececec;
    transition: all 0.2s ease;
}
.no-results-option:hover {
    border-color: black;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.no-results-step {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: black;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.no-results-option p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.no-results-option strong {
    color: black;
    font-weight: 700;
}
.no-results-option a {
    color: black;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.no-results-option a:hover {
    border-bottom-color: black;
}
@media (max-width: 600px) {
    .no-results {
        margin: 30px 10px;
        padding: 40px 20px;
    }
    .no-results h3 {
        font-size: 18px;
    }
    .no-results-option {
        padding: 14px 16px;
        gap: 12px;
    }
}