/*
Theme Name: Veg Housie
Description: A modern WooCommerce theme for vegetable and fruit delivery services.
Version: 1.0
Author: Your Name
Text Domain: veg-housie
*/

/* CSS Variables for Theme Colors */
:root {
    --primary-color: #406f36;
    --secondary-color: #914d25;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --text-color: #333333;
    --border-color: #e9ecef;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
    --header-height: 80px;
    --section-spacing: 48px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
   /* padding-top: 110px; /* Account for sticky header */
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 140px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Logo Styling */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2e7d32;
    font-weight: 600;
    font-size: 1.5rem;
    transition: opacity 0.2s ease;
    padding: 15px 0;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo img {
    max-width: 240px;
    height: auto;
    display: block;
}

.site-logo .site-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #2e7d32;
}

.cart-icon {
    position: relative;
    font-size: 22px;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Cart count update animation */
.cart-count.count-updated {
    transform: scale(1.3);
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(64, 111, 54, 0.5);
}

/* Standard Wrapper */
.standard-wrapper {
    /* box-shadow: 0 6px 32px rgba(64, 111, 54, 0.08); */
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px;
    /* margin: var(--section-spacing) 0; */
}

/* Main Content */
.main-content {
    background: var(--white);
    border-radius: 15px;
    /* box-shadow: var(--shadow); */
    margin: 40px auto;
    max-width: 1200px;
    overflow: visible !important;
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--section-spacing) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* margin: var(--section-spacing) 0; */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--secondary-color);
}

/* Product Grid */
.products-section {
    padding: var(--section-spacing) 20px;
    /* margin: var(--section-spacing) 0; */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Search and Filter Styles */
.search-container {
    margin-bottom: 30px;
    text-align: center;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 111, 54, 0.1);
}

.category-filter {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 111, 54, 0.3);
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* Featured Product Styles */
.product-card.featured-product {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(64, 111, 54, 0.15);
}

.product-card.featured-product:hover {
    box-shadow: 0 12px 35px rgba(64, 111, 54, 0.25);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #50713a;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-gray);
    line-height: 1.4;
}

.product-weight {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 30px;
    padding: 8px;
    border: 2px solid var(--border-color);
}

.quantity-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.quantity-display {
    font-weight: 600;
    color: var(--dark-gray);
    min-width: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Out of season button styling */
.add-to-cart-btn.out-of-season {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
    width: 100%;
    justify-content: center;
}

.add-to-cart-btn.out-of-season:hover {
    background: #6c757d;
    transform: none;
}

/* Out of stock button styling */
.add-to-cart-btn.out-of-stock {
    background: #dc3545;
    cursor: not-allowed;
    opacity: 0.8;
    width: 100%;
    justify-content: center;
}

.add-to-cart-btn.out-of-stock:hover {
    background: #dc3545;
    transform: none;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: var(--section-spacing) 20px;
    /* margin: var(--section-spacing) 0; */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-feature {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.about-feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-feature h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.about-feature p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
    display: block;
}

.footer-logo .site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8f5e8;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.contact-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-link i {
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #fff;
}

.contact-link:hover i {
    transform: scale(1.1);
}

.whatsapp-link i {
    color: #fff;
}

.email-link i {
    color: #fff;
}

.address-link i {
    color: #fff;
}

.contact-link span {
    flex: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-developer p {
    margin: 0;
    color: #c8e6c9;
    font-size: 0.9rem;
    font-style: italic;
}

.footer-right {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: end;
}

.footer-right .widget {
    margin-bottom: 0;
}

.footer-right .widget-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #4caf50;
    padding-bottom: 8px;
}

.footer-right .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-right .widget li {
    margin-bottom: 8px;
}

.footer-right .widget a {
    color: #e8f5e8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 4px 0;
}

.footer-right .widget a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* WooCommerce Styles */
.woocommerce {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 1200px;
    overflow: hidden;
}

.woocommerce-checkout {
    border-radius: 15px;
    overflow: visible !important;
}

.woocommerce-checkout h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 111, 54, 0.1);
}

.woocommerce-checkout #place_order {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.woocommerce-checkout #place_order:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-info {
        padding: 15px 0;
    }
    
    .product-name {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .product-weight {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .product-actions {
        gap: 10px;
    }
    
    .quantity-controls {
        gap: 8px;
    }
    
    .quantity-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .quantity-display {
        font-size: 0.9rem;
        min-width: 25px;
    }
    
    .add-to-cart-btn {
        font-size: 0.9rem;
        padding: 15px 12px;
    }
    
    /* Search and Filter Mobile Styles */
    .search-container {
        margin: 40px 0 0 0;
    }
    
    .search-input {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .category-filter {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .cart-content {
        width: 100%;
        right: -100%;
    }
    
    .cart-modal.show .cart-content {
        right: 0;
    }
    
    .cart-header {
        padding: 15px;
    }
    
    .cart-title {
        font-size: 1.1rem;
    }
    
    .cart-items {
        padding: 15px;
    }
    
    .cart-item {
        padding: 12px 0;
        gap: 12px;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-name {
        font-size: 0.95rem;
    }
    
    .cart-item-weight {
        font-size: 0.8rem;
    }
    
    .cart-item-price {
        font-size: 0.95rem;
    }
    
    .cart-summary {
        padding: 15px;
    }
    
    .cart-total,
    .delivery-charge {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .final-total {
        font-size: 1.1rem;
        padding-top: 8px;
        margin-top: 8px;
    }
    
    .checkout-btn {
        padding: 12px;
        font-size: 1rem;
        margin-top: 12px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .about-feature {
        padding: 20px;
    }
    
    .about-feature i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .about-feature h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .about-feature p {
        font-size: 0.95rem;
    }
    
    .standard-wrapper {
        padding: 20px 15px;
    }
    
    .products-section {
        padding: 40px 15px;
    }
    
    .about-section {
        padding: 60px 15px;
        margin-top: 40px;
    }
    
    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .about-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .site-footer {
        padding: 40px 15px 20px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .footer-info p {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .success-message {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .featured-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        top: 8px;
        right: 8px;
    }
    
    .product-info {
        padding: 12px 0;
    }
    
    .product-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .product-weight {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .product-price {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .quantity-controls {
        gap: 6px;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .quantity-display {
        font-size: 0.8rem;
        min-width: 20px;
    }
    
    .add-to-cart-btn {
        font-size: 0.8rem;
        padding: 15px 12px;
    }
    
    /* Search and Filter Small Mobile Styles */    
    .search-input {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .category-filter {
        gap: 5px;
        margin-bottom: 15px;
        justify-content: space-between;
    }
    
    .filter-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
        flex: 1;
        margin: 0 2px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-name {
        font-size: 0.9rem;
    }
    
    .cart-item-weight {
        font-size: 0.75rem;
    }
    
    .cart-item-price {
        font-size: 0.9rem;
    }
    
    .cart-header {
        padding: 12px;
    }
    
    .cart-title {
        font-size: 1rem;
    }
    
    .close-cart {
        font-size: 20px;
    }
    
    .cart-items {
        padding: 12px;
    }
    
    .cart-summary {
        padding: 12px;
    }
    
    .cart-total,
    .delivery-charge {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .final-total {
        font-size: 1rem;
        padding-top: 6px;
        margin-top: 6px;
    }
    
    .checkout-btn {
        padding: 10px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
    
    .empty-cart i {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .empty-cart p {
        font-size: 0.9rem;
    }
    
    .about-section {
        padding: 50px 12px;
        margin-top: 30px;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .about-feature {
        padding: 15px;
    }
    
    .about-feature i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .about-feature h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .about-feature p {
        font-size: 0.85rem;
    }
    
    .site-footer {
        padding: 30px 12px 15px;
    }
    
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .footer-info p {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .success-message {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .notification {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.cart-content {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-modal.show .cart-content {
    right: 0;
}

.cart-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-cart:hover {
    background: rgba(255,255,255,0.2);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.cart-item-weight {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 4px;
    border: 1px solid var(--border-color);
    gap: 8px;
}

.cart-quantity-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-quantity-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.cart-quantity-display {
    font-weight: 600;
    color: var(--dark-gray);
    min-width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Cart Item Loading State */
.cart-item.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.cart-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.cart-item.loading .cart-quantity-btn,
.cart-item.loading .remove-item {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-item.loading .cart-quantity-display {
    opacity: 0.7;
}

.remove-item {
    background: #dc3545;
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: #c82333;
    transform: scale(1.1);
}

.remove-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cart-quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cart-summary {
    background: var(--light-gray);
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.delivery-charge {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.cart-row.shipping-rate-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.final-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.checkout-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-color);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #a6491a;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 3000;
}

.success-message.show {
    transform: translateX(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 3000;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #dc3545;
}

/* Button States */
.quantity-btn.clicked {
    transform: scale(0.9);
}

.add-to-cart-btn.adding {
    background: var(--secondary-color);
    cursor: not-allowed;
    opacity: 0.8;
}

.add-to-cart-btn.adding i {
    animation: spin 1s linear infinite;
}

/* Queued state for add to cart button */
.add-to-cart-btn.queued {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.add-to-cart-btn.queued i {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cart-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-color);
}

.cart-loading i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cart-loading p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.cart-error {
    text-align: center;
    padding: 40px 20px;
    color: #e74c3c;
}

.cart-error i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.cart-error p {
    margin: 0;
    font-size: 1rem;
}

/* --- WooCommerce Cart & Checkout Custom Styles --- */

/* Remove double box-shadow from inner wrappers */
.standard-wrapper {
    /* box-shadow: 0 6px 32px rgba(64, 111, 54, 0.08); */
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px;
    /* margin: var(--section-spacing) 0; */
}

/* Remove box-shadow from inner elements */
.woocommerce-cart-form, .woocommerce-checkout form.checkout {
    box-shadow: none !important;
    background: #fff;
    border-radius: 14px;
    padding: 0;
}

/* Cart/Checkout Title Spacing */
.entry-title, .woocommerce-cart h1, .woocommerce-checkout h1, .woocommerce h2 {
    margin-top: 0;
    margin-bottom: 28px;
    font-size: 2rem;
    font-weight: 700;
    color: #406f36;
    letter-spacing: -1px;
}

/* Cart Table Styling */
.woocommerce-cart-form__contents.shop_table {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(64, 111, 54, 0.06);
    overflow: hidden;
    border: none;
}
.woocommerce-cart-form__contents th, .woocommerce-cart-form__contents td {
    border: none;
    padding: 18px 12px;
    vertical-align: middle;
}
.woocommerce-cart-form__contents th {
    background: #f7faf7;
    color: #406f36;
    font-weight: 700;
    font-size: 1.1rem;
}
.woocommerce-cart-form__contents td {
    font-size: 1rem;
}
.woocommerce-cart-form__contents tr {
    border-bottom: 1px solid #f0f0f0;
}
.woocommerce-cart-form__contents tr:last-child {
    border-bottom: none;
}

/* Cart Product Name Link */
.woocommerce-cart-form__contents .product-name a {
    color: #406f36;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce-cart-form__contents .product-name a:hover {
    color: #914d25;
}

/* Cart Remove Button */
.woocommerce-cart-form__contents .product-remove a.remove {
    color: #e74c3c !important;
    font-size: 1.3rem;
    background: none;
    border: none;
    transition: color 0.2s;
}
.woocommerce-cart-form__contents .product-remove a.remove:hover {
    color: #914d25 !important;
}

/* Cart Quantity Input */
.woocommerce-cart-form__contents .quantity .qty {
    width: 56px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #e9ecef;
    font-size: 1rem;
    text-align: center;
    background: #f7faf7;
    color: #406f36;
    transition: border-color 0.2s;
}
.woocommerce-cart-form__contents .quantity .qty:focus {
    border-color: #406f36;
    outline: none;
}

/* Cart Table Images */
.woocommerce-cart-form__contents .product-thumbnail img {
    border-radius: 10px;
    width: 48px;
    height: 48px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(64, 111, 54, 0.08);
}

/* Cart Table Coupon & Update Buttons */
.woocommerce-cart-form .actions .button,
.woocommerce-cart-form .actions button,
.woocommerce-cart-form .actions input[type="submit"] {
    background: #406f36;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 8px;
    margin-top: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(64, 111, 54, 0.08);
}
.woocommerce-cart-form .actions .button:hover,
.woocommerce-cart-form .actions button:hover,
.woocommerce-cart-form .actions input[type="submit"]:hover {
    background: #914d25;
    color: #fff;
}
.woocommerce-cart-form .actions .coupon input[type="text"] {
    border-radius: 8px;
    border: 1.5px solid #e9ecef;
    padding: 10px 14px;
    font-size: 1rem;
    margin-right: 8px;
}

/* Cart Totals Box */
.cart-collaterals .cart_totals {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(64, 111, 54, 0.06);
    padding: 28px 24px;
    margin-top: 32px;
}
.cart-collaterals .cart_totals h2 {
    color: #406f36;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.cart-collaterals .shop_table th,
.cart-collaterals .shop_table td {
    padding: 10px 8px;
    font-size: 1rem;
}

/* Proceed to Checkout Button */
.cart-collaterals .checkout-button,
.cart-collaterals .wc-proceed-to-checkout .button {
    background: #914d25 !important;
    color: #fff !important;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 0;
    width: 100%;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(145, 77, 37, 0.08);
    border: none;
    transition: background 0.2s, color 0.2s;
}
.cart-collaterals .checkout-button:hover,
.cart-collaterals .wc-proceed-to-checkout .button:hover {
    background: #406f36 !important;
    color: #fff !important;
}

/* --- WooCommerce Checkout Page --- */
.woocommerce-checkout form.checkout {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(64, 111, 54, 0.06);
    padding: 32px 24px;
    margin-top: 0;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-checkout h3 {
    color: #406f36;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.woocommerce-checkout .form-row label {
    color: #406f36;
    font-weight: 600;
    margin-bottom: 6px;
}
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 8px;
    border: 1.5px solid #e9ecef;
    padding: 12px 14px;
    font-size: 1rem;
    margin-bottom: 16px;
    background: #f7faf7;
    color: #406f36;
    transition: border-color 0.2s;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #406f36;
    outline: none;
}

.woocommerce-checkout #place_order {
    background: #914d25;
    color: #fff;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 0;
    width: 100%;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(145, 77, 37, 0.08);
    border: none;
    transition: background 0.2s, color 0.2s;
}
.woocommerce-checkout #place_order:hover {
    background: #406f36;
    color: #fff;
}

/* Make checkout scrollable if content is long */
@media (max-width: 900px) {
    .woocommerce-checkout form.checkout {
/*         max-height: 90vh; */
        padding: 18px 6px;
    }

    .category-filter {
        display: none;
    }
}

/* Responsive Cart Table */
@media (max-width: 700px) {
    .woocommerce-cart-form__contents.shop_table,
    .cart-collaterals .cart_totals {
        padding: 10px 2px;
        font-size: 0.95rem;
    }
    .woocommerce-cart-form__contents th, .woocommerce-cart-form__contents td {
        padding: 10px 4px;
    }
    .woocommerce-cart-form__contents .product-thumbnail img {
        width: 36px;
        height: 36px;
    }
}

/* Remove extra margin/padding above cart/checkout forms */
.woocommerce .entry-content > .standard-wrapper,
.woocommerce .entry-content > .woocommerce {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove extra white gaps above forms */
.woocommerce .woocommerce-notices-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Hide unwanted empty divs if any */
.woocommerce .entry-content > div:empty {
    display: none !important;
}

/* --- User Custom Cart & Checkout Tweaks --- */

.woocommerce-cart h1.entry-title,
.woocommerce-checkout h1.entry-title {
    text-align: center;
    margin-top: 50px;
}

.woocommerce-cart .main-content,
.woocommerce-checkout .main-content {
    box-shadow: unset;
    background: unset;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    box-shadow: unset;
}

.woocommerce-cart .standard-wrapper,
.woocommerce-checkout .standard-wrapper {
    box-shadow: unset;
    padding: 50px 30px;
    margin-bottom: 0px;
}

.woocommerce-cart input#coupon_code,
.woocommerce-checkout input#coupon_code {
    max-width: unset;
    width: unset !important;
}

.woocommerce-cart button.button,
.woocommerce-checkout button.button {
    margin: 0 !important;
}

/* Remove overflow: hidden for main-content and woocommerce-checkout to allow scrolling */
.main-content,
.woocommerce-checkout,
.woocommerce-checkout .main-content,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .standard-wrapper {
    overflow: visible !important;
}

/* --- Veg Housie Custom Checkout Two-Column Layout and Order Summary --- */
.veg-checkout-layout-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 0;
}
.veg-checkout-form-column {
    flex: 1 1 0;
    min-width: 0;
}
.veg-checkout-summary-column {
    flex: 0 0 370px;
    min-width: 320px;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(64, 111, 54, 0.08);
    padding: 32px 24px 24px 24px;
    margin-top: 0;
}

@media (max-width: 900px) {
    .veg-checkout-layout-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .veg-checkout-summary-column {
        max-width: 100%;
        width: 100%;
        margin-top: 0;
        padding: 24px 10px 18px 10px;
    }
}

.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    background: #f7faf7;
    border-radius: 12px;
    box-shadow: none;
    padding: 0;
    margin-bottom: 24px;
    border: none;
}
.review-order-header{
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #406f36;
    padding: 12px 0;
    border-bottom: 1.5px solid #e9ecef;
    font-size: 1.05rem;
}
.review-order-header {
    border-bottom: 2px solid #406f36;
    background: #f7faf7;
    font-size: 1.1rem;
}
.review-order-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}
.review-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}
.review-order-item:last-child {
    border-bottom: none;
}
.product-name {
    color: #32394a;
    font-weight: 500;
    flex: 1;
}
.product-quantity {
    color: #914d25;
    font-weight: 700;
    margin-left: 4px;
}
.product-total {
    font-weight: 600;
    color: #406f36;
    min-width: 80px;
    text-align: right;
}
.cart-subtotal, .order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 1.08rem;
}
.order-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: #914d25;
    border-top: 2px solid #406f36;
    margin-top: 8px;
    padding-top: 12px;
}
.cart-subtotal {
    color: #406f36;
    font-weight: 600;
}
#payment {
    margin-top: 24px;
}
.place-order {
    margin-top: 18px;
}
@media (max-width: 600px) {
    .veg-checkout-summary-column {
        padding: 14px 2px 10px 2px;
    }
    .review-order-header, .review-order-footer, .cart-subtotal, .order-total {
        font-size: 1rem;
        padding: 8px 0;
    }
    .review-order-item {
        font-size: 0.97rem;
    }
}

/* --- Veg Housie Thank You Page (Order Received) --- */
.woocommerce-order {
    min-height: 60vh;
    background: #f7f8fa;
    padding: 40px 40px;
}
.woocommerce-order .woocommerce {
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(64, 111, 54, 0.08);
    padding: 40px 32px 32px 32px;
    margin: 0 auto;
}
.woocommerce-order .woocommerce h1,
.woocommerce-order .woocommerce h2 {
    color: #406f36;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    margin-top: 0;
    letter-spacing: -1px;
}
.woocommerce-order .woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px 0;
    margin-bottom: 24px;
    border-bottom: 1.5px solid #e9ecef;
    padding-bottom: 18px;
}
.woocommerce-order .woocommerce-order-overview__title {
    font-size: 1.3rem;
    color: #406f36;
    font-weight: 700;
    margin-bottom: 10px;
}
.woocommerce-order .woocommerce-order-overview li {
    flex: 1 1 180px;
    font-size: 1.05rem;
    color: #32394a;
    margin-bottom: 0;
    padding: 0 10px;
    border-right: 1px solid #e9ecef;
}
.woocommerce-order .woocommerce-order-overview li:last-child {
    border-right: none;
}
.woocommerce-order .woocommerce-notice {
    background: #eafbe7;
    color: #406f36;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
    font-size: 1.08rem;
}
.woocommerce-order-details {
    margin-bottom: 32px;
}
.woocommerce-order-details__title {
    color: #406f36;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    margin-top: 0;
}
.woocommerce-table--order-details {
    width: 100%;
    background: #f7faf7;
    border-radius: 12px;
    box-shadow: none;
    padding: 0;
    margin-bottom: 24px;
    border: none;
    font-size: 1.05rem;
}
.woocommerce-table--order-details thead th {
    background: #f7faf7;
    color: #406f36;
    font-weight: 700;
    font-size: 1.08rem;
    border-bottom: 2px solid #406f36;
    padding: 12px 8px;
}
.woocommerce-table--order-details tbody td {
    border-bottom: 1px solid #e9ecef;
    padding: 10px 8px;
    color: #32394a;
}
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    font-weight: 700;
    color: #406f36;
    padding: 10px 8px;
    background: #f7faf7;
}
.woocommerce-table--order-details tfoot .order-total th,
.woocommerce-table--order-details tfoot .order-total td {
    color: #914d25;
    font-size: 1.12rem;
    border-top: 2px solid #406f36;
}
.woocommerce-order-details .product-name a {
    color: #406f36;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce-order-details .product-name a:hover {
    color: #914d25;
}
.woocommerce-order-details .product-quantity {
    color: #914d25;
    font-weight: 700;
    margin-left: 4px;
}
.woocommerce-customer-details {
    background: #f7faf7;
    border-radius: 12px;
    padding: 18px 18px 10px 18px;
    margin-bottom: 0;
}
.woocommerce-customer-details h2 {
    color: #406f36;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
    text-align: left;
}
.woocommerce-customer-details address {
    color: #32394a;
    font-size: 1.05rem;
    margin-bottom: 0;
}
.woocommerce-customer-details .woocommerce-customer-details--email {
    color: #406f36;
    font-size: 1.05rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.woocommerce-customer-details .woocommerce-customer-details--email:before {
    content: '\2709';
    color: #914d25;
    font-size: 1.1em;
    margin-right: 4px;
}
@media (max-width: 900px) {
    .woocommerce-order .woocommerce {
        padding: 24px 6px 18px 6px;
    }
}
@media (max-width: 600px) {
    .woocommerce-order .woocommerce {
        padding: 10px 0 8px 0;
        border-radius: 0;
    }
    .woocommerce-order .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 8px 0;
    }
    .woocommerce-order .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }
}

/* --- Veg Housie My Account Page --- */
.woocommerce-account .woocommerce {
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 40px 32px 32px 32px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 180px;
    background: #f7faf7;
    border-radius: 12px;
    padding: 24px 0 24px 0;
    margin-right: 32px;
    box-shadow: 0 2px 12px rgba(64, 111, 54, 0.06);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 24px;
    color: #406f36;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #406f36;
    color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-content {
    min-height: 400px;
}
.woocommerce-account h2,
.woocommerce-account h3 {
    color: #406f36;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
}
.woocommerce-account table.my_account_orders {
    width: 100%;
    background: #f7faf7;
    border-radius: 12px;
    box-shadow: none;
    margin-bottom: 24px;
    border: none;
    font-size: 1.05rem;
}
.woocommerce-account table.my_account_orders th {
    background: #f7faf7;
    color: #406f36;
    font-weight: 700;
    font-size: 1.08rem;
    border-bottom: 2px solid #406f36;
    padding: 12px 8px;
}
.woocommerce-account table.my_account_orders td {
    border-bottom: 1px solid #e9ecef;
    padding: 10px 8px;
    color: #32394a;
}
.woocommerce-account table.my_account_orders td a.button {
    background: #914d25;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 18px;
    border: none;
    transition: background 0.2s;
}
.woocommerce-account table.my_account_orders td a.button:hover {
    background: #406f36;
    color: #fff;
}
@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        padding: 18px 4px 12px 4px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        float: none;
        width: 100%;
        margin: 0 0 18px 0;
        border-radius: 12px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        box-shadow: none;
        padding: 10px 0;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 1;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation a {
        border-radius: 8px;
        padding: 10px 8px;
        text-align: center;
        font-size: 0.98rem;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        margin-left: 0;
        width: 100%;
    }
    .dashboard-info{
        text-align: center;
    }
}
@media (max-width: 600px) {
    .woocommerce-account .woocommerce {
        padding: 6px 0 4px 0;
        border-radius: 0;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex-direction: column;
        padding: 0;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation a {
        border-radius: 8px;
        padding: 10px 8px;
        font-size: 0.97rem;
    }
}

/* Remove top/bottom margin from first and last section for perfect alignment */
/* .hero-section:first-child,
.site-footer:last-child {
    margin-top: 0;
    margin-bottom: 0;
} */

/* PWA Styles */
.install-pwa-btn {
    transition: all 0.3s ease;
}

.install-pwa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 111, 54, 0.4) !important;
}

.install-pwa-btn:active {
    transform: translateY(0);
}

.pwa-status {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* PWA Install Prompt Styles */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #406f36;
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
}

.pwa-install-banner .banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-install-banner .banner-actions {
    display: flex;
    gap: 8px;
}

.pwa-install-banner button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pwa-install-banner button:hover {
    background: white;
    color: #406f36;
}

.pwa-install-banner .dismiss-btn {
    background: rgba(255,255,255,0.1);
}

/* Offline indicator */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FF9800;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1002;
    font-family: 'Poppins', sans-serif;
}

/* PWA App-like experience */
@media (display-mode: standalone) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }
    
    .site-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Hide browser UI elements when in standalone mode */
    .install-pwa-btn {
        display: none !important;
    }
}

/* Hide phone.email signin buttons globally */
.pe_signin_button,
.pv_signin_button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Only show signin buttons on the login page template */
body.page-template-template-login .pe_signin_button,
body.page-template-template-login .pv_signin_button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: unset !important;
    left: auto !important;
    top: auto !important;
}

/* Additional specificity for login page */
.page-template-template-login .pe_signin_button,
.page-template-template-login .pv_signin_button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: unset !important;
    left: auto !important;
    top: auto !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout-link, .woocommerce a.btn-shopping {
    /* display: flex; */
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(64, 111, 54, 0.1);
    width: fit-content;
    line-height: 1.5rem;
}

.logout-link:hover, .woocommerce a.btn-shopping:hover {
    color: var(--secondary-color);
    background: rgba(64, 111, 54, 0.15);
}


.logout-link i {
    font-size: 16px;
}

.logout-link span {
    display: none;
}

@media (min-width: 768px) {
    .logout-link span {
        display: inline;
    }
}

/* Hide default WooCommerce shipping method radio UI on checkout */
.woocommerce-shipping-methods {
    display: none !important;
}

/* Hide the 'Shipping' heading if needed */
.woocommerce-shipping-totals.shipping {
    display: none !important;
}

/* --- Custom Shipping Section Styling --- */
.order-shipping-custom-header {
    font-weight: 700;
    color: #406f36;
    background: #f7faf7;
    font-size: 1.05rem;
    border-top: 2px solid #e9ecef;
    border-bottom: none;
    padding-top: 10px;
    letter-spacing: 0.5px;
}
.order-shipping-custom {
    font-weight: 500;
    color: #32394a;
    background: #f7faf7;
    font-size: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.order-shipping-custom:last-child {
    border-bottom: 2px solid #406f36;
}
.order-shipping-custom th {
    font-weight: 500;
    padding: 8px 0 8px 12px;
    background: none;
}
.order-shipping-custom td {
    text-align: right;
    font-weight: 600;
    color: #406f36;
    padding: 8px 12px 8px 0;
    background: none;
}

.woocommerce form .form-row select {
    padding: 10px 6px;
}

/* Page Content Styling - General Design for All Pages */

/* Main content area */
.main-content {
  padding: 40px 0;
  background: #f8f9fa;
  min-height: 60vh;
}

.main-content .container {
/*   max-width: 800px; */
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 40px 32px;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Article styling */
.entry-header {
  border-bottom: 2px solid #e8f5e8;
  margin-bottom: 32px;
  padding-bottom: 20px;
}

.entry-title {
  font-size: 2.5rem;
  margin: 0 0 12px 0;
  color: #2e7d32;
  font-weight: 600;
  line-height: 1.2;
}

/* Content area */
.entry-content {
  color: #333;
}

/* Heading hierarchy */
.entry-content h1 {
  font-size: 2.2rem;
  color: #2e7d32;
  margin: 32px 0 16px 0;
  font-weight: 600;
  line-height: 1.3;
  border-bottom: 1px solid #e8f5e8;
  padding-bottom: 8px;
}

.entry-content h2 {
  font-size: 1.8rem;
  color: #388e3c;
  margin: 28px 0 14px 0;
  font-weight: 600;
  line-height: 1.3;
}

.entry-content h3 {
  font-size: 1.5rem;
  color: #4caf50;
  margin: 24px 0 12px 0;
  font-weight: 600;
  line-height: 1.3;
}

.entry-content h4 {
  font-size: 1.3rem;
  color: #555;
  margin: 20px 0 10px 0;
  font-weight: 600;
  line-height: 1.3;
}

.entry-content h5 {
  font-size: 1.1rem;
  color: #666;
  margin: 18px 0 9px 0;
  font-weight: 600;
  line-height: 1.3;
}

.entry-content h6 {
  font-size: 1rem;
  color: #777;
  margin: 16px 0 8px 0;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Paragraphs */
.entry-content p {
  margin: 0 0 16px 0;
  line-height: 1.7;
  color: #333;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

/* Spans and inline elements */
.entry-content span {
  color: inherit;
}

.entry-content strong,
.entry-content b {
  font-weight: 600;
  color: #2e7d32;
}

.entry-content em,
.entry-content i {
  font-style: italic;
  color: #555;
}

/* Links */
.entry-content a {
  color: #2e7d32;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.entry-content a:hover {
  color: #1b5e20;
  text-decoration: none;
}

.entry-content a:focus {
  outline: 2px solid #4caf50;
  outline-offset: 2px;
}

/* Lists */
.entry-content ul,
.entry-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
  line-height: 1.6;
/*   margin-left: 23px !important; */
}

.entry-content ul li {
  list-style-type: disc;
  color: #333;
}

.entry-content ol li {
  list-style-type: decimal;
  color: #333;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin: 8px 0;
}

/* Definition lists */
.entry-content dl {
  margin: 16px 0;
}

.entry-content dt {
  font-weight: 600;
  color: #2e7d32;
  margin-top: 16px;
  margin-bottom: 4px;
}

.entry-content dd {
  margin-left: 20px;
  margin-bottom: 12px;
  color: #333;
}

/* Blockquotes */
.entry-content blockquote {
  border-left: 4px solid #4caf50;
  margin: 20px 0;
  padding: 12px 20px;
  background: #f8f9fa;
  font-style: italic;
  color: #555;
}

.entry-content blockquote p {
  margin: 0;
}

/* Code and pre elements */
.entry-content code {
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #d32f2f;
}

.entry-content pre {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid #e0e0e0;
}

.entry-content pre code {
  background: none;
  padding: 0;
  color: #333;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.entry-content th {
  background: #4caf50;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

.entry-content tr:hover {
  background: #f5f5f5;
}

/* Horizontal rules */
.entry-content hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 32px 0;
}

/* Divs and sections */
.entry-content div {
  margin: 0;
}

.entry-content section {
  margin-bottom: 24px;
}

/* Special styling for important information */
.entry-content .important {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.entry-content .important p {
  margin: 0;
  color: #856404;
}

.entry-content .contact-info {
  background: #e8f5e8;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.entry-content .contact-info p {
  margin: 0;
  color: #2e7d32;
}

/* Page links (WordPress pagination) */
.page-links {
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid #e0e0e0;
}

.page-links a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background: #4caf50;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.page-links a:hover {
  background: #388e3c;
}

.page-links .current {
  background: #2e7d32;
  color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
  .main-content {
    padding: 20px 0;
  }
  
  .main-content .container {
    margin: 20px auto;
    padding: 24px 16px;
    border-radius: 8px;
  }
  
  .entry-title {
    font-size: 2rem;
  }
  
  .entry-content h1 {
    font-size: 1.8rem;
  }
  
  .entry-content h2 {
    font-size: 1.5rem;
  }
  
  .entry-content h3 {
    font-size: 1.3rem;
  }
  
  .entry-content h4 {
    font-size: 1.2rem;
  }
  
  .entry-content h5 {
    font-size: 1.1rem;
  }
  
  .entry-content h6 {
    font-size: 1rem;
  }
  
  .entry-content ul,
  .entry-content ol {
    padding-left: 20px;
  }
  
  .entry-content table {
    font-size: 0.9rem;
  }
  
  .entry-content th,
  .entry-content td {
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 10px 0;
  }
  
  .main-content .container {
    margin: 10px auto;
    padding: 16px 12px;
  }
  
  .entry-title {
    font-size: 1.8rem;
  }
  
  .entry-content h1 {
    font-size: 1.6rem;
  }
  
  .entry-content h2 {
    font-size: 1.4rem;
  }
  
  .entry-content h3 {
    font-size: 1.2rem;
  }
  
  .entry-content table {
    font-size: 0.8rem;
  }
  
  .entry-content th,
  .entry-content td {
    padding: 6px 8px;
  }
}

/* Print styles */
@media print {
  .main-content {
    background: #fff;
    padding: 0;
  }
  
  .main-content .container {
    box-shadow: none;
    border: 1px solid #ccc;
    margin: 0;
    padding: 20px;
  }
  
  .entry-content a {
    color: #000;
    text-decoration: underline;
  }
  
  .entry-content a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* 404 Error Page Styling */
.error-404-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-404-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.error-404-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.error-404-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #8bc34a, #4caf50);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 404 Number Styling */
.error-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.error-4 {
    font-size: 8rem;
    font-weight: 800;
    color: #2e7d32;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: bounce 2s ease-in-out infinite;
}

.error-4:nth-child(3) {
    animation-delay: 0.2s;
}

.error-0-container {
    position: relative;
    margin: 0 20px;
}

.error-0 {
    font-size: 8rem;
    font-weight: 800;
    color: #4caf50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: pulse 2s ease-in-out infinite;
}

.error-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    background: #2e7d32;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 4s linear infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error Message */
.error-message {
    margin-bottom: 40px;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Action Buttons */
.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #4caf50;
    border-color: #4caf50;
}

.btn-secondary:hover {
    background: #4caf50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

/* Search Section */
.error-search {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.error-search h3 {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 20px;
    font-weight: 600;
}

.search-form-container {
    max-width: 400px;
    margin: 0 auto;
}

.search-form-container form {
    display: flex;
    gap: 10px;
}

.search-form-container input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form-container input[type="search"]:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-form-container input[type="submit"] {
    padding: 12px 25px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form-container input[type="submit"]:hover {
    background: #2e7d32;
    transform: translateY(-1px);
}

/* Quick Links */
.error-quick-links {
    margin-bottom: 40px;
}

.error-quick-links h3 {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 25px;
    font-weight: 600;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.quick-link-card:hover {
    background: #4caf50;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.quick-link-card i {
    font-size: 1.5rem;
    color: #4caf50;
    transition: color 0.3s ease;
}

.quick-link-card:hover i {
    color: #fff;
}

.quick-link-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Fun Message */
.error-fun-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
    border-radius: 15px;
    border-left: 4px solid #4caf50;
}

.fun-icon {
    font-size: 1.5rem;
    color: #4caf50;
    animation: wiggle 2s ease-in-out infinite;
}

.error-fun-message p {
    margin: 0;
    font-style: italic;
    color: #2e7d32;
    font-weight: 500;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404-content {
        padding: 40px 20px;
    }
    
    .error-4, .error-0 {
        font-size: 5rem;
    }
    
    .error-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .error-fun-message {
        flex-direction: column;
        text-align: center;
    }
	
	 .contact-item {
		justify-content: center;
	}
}

@media (max-width: 480px) {
    .error-404-page {
        padding: 20px 10px;
    }
    
    .error-404-content {
        padding: 30px 15px;
    }
    
    .error-4, .error-0 {
        font-size: 4rem;
    }
    
    .error-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form-container form {
        flex-direction: column;
		align-items: center;
    }
}

/* --- Modern WooCommerce Payment Methods Styling --- */

/* Payment Methods Container */
.woocommerce-checkout .wc_payment_methods {
    background: #f7f7fa;
    border-radius: 16px;
    padding: 24px 20px 12px 20px;
    box-shadow: 0 2px 12px rgba(64, 111, 54, 0.07);
    margin-bottom: 24px;
    border: 1px solid #e0e0e0;
}

/* Each Payment Method */
.woocommerce-checkout .wc_payment_method {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 18px 16px;
    border: 2px solid transparent;
    transition: border 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    box-shadow: 0 1px 4px rgba(64, 111, 54, 0.04);
}

.woocommerce-checkout .wc_payment_method input[type="radio"] {
    accent-color: #406f36;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    margin-right: 12px;
}

.woocommerce-checkout .wc_payment_method label {
    font-weight: 600;
    font-size: 1.1em;
    color: #222;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-checkout .payment_box {
    background: #f7f7fa;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 12px 0 0 0;
    border-left: 4px solid #406f36;
    color: #444;
    font-size: 0.98em;
    box-shadow: 0 1px 4px rgba(64, 111, 54, 0.04);
    max-width: 350px;
}

.woocommerce-checkout .payment_box:before {
    display: none;
}

/* Razorpay Branding */
.woocommerce-checkout .payment_method_razorpay label img,
.woocommerce-checkout .payment_method_razorpay label svg {
    height: 28px;
    margin-right: 8px;
    vertical-align: middle;
}

.woocommerce-checkout .payment_method_razorpay label {
    color: #1a237e;
    font-weight: 700;
    font-size: 1.08em;
}

.woocommerce-checkout .payment_method_cod label {
    color: #406f36;
    font-weight: 700;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    background: #406f36;
    color: #fff;
    border-radius: 8px;
    font-size: 1.15em;
    font-weight: 600;
    padding: 14px 0;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(64, 111, 54, 0.10);
    border: none;
    transition: background 0.2s;
}

.woocommerce-checkout #place_order:hover {
    background: #2e4d25;
    color: #fff;
}


/* Hide all WooCommerce payment method tooltips */
.woocommerce-checkout .payment_box {
    display: none !important;
}
  
/* General container styling */
.woocommerce-checkout ul.payment_methods.methods li {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    background-color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
  
/* Hide native radio buttons */
.woocommerce-checkout ul.payment_methods.methods li input.input-radio {
    display: none;
}
  
/* Custom radio circle */
.woocommerce-checkout ul.payment_methods.methods li::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #aaa;
    border-radius: 50%;
    display: inline-block;
    background-color: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
  
/* Selected state */
.woocommerce-checkout ul.payment_methods.methods li input.input-radio:checked + label::before {
    content: '';
    position: absolute;
    left: 20px;
    width: 18px;
    height: 18px;
    background-color: #2e7d32;
    border: 2px solid #2e7d32;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px white;
}
  
/* Highlight selected container */
.woocommerce-checkout ul.payment_methods.methods li input.input-radio:checked + label {
    font-weight: 600;
    color: #2e7d32;
}
  
/* Hover effect */
.woocommerce-checkout ul.payment_methods.methods li:hover {
    border-color: #2e7d32;
    box-shadow: 0 3px 10px rgba(0, 128, 0, 0.1);
}
  
/* Label styling */
.woocommerce-checkout ul.payment_methods.methods li label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    gap: 10px;
    margin: 0;
    padding-left: 10px;
    flex-wrap: wrap;
}
  
li.wc_payment_method {
    margin-bottom: 10px !important;
}

button#place_order {
    margin-top: 20px !important;
}

/* Remove default bullet points if any */
.woocommerce-checkout .wc_payment_methods, .woocommerce-checkout .wc_payment_method {
    list-style: none !important;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: unset !important;
}

.woocommerce-order-pay .woocommerce {
    box-shadow: none !important;
    padding: 10px;
}

.woocommerce-order-pay .woocommerce p {
    padding: 0 20px;
}

.woocommerce-order-pay .woocommerce p button {
    background: #406f36;
    color: #fff;
    border-radius: 8px;
    font-size: 1.15em;
    font-weight: 600;
    padding: 14px 14px;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(64, 111, 54, 0.10);
    border: none;
    transition: background 0.2s;
}

.entry-content ul li.woocommerce-MyAccount-navigation-link {
    list-style: none;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    display: flex;
    justify-content: space-between;
}

.woocommerce-orders-table tr {
    padding-bottom: 40px !important;
}

/*Woocomerce cart */
.shop_table.woocommerce-checkout-review-order-table{
	padding: 0 15px;
}

.veg-checkout-summary-column{
    padding: 0 15px;
}

.fee {
    display: flex;
    justify-content: space-between;
}

.shoppig-btn i{
    color: #ffffff;
}
.woocommerce a.btn-shopping i{
    color: var(--primary-color);
}

.woocommerce a.btn-shopping:hover i{
    color: var(--secondary-color)
}

.woocommerce-MyAccount-content .woocommerce-customer-details--email,
.woocommerce-customer-details--email {
    display: none !important;
}

@media (max-width: 900px) {
    .woocommerce-checkout .main-content .container {
        border-radius: 0;
        box-shadow: none;
    }
    .woocommerce-checkout .main-content {
        padding: 0;
        margin: 0;
    }
    .site-footer{
        margin-top: 0;
    }
}
/* Responsive Design for Cart Modal */
@media (max-width: 768px) {
    .cart-content {
        width: 100%;
        right: -100%;
    }
    
    .cart-modal.show .cart-content {
        right: 0;
    }
    
    .cart-quantity-controls {
        padding: 3px;
        gap: 6px;
    }
    
    .cart-quantity-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    
    .cart-quantity-display {
        font-size: 0.85rem;
        min-width: 18px;
    }
    
    .remove-item {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
   
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .woocommerce-checkout .wc_payment_methods {
        padding: 12px 6px 6px 6px;
    }
    .woocommerce-checkout .wc_payment_method {
        padding: 12px 8px;
        font-size: 1em;
    }
    .woocommerce-checkout .payment_box {
        padding: 10px 8px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {    
    .cart-quantity-controls {
        padding: 2px;
        gap: 4px;
    }
    
    .cart-quantity-btn {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    
    .cart-quantity-display {
        font-size: 0.8rem;
        min-width: 16px;
    }
    
    .remove-item {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
}


/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }
    
    .footer-left {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer-logo .site-title {
        font-size: 1.8rem;
    }
    
    .footer-right {
        text-align: center;
        align-items: center;
    }
    
    .footer-right .widget-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-container {
        gap: 30px;
        padding: 0 12px;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .footer-logo .site-title {
        font-size: 1.6rem;
    }
    
    .footer-contact-info {
        gap: 6px;
        margin: 12px 0;
    }
    
    .contact-link {
        font-size: 0.9rem;
        gap: 8px;
        padding: 3px 0;
    }
    
    .contact-link i {
        font-size: 1rem;
        width: 16px;
    }
    
    .footer-bottom {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .footer-developer p {
        font-size: 0.85rem;
    }

    form#woocommerce-checkout-form-coupon {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    p.form-row.form-row-first {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .veg-checkout-form-column {
        width: 100%;
    }
}

/* Responsive Header */
@media (max-width: 768px) {
    .site-header {
        height: 100px;
    }
    
    .site-logo {
        padding: 12px 0;
    }
    
    .site-logo img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .site-logo .site-title {
        font-size: 1.8rem;
    }
    
    /* body {
        padding-top: 100px;
    } */

    ul.order_details {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 80px;
    }
    
    .site-logo {
        padding: 10px 0;
    }
    
    .site-logo img {
        max-width: 68px;
        max-height: 70px;
    }
    
    .site-logo .site-title {
        font-size: 1.6rem;
    }
    
    /* body {
        padding-top: 80px;
    } */
	.woocommerce-checkout .standard-wrapper{
    	padding: 10px 10px;
	}
	.shop_table.woocommerce-checkout-review-order-table{
		padding: 0 15px;
	}
}