/* WooCommerce Category Page Custom Styles - Matching Reference Design */

/* 2-Column Grid Layout */
#main {
    margin:0px auto 80px !important;
}

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Product Card Styling - Horizontal Layout */
.woocommerce .products .product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    transition: all 0.3s ease;
    margin: 0;
    width: 100%;
    float: none;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    position: relative;
	align-items:center;
}

.woocommerce .products .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Product Image - Left Section */
.woocommerce .products .product .woocommerce-loop-product__image {
    flex: 0 0 120px;
    margin: 0;
}

.woocommerce .products .product img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
}

/* Product Content - Middle Section */
.woocommerce .products .product .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0; /* Allow text to wrap */
    gap: 8px;
    padding-top: 0;
}
.product-content *{color:#000;}


/* Product Title */
.woocommerce .products .product .woocommerce-loop-product__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.2;
	
}

/* Product Description (Full Description) */
.woocommerce .products .product .product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    max-width: 200px;
}

/* Product Short Description */
.woocommerce .products .product .product-short-description {
    color: #888;
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    max-width: 200px;
    font-style: italic;
}

/* Product Price and Add to Cart - Right Section */
.woocommerce .products .product .product-actions {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    min-width: 80px;
   
    top: 80px;
    right: 20px;
}

/* Product Price */
.woocommerce .products .product .price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
	    position: absolute;
    right: 20px;
    top: 20px;
}

.woocommerce .products .product .price .amount {
    color: #333;
}

/* Add to Cart Button - Circular Orange */
.woocommerce .products .product .add_to_cart_button {
    background: #E07E63;
    color: #fff;
    border: none;
    border-radius: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.product-content *{pointer-events: none !important;}
.woocommerce .products .product .add_to_cart_button:hover {
    background: #e55a2b;
    transform: scale(1.1);
}

.woocommerce .products .product .add_to_cart_button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


.add_to_cart_button{ width: auto !important;
  height: auto!important;
    height: auto !important;
    background: #E07E63 !important;
    padding: 9px 10px;
    border-radius: 5px;
 
cursor: pointer !important;}
/* Remove text from buttons */


/* Out of Stock Styling */
.woocommerce .products .product .out-of-stock {
    color: #999;
    font-style: italic;
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.woocommerce-products-header__title.page-title{padding:0 20px !important;}
    .woocommerce .products {
        grid-template-columns: 1fr;
        gap: 20px;
    }
	    .woocommerce .products .product .price {
        font-size: 14px;
        position: relative;
        margin: 0;
        left: 0;
        right: 0;
        top: 0;
    }
    
    .woocommerce .products .product {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
		align-items:center;
        position: relative;
    }
    
    .woocommerce .products .product .woocommerce-loop-product__image {
        margin: 0;
        flex: none;
    }
    
    .woocommerce .products .product .product-content {
        margin-bottom: 0;
        text-align: center;
        gap: 6px;
    }
    
    .woocommerce .products .product .product-actions {
        position: static;
        align-items: center;
        gap: 10px;
    }
    
    .woocommerce .products .product .woocommerce-loop-product__title {
        font-size: 18px;
    }
    
    .woocommerce .products .product img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .woocommerce .products .product {
        padding: 12px;
    }
    
    .woocommerce .products .product .woocommerce-loop-product__title {
        font-size: 16px;
    }
    
    .woocommerce .products .product .price {
        font-size: 14px;
    }
    
    .woocommerce .products .product .add_to_cart_button {
        width: 40px;
        height: 40px;
    }
}

/* Popup Modal Styles */
.woo-cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-cart-popup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.woo-cart-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #eee;
}

.woo-cart-popup-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woo-cart-popup-icon {
    width: 24px;
    height: 24px;
    color: #E07E63;
    flex-shrink: 0;
}

.woo-cart-popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.woo-cart-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999 !important;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-cart-popup-close:hover {
    color: #333;
	background:transparent !important;
}

.woo-cart-popup-content {
    padding: 20px;
}

.woo-cart-popup-product {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.woo-cart-popup-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.woo-cart-popup-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.woo-cart-popup-price {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #E07E63;
}

.woo-cart-popup-description {
    margin: 8px 0 5px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.woo-cart-popup-short-description {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #888;
    line-height: 1.3;
}

/* Variation Selection Styles */
.woo-cart-popup-variations {
    margin-bottom: 20px;
}

.woo-cart-popup-variations h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
}

.woo-cart-popup-variation {
    margin-bottom: 15px;
}

.woo-cart-popup-variation label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.woo-cart-popup-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.woo-cart-popup-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.woo-cart-popup-radio-option input[type="radio"] {
    display: none;
}

.woo-cart-popup-radio-text {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.woo-cart-popup-radio-option input[type="radio"]:checked + .woo-cart-popup-radio-text {
    background: #E07E63;
    border-color: #E07E63;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224, 126, 99, 0.3);
}

.woo-cart-popup-radio-option:hover .woo-cart-popup-radio-text {
    border-color: #E07E63;
    color: #E07E63;
    transform: translateY(-1px);
}

.woo-cart-popup-quantity {
    margin-bottom: 25px;
}

.woo-cart-popup-quantity label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.woo-cart-popup-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.archive.tax-product_cat .products.columns-4{margin-top:60px !important;}
.woo-cart-popup-qty-btn {
    background: #e07e63 !important;
    border: 1px solid #ddd  !important;
    border-radius: 4px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.woo-cart-popup-qty-btn:hover {
    background: #e5e5e5  !important;
}

#woo-cart-popup-qty {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.woo-cart-popup-actions {
    display: flex;
    gap: 10px;
}

.woo-cart-popup-add-btn,
.woo-cart-popup-cancel-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woo-cart-popup-add-btn {
    background: #E07E63;
    color: #fff;
}

.woo-cart-popup-add-btn:hover {
    background: #e55a2b;
}

.woo-cart-popup-add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.woo-cart-popup-cancel-btn {
    background: #f5f5f5;
    color: #666 !important;
}

.woo-cart-popup-cancel-btn:hover {
    background: #e5e5e5 !important;
}

/* Success/Error states */
.woo-cart-popup-add-btn.success {
    background: #28a745;
}

.woo-cart-popup-add-btn.error {
    background: #dc3545;
}

/* Mobile responsive for popup */
@media (max-width: 480px) {
    .woo-cart-popup {
        width: 95%;
        margin: 20px;
    }
    
    .woo-cart-popup-content {
        padding: 15px;
    }
    
    .woo-cart-popup-product {
        flex-direction: column;
        text-align: center;
    }
    
    .woo-cart-popup-actions {
        flex-direction: column;
    }
}
.woocommerce-breadcrumb{display:none !important;}
.site-main{padding-top:140px !important;}
