/**
 * Theme Name:     Sanang Shop
 * Author:         Sanang Team
 * Template:       hello-elementor
 * Text Domain:	   sanang-shop
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 * Theme URI:      https://www.sanang.shop/
 * Author URI:     https://www.sanang.shop/
 * Version:        1.0
 */

.woo-attribute-filter {
    padding: 10px 0;
}

.attribute-item {
    margin: 5px 0;
}



.page-header{
    display: none;
}

/**************************************/
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid #ddd;
    border-radius: 3px;
    background: #fff;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2271b1;
    font-size: 12px;
    font-weight: bold;
}

.term-name {
    font-weight: normal;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #2271b1;
}

.checkbox-label:hover .term-name {
    color: #2271b1;
}

.woo-single-dropdown-filter {
    margin-bottom: 20px;
}

.woo-single-dropdown-filter select {
    padding: 8px;
    min-width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.loading-spinner.active {
    display: block;
}

.products.loading {
    opacity: 0.5;
}

/* List Product Grid Products */
.list-products-container ul.products::before,
.list-products-container ul.products::after {
    display: none !important;
}
.list-products-container ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-products-container ul.products li {
    width: 100% !important;
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 0px;
    box-shadow: none;
    margin: 0px !important;
    position: relative !important;
}
.list-products-container .products .custom-product-card .product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}
.list-products-container .products .custom-product-card .product-image a {
    display: block;
    width: 100%;
    height: 100%;
}
.list-products-container .products .custom-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-products-container ul.products li:hover {
    border: 1px solid #123282;
}
.list-products-container ul.products li:hover .product-details .product-rating-sold .product-sold {
    color: #123282;
}
.list-products-container ul.products li:hover .product-actions {
    display: block;
}
.list-products-container .products .custom-product-card:hover {
    transform: none;
}
.list-products-container .products .custom-product-card .product-details {
    padding: 25px 15px 12px;
}
.list-products-container .products .custom-product-card .product-details .product-title,
.list-products-container .products .custom-product-card .product-details .product-title a {
    margin: 0px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #2D2D2D;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold {
    display: flex;
    justify-content: space-between;
    padding-bottom: 4px;
    padding-top: 7px;
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold .product-rating .stars {
    display: flex;
    gap: 5px;
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold .star {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold .star.filled {
    background-image: url('https://www.sanang.shop/wp-content/uploads/2024/11/full-star.svg');
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold .star.half {
    background-image: url('https://www.sanang.shop/wp-content/uploads/2024/11/half-star.svg');
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold .star.empty {
    background-image: url('https://www.sanang.shop/wp-content/uploads/2024/11/empty-star.svg');
}
.list-products-container .products .custom-product-card .product-details .product-rating-sold .product-sold {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-transform: uppercase;
    color: #C0C0C0;
}
.list-products-container .products .custom-product-card .product-details .product-price {
    font-size: 22px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    color: #FFB930;
}
.list-products-container .products .custom-product-card .product-details .product-price del {
    color: #C0C0C0;
}
.list-products-container .products .custom-product-card .product-details .product-price ins {
    text-decoration: none;
}
.list-products-container .products .custom-product-card .product-actions {
    display: none;
    position: absolute;
    bottom: -40px;
    left: -1px;
    z-index: 99;
    width: calc(100% + 2px);
}
.list-products-container .products .custom-product-card .product-actions:has(a + a) {
    bottom: -80px;
}
.list-products-container .products .custom-product-card .product-actions a {
    margin: 0px;
    width: 100%;
    background: #123282;
    border: 1px solid #123282;
    border-radius: 0px 0px 4px 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    color: #fff;
    padding: 12px 15px;
    display: block;
}
.list-products-container .products .custom-product-card .product-actions:has(a + a) a:first-child {
    border-radius: 0px;
}
.list-products-container .products .custom-product-card .product-actions a.added_to_cart {
    background: #FFB930;
    color: #fff;
    border-color: #FFB930 !important;
}
.list-products-container .products .custom-product-card .product-actions .add_to_cart_button.loading {
    opacity: 0.8;
}
.list-products-container .products .custom-product-card .product-actions .add_to_cart_button.loading:after {
    top: 12px;
}