body.woocommerce-shop,
body.tax-product_cat,
body.tax-pa_gender,
body.tax-pa_product_type,
body.tax-pa_size,
body.tax-pa_season {
    background-color: #f0f0f0;
}

.shop-archive {
    padding: 40px 20px 60px;
    width: 100%;
}

/* .shop-archive-inner {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px 40px 50px;
} */

.shop-title {
    text-align: center;
    font-size: 32px;
    letter-spacing: 2px;
    margin: 0 0 30px;
    color: #215f36;
    text-transform: uppercase;
}

.shop-filters-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.shop-filters {
    display: flex;
    flex: 1;
    gap: 12px;
    flex-wrap: wrap;
}

/* === Filter Styles === */
.shop-filter-select,
.dropdown-trigger {
    min-width: 180px;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    background-color: #ffffff;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    position: relative;
}

/* Custom Select (Price) */
.shop-filter-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #555555 50%),
        linear-gradient(135deg, #555555 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* Custom Dropdown Trigger */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    
}

.custom-dropdown .dropdown-trigger:hover,.custom-dropdown .dropdown-trigger:focus{
    background: #215f36;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555555;
    margin-left: 8px;
}

.custom-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #ffffff;
    border: 1px solid #d5d5d5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 8px 0;
    margin-top: 4px;
    border-radius: 2px;
}

.custom-dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    border: 1px solid #d5d5d5;
    border-radius: 2px;
    cursor: pointer;
}

/* === Grid View === */
.shop-view-toggle {
    display: flex;
    gap: 8px;
}

.shop-view-button {
    width: 36px;
    height: 36px;
    border-radius: 2px;
    border: 1px solid #d5d5d5;
    background-color: #ffffff;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
}

.shop-view-button.is-active {
    background-color: #215f36;
    border-color: #215f36;
    color: #ffffff;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 24px;
}





/* List View Styles */
.shop-grid.is-list {
    grid-template-columns: 1fr;
    gap: 20px;
}

.shop-grid.is-list .shop-card {
    flex-direction: row;
    align-items: center;
    padding-bottom: 0;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
}

.shop-grid.is-list .shop-card-image {
    width: 300px;
    flex-shrink: 0;
    padding: 10px;
    background-color: transparent;
}

.shop-grid.is-list .shop-card-body {
    padding: 20px;
    align-items: flex-start;
    flex: 1;
}

.shop-grid.is-list .shop-card-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.shop-grid.is-list .shop-card-add-to-cart {
    margin-top: 15px;
   margin: initial;
}

.shop-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
    position: relative;
    transition: box-shadow 0.2s;
}

.shop-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.shop-card-image {
    position: relative;
    text-align: center;
}

.shop-card-image img {
    max-width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Wishlist Icon */
.shop-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 5;
}

.shop-card-image:hover .shop-card-wishlist {
    opacity: 1;
    transform: translateY(0);
}

.shop-card-wishlist:hover {
    color: #e63946;
    background-color: #fff0f0;
}

.shop-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #7effaa;
    color: #000;
    font-size: 12px;
    padding: 5px 14px;
    font-weight: bold;
    border-radius: 15px;

}

.shop-card-body {
    padding: 14px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-card-title {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
    margin: 0;
}

.shop-card-title a {
    color: inherit;
    text-decoration: none;
}

.shop-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555555;
}

.shop-card-price {
    font-weight: 600;
}

.shop-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.shop-card-rating::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: #d5d5d5;
    margin-right: 8px;
}

.shop-card-star {
    color: #f2b01e;
}

.shop-card-add-to-cart {
    margin-top: 6px;
    align-self: flex-start;
    padding: 8px 18px;
    border-radius: 2px;
    border: 1px solid #215f36;
    background-color: #215f36;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.shop-card-add-to-cart:hover {
    background-color: #1a4a2b;
}

.shop-load-more-wrapper {
    margin-top: 40px;
    text-align: center;
}

#shop-load-more {
    padding: 14px 36px;
    font-size: 18px;
    border-radius: 2px;
    border: 1px solid #215f36;
    background-color: #215f36;
    color: #ffffff;
    text-transform: uppercase;
    cursor: pointer;
}

#shop-load-more.is-loading {
    opacity: 0.6;
}

.shop-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.shop-no-results {
    text-align: center;
    padding: 40px 0;
    color: #555555;
}


.shop-card-price {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
}

.price-old {
    font-size: 14px;
    color: #888888;
    text-decoration: line-through;
    font-weight: 400;
}

.price-discount {
    font-size: 13px;
    color: #e63946;
    font-weight: 600;
}


.shop-card-title{
    font-family: Roboto Slab;
    font-weight: 500;
    font-size: 16px;
}







@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .shop-archive-inner {
        padding: 0px 0px 0px;
    }

    .shop-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filters {
        width: 100%;
    }
    
    .shop-filter-select,
    .dropdown-trigger {
        width: 100%;
    }

    .shop-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px 16px;
    }

   .ast-breadcrumbs-wrapper{
        padding: 15px;
   }

   .shop-card-image img {
    max-width: 100%;
    height: auto;
   
}


.shop-grid.is-list .shop-card {
    flex-direction: column;

}

.shop-grid.is-list .shop-card-meta {
    width: 100%;
}

.shop-grid.is-list .shop-card-add-to-cart {
    margin: auto;
}

.shop-filter-select,
.dropdown-trigger {
    min-width: 140px;
}


}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-title {
        font-size: 40px !important;
        margin-top: 0px;
        margin-bottom: 40px;
    }


.shop-card-add-to-cart {
    padding: 8px 18px;
    font-size: 10px;
 
}



}
