/* Shop Page Styles for FungusHead Theme - Master Override v2.1.1 */

/* Shop Banner */
.shop-banner {
    background-color: #ffffff; /* White background */
    padding: 40px 0;
    position: relative;
    overflow: hidden; /* Hide overflow from decoration */
    /* Full width */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.shop-banner-content {
    max-width: 1200px; /* Keep content constrained */
    margin: 0 auto; /* Center content */
    padding: 0 20px; /* Padding for content */
    position: relative;
    z-index: 2;
    text-align: center; /* Center the title and description text */
}

.shop-banner-title {
    font-family: "bebas-neue", sans-serif !important;
    font-size: 4rem; /* Adjust size as needed */
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #000;
}

.shop-banner-description {
    font-size: 1.1rem;
    color: #000000; /* Black text */
    max-width: 600px; /* Limit width */
    margin: 0 auto; /* Center the description block */
}

.shop-banner-decoration {
    position: absolute;
    top: 0;
    right: max(20px, calc(5% + (100vw - 1200px) / 2)); /* Adjust right position for full width */
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

.shop-banner-decoration::before,
.shop-banner-decoration::after {
    content: '';
    display: block;
    width: 4px; /* Line thickness */
    height: 60%; /* Line height */
    background-color: #000;
}

.shop-banner-decoration::after {
    margin-left: 6px; /* Space between lines */
    height: 80%; /* Make second line taller */
}

/* Reset WooCommerce defaults - May need adjustments */
/* Remove or adjust if causing conflicts with .product-card */
/*
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    clear: none !important;
}
*/

/* --- Main Layout --- */
.shop-main-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.shop-main-content {
    display: flex !important;
    gap: 20px !important;
}

/* --- Sidebar / Filters --- */
.shop-sidebar {
    width: 16rem !important;
    flex-shrink: 0 !important;
}

/* When both filter box and shipping box are hidden */
.shop-sidebar.hidden {
    display: none !important;
}

/* When only filter box is hidden */
.shop-sidebar.no-filters {
    width: 16rem !important;
}

/* When only shipping box is hidden */
.shop-sidebar.no-shipping {
    width: 16rem !important;
}

.filter-section {
    border: 3px solid #000 !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    background-color: #fff !important;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8) !important;
}

.filter-section h2 {
    font-size: 18px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-bottom: 15px !important;
    display: flex !important;
    justify-content: space-between !important;
}

.filter-group {
    margin-bottom: 15px !important;
}

.filter-group h3 {
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

.filter-option {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 5px !important;
    cursor: pointer !important;
}

.filter-option input {
    accent-color: #ff69b4 !important;
}

.filter-option span {
    font-size: 14px !important;
    text-transform: capitalize !important;
}

.reset-btn {
    width: 100% !important;
    background-color: #f9e000 !important;
    border: 2px solid #000 !important;
    padding: 8px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.reset-btn:hover {
    background-color: #ff69b4 !important;
    color: white !important;
}

.shipping-section {
    border: 3px solid #000 !important;
    padding: 15px !important;
    background-color: #000 !important;
    color: white !important;
    box-shadow: 6px 6px 0 rgba(255, 105, 180, 0.8) !important;
}

.shipping-section h3 {
    font-size: 18px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
}

.shipping-section p {
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.shipping-section .code {
    font-weight: bold !important;
    color: #ff69b4 !important;
}

.divider {
    width: 100% !important;
    height: 1px !important;
    background-color: #555 !important;
    margin: 10px 0 !important;
}

/* --- Products Section --- */
.shop-products {
    flex: 1 !important;
}

.products-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.results-count {
    font-size: 14px !important;
}

.results-count span {
    font-weight: bold !important;
}

.sort-container {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.sort-container label {
    font-size: 14px !important;
}

.sort-select {
    appearance: none !important;
    background-color: white !important;
    border: 2px solid #000 !important;
    padding: 5px 25px 5px 10px !important;
    position: relative !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
    background-size: 16px !important;
}

/* --- Product Grid --- */
/* Scope to shop page only to avoid affecting cart page cross-sells */
.woocommerce-shop ul.products,
.shop-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Show 3 columns on medium to large screens */
@media (min-width: 769px) {
    .woocommerce-shop ul.products,
    .shop-products ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* When sidebar is hidden, show 4 columns instead - only on large screens */
@media (min-width: 1200px) {
    .shop-sidebar.hidden ~ .shop-products ul.products {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    /* Customizer overrides - these have higher specificity to override the defaults */
    .woocommerce-shop ul.products.products-per-row-4,
    .shop-products ul.products.products-per-row-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* --- Product Card Styling (TARGETING NEW STRUCTURE) --- */
/* Scope to shop page only to avoid affecting cart page cross-sells */
.woocommerce-shop ul.products .product-card,
.shop-products ul.products .product-card { /* Target .product-card within the grid */
    border: 3px solid #000 !important;
    overflow: hidden !important;
    background-color: white !important;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    min-height: 350px !important; /* Ensure consistent card height */
    /* Reset potential li styles */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

.woocommerce-shop ul.products .product-card:hover,
.shop-products ul.products .product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 8px 8px 0 rgba(255, 105, 180, 0.8) !important;
}

/* Product Image Container - FORCE SQUARE ON ALL SCREENS */
.product-card .product-image,
.beginners-grid .product-image,
.woocommerce-shop .product-image,
.shop-products .product-image,
.woocommerce ul.products .product-image,
.woocommerce-page ul.products .product-image {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    padding-bottom: 100% !important; /* Makes container square */
    height: 0 !important;
}

/* Product Image - FORCE SQUARE ON ALL SCREENS */
.product-card .product-image img,
.beginners-grid .product-image img,
.woocommerce-shop .product-image img,
.shop-products .product-image img,
.woocommerce ul.products .product-image img,
.woocommerce-page ul.products .product-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

/* Hover Effect for Square Images */
.product-card:hover .product-image img,
.beginners-grid li.product:hover .product-image img,
.woocommerce-shop ul.products li.product:hover .product-image img,
.shop-products ul.products li.product:hover .product-image img,
.woocommerce ul.products li.product:hover .product-image img,
.woocommerce-page ul.products li.product:hover .product-image img {
    transform: scale(1.05) !important;
}

/* Best Seller Badge */
.product-card .product-image .best-seller {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background-color: #ff69b4 !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    border: 2px solid #000 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    z-index: 2 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
}

/* Product Info Container */
.product-card .product-info {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1; /* Added */
    text-align: left !important;
}

/* Product Title */
.product-card .product-info .product-title,
.product-card .product-info .product-title a {
    font-size: 28px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-family: "bebas-neue", sans-serif !important;
    text-decoration: none !important;
    text-align: left !important;
    height: 93px !important; /* Fixed height for 3 lines: 26px * 1.2 * 3 = 93.6px */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}
.product-card .product-info .product-title a:hover {
    color: #ff69b4 !important;
}

/* Product Category and Stock Container */
.product-card .product-info .product-category-stock {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Product Category */
.product-card .product-info .product-category-stock .product-category {
    font-size: 12px !important;
    color: #555 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    text-align: left !important;
    flex-grow: 1 !important;
}

/* Stock Status (now in category-stock container) */
.product-card .product-info .product-category-stock .stock {
    font-size: 11px !important;
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}
.product-card .product-info .product-category-stock .stock.out-of-stock {
    background-color: #fde8e8 !important;
    color: #b91c1c !important;
}
.product-card .product-info .product-category-stock .stock.in-stock {
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
}
.product-card .product-info .product-category-stock .stock.low-stock {
    background-color: #fef3cd !important;
    color: #856404 !important;
}

/* Product Details Container */
.product-card .product-info .product-details {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: auto 0 10px 0 !important;
    text-align: left !important;
}

/* Product Price */
.product-card .product-info .price {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    text-align: left !important;
}
.product-card .product-info .price * {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #000 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
}
.product-card .product-info .price del {
    opacity: 0.6;
    font-weight: normal !important;
    margin-right: 5px;
}

/* Stock Status */
.product-card .product-info .stock {
    font-size: 11px !important;
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    text-align: left !important;
}
.product-card .product-info .stock.out-of-stock {
    background-color: #fde8e8 !important;
    color: #b91c1c !important;
}
.product-card .product-info .stock.in-stock {
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
}
.product-card .product-info .stock.low-stock {
    background-color: #fef3cd !important;
    color: #856404 !important;
}

/* Add to Cart Button */
.product-card .product-info .add-to-cart,
.product-card .product-info .button {
    width: 100% !important;
    background-color: #000 !important;
    color: white !important;
    border: 2px solid #000 !important;
    padding: 10px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
    margin-top: auto !important;
    border-radius: 0 !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
    font-family: sans-serif !important;
}

.product-card .product-info .add-to-cart:hover,
.product-card .product-info .button:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 3px 3px 0 rgba(255, 105, 180, 0.8) !important;
}

/* Add to Cart Button for Front Page Tabs */
.product-card .add-to-cart-btn,
.add-to-cart-btn {
    width: 100% !important;
    background-color: #000 !important;
    color: white !important;
    border: 2px solid #000 !important;
    padding: 10px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
    margin-top: auto !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
    font-family: sans-serif !important;
    letter-spacing: 0.5px !important;
}

.product-card .add-to-cart-btn:hover,
.add-to-cart-btn:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 3px 3px 0 rgba(255, 105, 180, 0.8) !important;
}

.product-card .add-to-cart-btn:disabled,
.add-to-cart-btn:disabled {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    cursor: not-allowed !important;
    text-transform: uppercase !important;
}

.product-card .add-to-cart-btn:disabled:hover,
.add-to-cart-btn:disabled:hover {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Out of Stock Button Styling */
.product-card.outofstock .product-info .add-to-cart,
.product-card.outofstock .product-info .button {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.product-card.outofstock .product-info .add-to-cart:hover,
.product-card.outofstock .product-info .button:hover {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Added to Cart state (if using AJAX) */
.product-card .product-info .added_to_cart {
    display: none !important;
}

/* Remove WooCommerce default button styles */
.woocommerce #respond input#submit.loading::after, 
.woocommerce a.button.loading::after, 
.woocommerce button.button.loading::after, 
.woocommerce input.button.loading::after {
    display: none !important;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    /* Ensure sidebar-hidden layouts also respond properly */
    .shop-sidebar.hidden ~ .shop-products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .shop-main-content {
        flex-direction: column !important;
    }
    
    .shop-sidebar {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* FORCE 2 columns on mobile - override everything - SCOPED TO SHOP PAGES ONLY */
    .woocommerce-shop ul.products,
    .shop-products ul.products,
    .shop-sidebar.hidden ~ .shop-products ul.products,
    .woocommerce-shop ul.products.products-per-row-3,
    .woocommerce-shop ul.products.products-per-row-4,
    .shop-products ul.products.products-per-row-3,
    .shop-products ul.products.products-per-row-4,
    .beginners-grid,
    ul.products.beginners-grid,
    .beginners-banner .container .products.beginners-grid,
    .beginners-banner .beginners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 20px !important;
    }
    
    /* ENFORCE SQUARE IMAGES ON MOBILE - All product cards */
    .product-card .product-image,
    .beginners-grid .product-image,
    .woocommerce-shop .product-image,
    .shop-products .product-image {
        position: relative !important;
        display: block !important;
        overflow: hidden !important;
        padding-bottom: 100% !important; /* Force square aspect ratio */
        height: 0 !important;
    }
    
    .product-card .product-image img,
    .beginners-grid .product-image img,
    .woocommerce-shop .product-image img,
    .shop-products .product-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .products-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .results-count {
        text-align: center !important;
        width: 100% !important;
    }
    
    .sort-container {
        justify-content: center !important;
        width: 100% !important;
    }
    
    /* Improve mobile spacing */
    .shop-main-container {
        padding: 0 10px !important;
    }
    
    .woocommerce-shop ul.products,
    .shop-products ul.products,
    .beginners-grid {
        gap: 15px !important;
    }
    
    .product-card .product-info .product-category,
    .beginners-grid .product-info .product-category,
    .product-tags,
    .product-tag {
        display: none !important;
    }
    
    .woocommerce-breadcrumb,
    .breadcrumbs {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Grid Layout - All product grids use 2 columns - SCOPED TO SHOP PAGES ONLY */
    .woocommerce-shop ul.products,
    .shop-products ul.products,
    .shop-sidebar.hidden ~ .shop-products ul.products,
    .beginners-grid,
    ul.products.beginners-grid,
    .beginners-banner .container .products.beginners-grid,
    .beginners-banner .beginners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    /* ENFORCE SQUARE IMAGES ON SMALL MOBILE - All product cards */
    .product-card .product-image,
    .beginners-grid .product-image,
    .woocommerce-shop .product-image,
    .shop-products .product-image {
        position: relative !important;
        display: block !important;
        overflow: hidden !important;
        padding-bottom: 100% !important; /* Force square aspect ratio */
        height: 0 !important;
    }
    
    .product-card .product-image img,
    .beginners-grid .product-image img,
    .woocommerce-shop .product-image img,
    .shop-products .product-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    /* Unified Card Heights - All product cards */
    .product-card,
    .beginners-grid li.product,
    .beginners-grid .product-card {
        min-height: 380px !important; /* Adjusted for fixed title height */
    }
    
    /* Unified Product Info Padding - All cards */
    .product-card .product-info,
    .beginners-grid .product-info {
        padding: 10px !important;
    }
    
    /* Unified Product Titles - All cards */
    .product-card .product-info .product-title,
    .product-card .product-info .product-title a,
    .beginners-grid .product-info .product-title,
    .beginners-grid .product-info .product-title a {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin: 0 0 8px 0 !important;
        height: 93px !important; /* Fixed height for 3 lines: 26px * 1.2 * 3 = 93.6px */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }
    
        /* Unified Category-Stock Container - Mobile */
    .product-card .product-info .product-category-stock,
    .beginners-grid .product-info .product-category-stock {
        margin: 0 0 8px 0 !important;
    }

    /* Unified Product Categories - Mobile */
    .product-card .product-info .product-category-stock .product-category,
    .beginners-grid .product-info .product-category-stock .product-category {
        font-size: 10px !important;
    }

    /* Unified Stock Status - Mobile */
    .product-card .product-info .product-category-stock .stock,
    .beginners-grid .product-info .product-category-stock .stock {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    
    /* Unified Product Prices - All cards */
    .product-card .product-info .price,
    .beginners-grid .product-info .price {
        font-size: 14px !important;
    }
    
    .product-card .product-info .price *,
    .beginners-grid .product-info .price * {
        font-size: 14px !important;
    }
    
    /* Unified Stock Status - All cards */
    .product-card .product-info .stock,
    .beginners-grid .product-info .stock {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }
    
    /* Unified Add to Cart Buttons - All cards */
    .product-card .product-info .add-to-cart,
    .product-card .product-info .button,
    .beginners-grid .product-info .add-to-cart,
    .beginners-grid .product-info .button {
        font-size: 12px !important;
        padding: 8px !important;
    }
    
    /* Out of Stock Button Styling - Mobile */
    .product-card.outofstock .product-info .add-to-cart,
    .product-card.outofstock .product-info .button,
    .beginners-grid .product-card.outofstock .product-info .add-to-cart,
    .beginners-grid .product-card.outofstock .product-info .button,
    .beginners-grid li.product.outofstock .product-info .add-to-cart,
    .beginners-grid li.product.outofstock .product-info .button {
        background-color: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }
    
    /* Unified Best Seller Badges - All cards */
    .product-card .product-image .best-seller,
    .beginners-grid .product-image .best-seller {
        font-size: 8px !important;
        padding: 2px 6px !important;
        top: 6px !important;
        right: 6px !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 320px) {
    /* Unified Grid Gap - All product grids - SCOPED TO SHOP PAGES ONLY */
    .woocommerce-shop ul.products,
    .shop-products ul.products,
    .shop-sidebar.hidden ~ .shop-products ul.products,
    .beginners-grid,
    ul.products.beginners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-top: 20px !important;
    }
    
    .shop-main-container {
        padding: 0 5px !important;
    }
    
    /* Unified Product Info Padding - All cards */
    .product-card .product-info,
    .beginners-grid .product-info {
        padding: 8px !important;
    }
    
    /* Unified Product Titles - All cards */
    .product-card .product-info .product-title,
    .product-card .product-info .product-title a,
    .beginners-grid .product-info .product-title,
    .beginners-grid .product-info .product-title a {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 0 8px 0 !important;
        height: 79px !important; /* Fixed height for 3 lines: 22px * 1.2 * 3 = 79.2px */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }
    
    /* Unified Stock Status - Extra Small Mobile */
    .product-card .product-info .product-category-stock .stock,
    .beginners-grid .product-info .product-category-stock .stock {
        font-size: 8px !important;
        padding: 1px 4px !important;
    }
    
    /* Unified Add to Cart Buttons - All cards */
    .product-card .product-info .add-to-cart,
    .product-card .product-info .button,
    .beginners-grid .product-info .add-to-cart,
    .beginners-grid .product-info .button {
        font-size: 11px !important;
        padding: 6px !important;
    }
    
    /* Out of Stock Button Styling - Extra Small Mobile */
    .product-card.outofstock .product-info .add-to-cart,
    .product-card.outofstock .product-info .button,
    .beginners-grid .product-card.outofstock .product-info .add-to-cart,
    .beginners-grid .product-card.outofstock .product-info .button,
    .beginners-grid li.product.outofstock .product-info .add-to-cart,
    .beginners-grid li.product.outofstock .product-info .button {
        background-color: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }
}

/* Beginner’s collection / shop banners: use scoped headings — do not style global .section-title here
   (front page, products, and single product blocks use the same class on <h2>). */
.beginners-banner > div:first-child h2,
.shop-banner .shop-banner-title {
    text-align: center;
    margin-bottom: 10px;
}

.container {
    max-width: 1585px;
    margin: 0 auto;
    padding: 0 20px;
}

.beginners-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Ensure beginner's collection products match main shop card dimensions */
.beginners-grid li.product,
.beginners-grid .product-card {
    height: auto !important;
    min-height: 420px !important; /* Set consistent minimum height - matches main shop */
}

/* Apply product-card styling to beginner's collection products */
.beginners-grid li.product,
.beginners-grid .product-card {
    border: 3px solid #000 !important;
    overflow: hidden !important;
    background-color: white !important;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    /* Reset potential li styles */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

.beginners-grid li.product:hover,
.beginners-grid .product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 8px 8px 0 rgba(255, 105, 180, 0.8) !important;
}

/* Product Image Container */
.beginners-grid .product-image {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    padding-bottom: 100% !important; /* Makes container square */
}

/* Product Image */
.beginners-grid .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    transition: transform 0.3s ease !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.beginners-grid li.product:hover .product-image img,
.beginners-grid .product-card:hover .product-image img {
    transform: scale(1.05) !important;
}

/* Best Seller Badge */
.beginners-grid .product-image .best-seller {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background-color: #ff69b4 !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    border: 2px solid #000 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    z-index: 2 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
}

/* Product Info Container */
.beginners-grid .product-info {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    text-align: left !important;
}

/* Product Title */
.beginners-grid .product-info .product-title,
.beginners-grid .product-info .product-title a {
    font-size: 26px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    color: #000 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-family: "bebas-neue", sans-serif !important;
    text-decoration: none !important;
    text-align: left !important;
    height: 93px !important; /* Fixed height for 3 lines: 26px * 1.2 * 3 = 93.6px */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.beginners-grid .product-info .product-title a:hover {
    color: #ff69b4 !important;
}

/* Product Category and Stock Container for Beginners Grid */
.beginners-grid .product-info .product-category-stock {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 0 10px 0 !important;
    gap: 10px !important;
}

/* Product Category for Beginners Grid */
.beginners-grid .product-info .product-category-stock .product-category {
    font-size: 12px !important;
    color: #555 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    text-align: left !important;
    flex-grow: 1 !important;
}

/* Stock Status for Beginners Grid */
.beginners-grid .product-info .product-category-stock .stock {
    font-size: 11px !important;
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}
.beginners-grid .product-info .product-category-stock .stock.out-of-stock {
    background-color: #fde8e8 !important;
    color: #b91c1c !important;
}
.beginners-grid .product-info .product-category-stock .stock.in-stock {
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
}
.beginners-grid .product-info .product-category-stock .stock.low-stock {
    background-color: #fef3cd !important;
    color: #856404 !important;
}

/* Product Details Container */
.beginners-grid .product-info .product-details {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: auto 0 10px 0 !important;
    text-align: left !important;
}

/* Product Price */
.beginners-grid .product-info .price {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    text-align: left !important;
}

.beginners-grid .product-info .price * {
    font-weight: bold !important;
    font-size: 16px !important;
    color: #000 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
}

.beginners-grid .product-info .price del {
    opacity: 0.6;
    font-weight: normal !important;
    margin-right: 5px;
}

/* Stock Status */
.beginners-grid .product-info .stock {
    font-size: 11px !important;
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-family: sans-serif !important;
    text-transform: none !important;
    font-weight: normal !important;
    text-align: left !important;
}

.beginners-grid .product-info .stock.out-of-stock {
    background-color: #fde8e8 !important;
    color: #b91c1c !important;
}
.beginners-grid .product-info .stock.in-stock {
    background-color: #e7f7e7 !important;
    color: #2a7d2a !important;
}
.beginners-grid .product-info .stock.low-stock {
    background-color: #fef3cd !important;
    color: #856404 !important;
}

/* Add to Cart Button */
.beginners-grid .product-info .add-to-cart,
.beginners-grid .product-info .button {
    width: 100% !important;
    background-color: #000 !important;
    color: white !important;
    border: 2px solid #000 !important;
    padding: 10px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
    margin-top: auto !important;
    border-radius: 0 !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    transition: all 0.2s ease !important;
    font-family: sans-serif !important;
}

.beginners-grid .product-info .add-to-cart:hover,
.beginners-grid .product-info .button:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 3px 3px 0 rgba(255, 105, 180, 0.8) !important;
}

/* Out of Stock Button Styling for Beginners Grid */
.beginners-grid .product-card.outofstock .product-info .add-to-cart,
.beginners-grid .product-card.outofstock .product-info .button,
.beginners-grid li.product.outofstock .product-info .add-to-cart,
.beginners-grid li.product.outofstock .product-info .button {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.beginners-grid .product-card.outofstock .product-info .add-to-cart:hover,
.beginners-grid .product-card.outofstock .product-info .button:hover,
.beginners-grid li.product.outofstock .product-info .add-to-cart:hover,
.beginners-grid li.product.outofstock .product-info .button:hover {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3) !important;
}



.view-collection {
    display: block;
    width: 200px;
    margin: 0 auto;
    background-color: #ff69b4;
    color: white;
    border: 3px solid #000;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
    cursor: pointer;
}

.view-collection:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 6px 6px 0 #000;
}

/* NUCLEAR OVERRIDE: Force 2 columns on mobile for beginners grid */
@media (max-width: 768px) {
    /* Maximum specificity selectors */
    html body .beginners-banner .container ul.products.beginners-grid,
    html body .beginners-grid,
    html body ul.products.beginners-grid,
    html body .beginners-banner .container .products.beginners-grid,
    html body .beginners-banner .beginners-grid,
    .beginners-grid,
    ul.products.beginners-grid,
    .beginners-banner .container .products.beginners-grid,
    .beginners-banner .beginners-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    /* Ensure individual products don't override */
    html body .beginners-banner .container ul.products.beginners-grid li,
    html body .beginners-grid li,
    .beginners-grid li,
    .beginners-banner .container .products.beginners-grid li {
        width: auto !important;
        max-width: none !important;
        grid-column: auto !important;
    }
    
    /* Force single product to stay in first column */
    .beginners-banner .container .products.beginners-grid li:only-child {
        grid-column: 1 / 2 !important;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .beginners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1200px) {
    .beginners-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.beginners-banner {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
    text-align: center;
    padding: 48px 0 24px 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.beginners-banner .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.beginners-banner h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1px;
}
.beginners-banner p {
    font-size: 1.2rem;
    color: #000;
    margin: 0;
    font-weight: 500;
}

/* Shopping Information Section */
.shopping-info-section {
    padding: 60px 0;
    background-color: #fff; /* Or desired background */
}

.shopping-info-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.shopping-info-title {
    font-family: "bebas-neue", sans-serif !important;
    font-size: 3em;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #000;
}

.shopping-info-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.info-box {
    border: 3px solid #000;
    padding: 30px;
    background-color: #fff;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8);
}

.info-box h3 {
    font-family: "bebas-neue", sans-serif !important;
    font-size: 3em;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    text-transform: uppercase;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.info-box ul li::before {
    content: '\2022'; /* Bullet character */
    color: #ff69b4; /* Pink bullet */
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1.5em; /* Position bullet */
    position: absolute;
    left: 10px;
    top: 0;
}

.faq-link-container {
    text-align: center;
    margin-top: 40px;
}

.faq-link {
    color: #ff69b4;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.faq-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Shop Archive Extra Content */
.shop-archive-extra-content {
    padding: 60px 0; /* match Shopping Information section spacing */
    background-color: #fff;
}
.shop-archive-extra-content .shop-main-container { /* align with grid left edge */
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.shop-archive-extra-content .shop-main-container > :first-child { margin-top: 0; }
.shop-archive-extra-content .shop-main-container > :last-child { margin-bottom: 0; }

/* Typography in extra content should match site styles */
.shop-archive-extra-content h1,
.shop-archive-extra-content h2,
.shop-archive-extra-content h3,
.shop-archive-extra-content h4 {
    font-family: "bebas-neue", sans-serif !important;
    font-weight: 900;
    color: #000;
    margin: 2rem 0 1rem 0; /* match blog-like spacing */
    text-transform: uppercase;
    line-height: 1.1;
}
.shop-archive-extra-content h1 { font-size: 4rem; }
.shop-archive-extra-content h2 { font-size: 3.5rem; }
.shop-archive-extra-content h3 { font-size: 2.5rem; }
.shop-archive-extra-content h4 { font-size: 1.75rem; }

.shop-archive-extra-content p,
.shop-archive-extra-content li {
    font-family: "Inter", sans-serif !important;
    font-size: 1.1rem;
    color: #000;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* blog paragraph spacing */
}
.shop-archive-extra-content ul,
.shop-archive-extra-content ol {
    margin: 1.5rem 0; /* match blog list spacing */
    padding-left: 1.5rem;
}

/* Responsive typography to mirror blog */
@media (max-width: 768px) {
    .shop-archive-extra-content h2 { font-size: 2.5rem; }
    .shop-archive-extra-content h3 { font-size: 1.875rem; }
    .shop-archive-extra-content p,
    .shop-archive-extra-content li { font-size: 16px; }
}

/* === CART NOTIFICATIONS === */
/* WooCommerce Messages & Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
    background: #f9e000 !important;
    border: 3px solid #000 !important;
    color: #000 !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1) !important;
    border-radius: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    position: relative !important;
    z-index: 1000 !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    content: none !important; /* Remove default WooCommerce icons */
}

/* Success Messages (Added to Cart) */
.woocommerce-message {
    background: #f9e000 !important;
    border-color: #000 !important;
    color: #000 !important;
}

/* Error Messages */
.woocommerce-error {
    background: #ff69b4 !important;
    border-color: #000 !important;
    color: #000 !important;
}

/* Info Messages */
.woocommerce-info {
    background: #000 !important;
    border-color: #000 !important;
    color: #f9e000 !important;
}

/* Message Links */
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: inherit !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    border: 2px solid currentColor !important;
    padding: 5px 10px !important;
    margin-left: 10px !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
    background: currentColor !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.5) !important;
}

/* Custom Cart Notification Popup */
.fungashead-cart-notification {
    position: fixed !important;
    top: 100px !important;
    right: 20px !important;
    background: #ffffff !important;
    border: 3px solid #000 !important;
    color: #000 !important;
    padding: 25px !important;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.8) !important;
    z-index: 9999 !important;
    max-width: 400px !important;
    font-family: "Bebas Neue", sans-serif !important;
    font-weight: 400 !important;
    opacity: 0 !important;
    transform: translateX(100%) !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.fungashead-cart-notification.show {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.fungashead-cart-notification.hide {
    opacity: 0 !important;
    transform: translateX(100%) !important;
}

.cart-notification-content {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.cart-notification-image {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border: 3px solid #000 !important;
    flex-shrink: 0 !important;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8) !important;
}

.cart-notification-text {
    flex: 1 !important;
}

.cart-notification-title {
    font-size: 24px !important;
    font-weight: 400 !important;
    margin: 0 0 8px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: "Bebas Neue", sans-serif !important;
}

.cart-notification-message {
    font-size: 18px !important;
    margin: 0 0 5px 0 !important;
    font-family: "Bebas Neue", sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cart-notification-price {
    font-size: 16px !important;
    margin: 0 !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 600 !important;
}

.cart-notification-close {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    color: #000 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease !important;
}

.cart-notification-close:hover {
    transform: scale(1.1) !important;
}

/* Loading state for buttons */
.add-to-cart.loading,
.button.loading {
    opacity: 0.6 !important;
    cursor: wait !important;
    position: relative !important;
}

.add-to-cart.loading::after,
.button.loading::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 16px !important;
    height: 16px !important;
    margin: -8px 0 0 -8px !important;
    border: 2px solid #fff !important;
    border-top: 2px solid transparent !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

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

/* Mobile responsiveness for notifications */
@media (max-width: 768px) {
    .fungashead-cart-notification {
        top: 80px !important;
        right: 15px !important;
        left: 15px !important;
        max-width: none !important;
        padding: 20px !important;
    }
    
    .cart-notification-content {
        gap: 15px !important;
    }
    
    .cart-notification-image {
        width: 80px !important;
        height: 80px !important;
    }
    
    .cart-notification-title {
        font-size: 20px !important;
    }
    
    .cart-notification-message {
        font-size: 16px !important;
    }
    
    .cart-notification-price {
        font-size: 14px !important;
    }
}

/* Product Card Reviews Styles */
.product-card-reviews {
    margin: 4px 0 8px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.card-rating-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.card-star {
    font-size: 14px;
    color: #ddd;
    transition: color 0.2s ease;
}

.card-star.filled {
    color: #ff69b4;
}

.card-star.half {
    position: relative;
    color: #ddd;
}

.card-star.half:after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ff69b4;
}

.card-rating-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile responsive for reviews */
@media (max-width: 768px) {
    .card-star {
        font-size: 12px;
    }
    
    .card-rating-text {
        font-size: 11px;
    }
}

/*
 * Front page: WooCommerce product loop
 * concatenated-front.css (home bundle) includes .products-section .product-card { … } rules
 * for the old custom card markup. Those use higher specificity than .shop-products and
 * treat .product-image as the <img>, breaking the shop aspect-ratio box and grid.
 * Scope overrides with .products-section--woo-grid (must load after the bundle: shop.css does).
 */
.products-section.products-section--woo-grid .shop-products ul.products,
.products-section.products-section--woo-grid .shop-products ul.products.home-featured-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

@media (min-width: 769px) {
    .products-section.products-section--woo-grid .shop-products ul.products,
    .products-section.products-section--woo-grid .shop-products ul.products.home-featured-product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1200px) {
    .products-section.products-section--woo-grid .shop-products ul.products.products-per-row-4,
    .products-section.products-section--woo-grid .shop-products ul.products.home-featured-product-grid.products-per-row-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.products-section.products-section--woo-grid .shop-products ul.products .product-card .product-image {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    padding-bottom: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: none !important;
    display: block !important;
    object-fit: unset !important;
    transition: transform 0.3s ease !important;
    top: auto !important;
    left: auto !important;
}

.products-section.products-section--woo-grid .shop-products ul.products .product-card .product-image a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.products-section.products-section--woo-grid .shop-products ul.products .product-card .product-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.products-section.products-section--woo-grid .shop-products ul.products .product-card:hover .product-image img {
    transform: scale(1.05) !important;
}

/* Undo legacy front-page !important title sizing (e.g. 48px / 180px) */
.products-section.products-section--woo-grid .shop-products .product-card .product-info .product-title,
.products-section.products-section--woo-grid .shop-products .product-card .product-info .product-title a {
    font-size: 28px !important;
    height: 93px !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

@media (min-width: 768px) {
    .products-section.products-section--woo-grid .shop-products .product-card .product-info .product-title,
    .products-section.products-section--woo-grid .shop-products .product-card .product-info .product-title a {
        font-size: 28px !important;
        height: 93px !important;
    }
}

/* View All CTA on front page when optimized CSS path skips home-sections.css (same as front-page.css) */
.view-all-container .view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    border-radius: 0;
    position: relative;
    font-size: 18px;
    padding: 20px 32px;
    border: 4px solid black;
    color: white;
    background-color: #ff69b4;
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    width: 50%;
}

.view-all-container .view-all-btn:hover {
    background-color: #e5509e;
    box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
}