/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========== WooCommerce‑Suchfeld – Gesamt‑Style ========== */

/* 1) Hintergrund & Rahmen des Eingabefelds */
#woocommerce-product-search-field-0,
.commercekit-ajax-search {
    background-color: #f3fad9 !important;   /* helles Grün */
    border: 2px solid #9dc043 !important;   /* grüner Rahmen */
    color: #24583e !important;              /* Textfarbe */
    padding-left: 2.5rem !important;        /* Platz für Lupe */
    background-image: none !important;      /* evtl. Theme‑Icon entfernen */
    border-radius: 8px !important;
    height: 48px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

#woocommerce-product-search-field-0:focus,
.commercekit-ajax-search:focus {
    background-color: #fff !important;
    border-color: #24583e !important;
    box-shadow: 0 0 0 3px rgba(36, 88, 62, 0.1) !important;
    outline: none !important;
}

/* 2) Placeholder‑Farbe angleichen */
#woocommerce-product-search-field-0::placeholder,
.commercekit-ajax-search::placeholder {
    color: #24583e !important;
    opacity: 0.7 !important;
}

/* 3) Browser‑Eigene Search‑Deko (Safari/Chrome) ausblenden */
#woocommerce-product-search-field-0::-webkit-search-decoration,
#woocommerce-product-search-field-0::-webkit-search-cancel-button,
#woocommerce-product-search-field-0::-webkit-search-results-button,
#woocommerce-product-search-field-0::-webkit-search-results-decoration,
.commercekit-ajax-search::-webkit-search-decoration,
.commercekit-ajax-search::-webkit-search-cancel-button,
.commercekit-ajax-search::-webkit-search-results-button,
.commercekit-ajax-search::-webkit-search-results-decoration {
    display: none;
}

/* 4) Lupen‑Icon des Themes einfärben (liegt als :before auf dem Form‑Wrapper) */
.widget_search:before,
.woocommerce-product-search:before,
.wp-block-search__inside-wrapper:before,
form.search-form:before {
    /* Grundposition bleibt erhalten */
    width: 20px !important;
    height: 20px !important;
    content: "";
    position: absolute;
    left: 0.8em;
    top: 50%;
    margin-top: -10px;            /* vertikal zentrieren */

    /* Farbe & Mask (SVG‑Pfad) */
    background-color: #24583e !important;        /* Grünton */
    -webkit-mask-image: url(data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E);
    mask-image: url(data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E);
    -webkit-mask-position: center; 
    mask-position: center;
    -webkit-mask-repeat: no-repeat; 
    mask-repeat: no-repeat;
    opacity: 1;                                   /* sicherstellen, dass nichts verblasst */
}

/* 
 * COMMERCEKIT AJAX SEARCH STYLING
 * Enhanced styling for dropdown search results
 */

/* 
 * CRITICAL Z-INDEX FIX: SEARCH DROPDOWN vs ELEMENTOR SLIDER
 * Ultimate solution to prevent slider from covering search results
 */

/* 1. MAXIMUM ELEVATION: Search containers get the highest possible z-index */
.site-header,
.main-header,
.site-search,
.site-search .widget,
.site-search form,
.woocommerce-product-search {
    z-index: 2147483647 !important; /* Maximum 32-bit integer value */
    position: relative !important;
    isolation: isolate !important;
}

/* 2. ULTIMATE PRIORITY: Search results MUST be on top */
.commercekit-ajs-results,
.commercekit-ajs-suggestions {
    z-index: 2147483647 !important; /* Maximum possible z-index */
    position: absolute !important; /* Absolute to follow search field during scroll */
    isolation: isolate !important;
    contain: layout style paint !important; /* CSS containment */
    height: 80vh !important; /* Allow dropdown to use 80% of viewport height */
    overflow-y: auto !important; /* Enable scrolling for long results */
}


/* 9. MOBILE REINFORCEMENT */
@media (max-width: 992px) {
    .site-header,
    .main-header,
    .site-search {
        z-index: 2147483647 !important;
        position: relative !important;
        isolation: isolate !important;
    }

    .commercekit-ajs-results,
    .commercekit-ajs-suggestions {
        z-index: 2147483647 !important;
        position: absolute !important;
        isolation: isolate !important;
        height: 80vh !important;
    }

    /* Force ALL mobile slider elements to background */
    .elementor,
    .elementor *,
    .swiper,
    .swiper * {
        z-index: 0 !important;
        max-height: none !important;

    }

    .swiper-slide-bg[role="img"],
    .swiper-slide-bg {
        z-index: -200 !important;
    }
}

/* Main search results container */
.commercekit-ajs-results {
    background: #fff !important;
    border: 2px solid #9dc043 !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 8px 24px rgba(36, 88, 62, 0.15), 
                0 4px 12px rgba(36, 88, 62, 0.1) !important;
    overflow: hidden !important;
}

/* Search suggestions container */
.commercekit-ajs-suggestions {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Individual suggestion items */
.commercekit-ajs-suggestions > .autocomplete-suggestion {
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.commercekit-ajs-suggestions > .autocomplete-suggestion:hover,
.commercekit-ajs-suggestions > .autocomplete-suggestion.active {
    background: linear-gradient(135deg, #f3fad9 0%, #f0f7d4 100%) !important;
}

.commercekit-ajs-suggestions > .autocomplete-suggestion:last-child {
    border-bottom: none !important;
    margin-bottom: 20px !important;
    padding-bottom: 8px !important;
}

/* Product suggestion styling */
.commercekit-ajs-suggestions .autocomplete-suggestion a {
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
}

.commercekit-ajs-suggestions .autocomplete-suggestion:hover a {
    color: #24583e !important;
}

/* Product image styling */
.commercekit-ajs-product-image {
    flex-shrink: 0 !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #e8e8e8 !important;
}

.commercekit-ajs-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Product description area */
.commercekit-ajs-product-desc {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

/* Product title styling */
.commercekit-ajs-product-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #333 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Product price styling */
.commercekit-ajs-product-price {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #24583e !important;
}

.commercekit-ajs-product-price del {
    color: #999 !important;
    font-weight: 400 !important;
    margin-right: 6px !important;
}

.commercekit-ajs-product-price ins {
    color: #24583e !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Match text highlighting */
.commercekit-ajs-results span.match-text {
    background: linear-gradient(135deg, #9dc043 0%, #8bc93a 100%) !important;
    color: #24583e !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Product short description */
.commercekit-ajs-results span.product-short-desc {
    color: #666 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
    display: block !important;
    font-weight: 400 !important;
}

/* View all results button */
.commercekit-ajs-view-all-holder {
    background: linear-gradient(135deg, #24583e 0%, #9dc043 100%) !important;
    border: none !important;
    position: relative !important;
    margin: 0 !important;
    z-index: 10 !important;
}

/* Last view all button - move to bottom */
.commercekit-ajs-view-all-holder:last-child {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.commercekit-ajs-view-all-holder > a {
    background: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: 44px !important;
    line-height: 44px !important;
    transition: all 0.2s ease !important;
}

.commercekit-ajs-view-all-holder > a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* Other results section */
.commercekit-ajs-other-result {
    background: linear-gradient(135deg, #24583e 0%, #9dc043 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 12px 0 !important;
    border-bottom: none !important;
    border-radius: 6px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    display: block !important;
    visibility: visible !important;
    z-index: 100 !important;
}

/* No suggestions message */
.commercekit-ajs-suggestions > .autocomplete-no-suggestion {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #666 !important;
    font-size: 14px !important;
    font-style: italic !important;
}

/* Scrollbar styling for search results */
.commercekit-ajs-results::-webkit-scrollbar {
    width: 6px !important;
}

.commercekit-ajs-results::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.commercekit-ajs-results::-webkit-scrollbar-thumb {
    background: #9dc043 !important;
    border-radius: 3px !important;
}

.commercekit-ajs-results::-webkit-scrollbar-thumb:hover {
    background: #24583e !important;
}

/* Hide additional-info in search results */
.commercekit-ajs-results .additional-info {
    display: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    
    .commercekit-ajs-suggestions .autocomplete-suggestion a {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    
    .commercekit-ajs-product-image {
        width: 40px !important;
        height: 40px !important;
    }
    
    .commercekit-ajs-product-title {
        font-size: 13px !important;
        -webkit-line-clamp: 1 !important;
    }
    
    .commercekit-ajs-product-price {
        font-size: 12px !important;
    }
}




/* Top‑Bar: Standardlisten‑Abstände entfernen */
.top-bar ul,
.top-bar ol {
    margin: 0 !important;   /* alle vier Seitenabstände auf 0 */
    padding: 0;             /* optional: Einrückung ebenfalls auf 0 */
}

/* 
 * MOBILE MENU SYSTEM
 * Proper fullscreen drawer implementation without taking up space when hidden
 */

/* Desktop navigation - normal behavior */
@media (min-width: 993px) {
    .col-full-nav {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 
                    0 4px 16px rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 998;
    }
}

/* Mobile navigation - fullscreen drawer system */
@media (max-width: 992px) {
    /* Remove any space-taking behavior from mobile navigation */
    .col-full-nav {
        position: fixed !important;
        top: 0 !important;
        left: -300px !important; /* Hidden by default */
        width: 300px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 102 !important;
        transition: left 0.35s ease !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* When menu is open - slides in from left */
    body.mobile-toggled .col-full-nav {
        left: 0 !important;
    }
    
    /* Mobile overlay behind menu */
    body.mobile-toggled::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 101;
        opacity: 1;
    }
    
    /* Prevent body scroll when menu is open */
    body.mobile-toggled {
        overflow: hidden !important;
    }
    
    /* Ensure site header has proper stacking */
    .site-header {
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Fix hamburger button z-index - ensure it's clickable */
    .site-branding button.menu-toggle {
        z-index: 105 !important; /* Higher than everything else */
        margin-top: 2%;
        margin-bottom: 2%;
        position: relative !important;
    }
    
    /* Ensure hamburger bars don't interfere with clicks */
    .menu-toggle .bar {
        z-index: 1 !important;
        pointer-events: none !important; /* Prevent bars from blocking clicks */
    }
}




/* 
 * Custom styles for SVG icons in menu descriptions
 * Fixes SVG display in primary navigation menu
 */

/* Desktop styles */
@media (min-width: 993px) {
    .menu-primary-menu-container .icon-wrapper {
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
    }
    .menu-primary-menu-container .icon-wrapper svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile styles - for mobile menu drawer */
@media (max-width: 992px) {
    /* Override default parent theme mobile menu styles */
    .col-full-nav .menu-primary-menu-container > ul > li > a,
    .col-full-nav .menu-primary-menu-container > ul > li.nolink {
        padding: 20px 0 !important;
        font-size: 17px !important;
        line-height: 1.4;
        border-bottom: 1px solid #e8e8e8;
        transition: all 0.2s ease;
        display: flex !important;
        align-items: center;
        min-height: 60px;
    }
    
    .col-full-nav .menu-primary-menu-container > ul > li:last-child > a,
    .col-full-nav .menu-primary-menu-container > ul > li:last-child.nolink {
        border-bottom: none;
    }
    
    .col-full-nav .menu-primary-menu-container > ul > li > a:hover,
    .col-full-nav .menu-primary-menu-container > ul > li > a:focus {
        background-color: #f5f5f5;
        padding-left: 10px !important;
    }
    
    /* SVG Icons in mobile menu */
    .col-full-nav .menu-primary-menu-container .icon-wrapper,
    .col-full-nav .shoptimizer-mobile-menu .icon-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        padding-left: 10px;
    }
    
    .col-full-nav .menu-primary-menu-container .icon-wrapper svg,
    .col-full-nav .shoptimizer-mobile-menu .icon-wrapper svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px;
        max-height: 20px;
    }
    
    /* Sub-menu styling improvements */
    .col-full-nav .main-navigation ul.menu ul li > a,
    .col-full-nav .main-navigation ul.menu ul li.nolink {
        padding: 16px 0 !important;
        font-size: 16px !important;
        border-bottom: 1px solid #f0f0f0;
        min-height: 52px;
        display: flex !important;
        align-items: center;
    }
    
    .col-full-nav .main-navigation ul.menu ul li:last-child > a,
    .col-full-nav .main-navigation ul.menu ul li:last-child.nolink {
        border-bottom: none;
    }
    
    /* Menu text styling */
    .col-full-nav .menu-primary-menu-container span {
        color: #333;
    }
    
    /* Ensure SVG icons don't interfere with mobile menu arrow buttons */
    .col-full-nav .main-navigation ul.menu li.menu-item-has-children .icon-wrapper {
        margin-right: 12px;
        z-index: 1;
    }
    
    /* Make sure the caret (arrow) is still visible and clickable */
    .col-full-nav .main-navigation ul.menu li.menu-item-has-children span.caret {
        z-index: 2;
        width: 44px !important;
        height: 44px !important;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Improved touch target for caret buttons */
    .col-full-nav .main-navigation ul.menu li.menu-item-has-children span.caret:after {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Spacing adjustments for menu items with children */
    .col-full-nav .main-navigation ul.menu li.menu-item-has-children > a {
        padding-right: 50px;
    }
    
    /* Language flags in mobile menu */
    .col-full-nav .wpml-ls-flag {
        width: 20px !important;
        height: auto !important;
        margin-right: 8px;
    }
}

/* 
 * PRICE DISPLAY STYLES
 * Migrated from JupiterX Child Theme
 */

/* Strikethrough effect for original prices */
.strikethrough:after {
    content: "";
    display: block;
    position: absolute;
    top: 25%;
    bottom: 25%;
    left: 0;
    right: 0;
    background-image: linear-gradient(to bottom right,transparent calc(50% - .25px),#e60a14 50%,#e60a14 calc(50% + 1px),transparent calc(50% + 1.25px));
}

.strikethrough, .original-price_st {
    position: relative;
}

/* Price tag for single product pages */
.price-tag {
    position: relative;
    padding: 10px;
    margin: 10px;
    background-color: #FAFBF7;
    text-align: left;
    font-family: Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #353b42;
}

/* Price tag for product lists/loops */  
.price-tag-right {
    position: relative;
    padding: 10px;
    margin: 10px;
    background-color: #FAFBF7;
    text-align: right;
    font-family: Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #353b42;
}

/* Discount badge for single product */
.discount {
    position: absolute;
    top: 0;
    left: 0;
    background-color: red;
    color: white;
    padding: 3px 20px;
    font-size: 1.50rem;
    font-weight: bold;
    z-index: 1;
}

/* Discount badge for product lists */
.discount-right {
    position: absolute;
    top: -39px;
    right: -30px;
    background-color: red;
    color: white;
    padding: 10px 20px;
    font-size: 1.50rem;
    font-weight: bold;
    z-index: 1;
}

/* Price box container */
.price-box {
    display: inline-block;
    padding: 20px;
    margin-top: 15px;
    vertical-align: top;
}

/* Original price styling */
.original-price {
    font-weight: 800;
    line-height: 1;
    font-size: .75rem;
    text-align: center;
}

@media (min-width: 1280px) {
    .original-price {
        font-size: .875rem;
    }
}

/* Sale price styling with responsive breakpoints */
.sale-price {
    font-weight: 800;
    line-height: 1 !important;
    padding: 0.25rem;
    color: black;
}

@media only screen and (max-width: 400px) {
    .sale-price {
        font-size: 1.0rem !important;
    }
}

@media only screen and (max-width: 600px) {
    .sale-price {
        font-size: 1.25rem !important;
    }
}

@media only screen and (min-width: 1280px) {
    .sale-price {
        font-size: 2.75rem !important;
    }
}

/* Additional product information */
.additional-info {
    font-size: 14px !important;
    color: #555 !important;
    padding-top: 20px !important;
    line-height: 1.5em !important;
}

.availability {
    font-size: smaller;
    color: #888;
}

/* 
 * BACKGROUND COLORS FOR PRODUCT PAGE SECTIONS
 */
.related-wrapper {
    background-color: #FAFBF7; /* Heller Grünton wie bei den Preis-Tags */
}

.woocommerce-tabs.wc-tabs-wrapper {
    background-color: #FAFBF7; /* Passend zur related-wrapper */
}

/* 
 * SIMILAR PRODUCTS SECTION - MOBILE FIXES
 * Fix overlapping products on product pages mobile view
 */
@media (max-width: 992px) {
    /* Similar products container - ensure proper spacing */
    .related-wrapper .related.products {
        margin: 20px 0 !important;
        padding: 15px !important;
    }
    
    /* Similar products grid - force proper 2-column layout */
    .related-wrapper .related.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
        column-gap: 15px !important;
        row-gap: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Individual similar product items */
    .related-wrapper .related.products ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    
    /* Similar products title */
    .related-wrapper .related.products h2 {
        margin: 0 0 20px 0 !important;
        padding: 0 15px !important;
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #24583e !important;
        text-align: center !important;
    }
}

/* Very small screens - compact similar products */
@media (max-width: 600px) {
    .related-wrapper .related.products {
        padding: 10px !important;
    }
    
    .related-wrapper .related.products ul.products {
        column-gap: 10px !important;
        row-gap: 15px !important;
        grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
    }
    
    .related-wrapper .related.products h2 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }
}

/* 
 * MINIMAL SIMILAR PRODUCTS MOBILE FIX
 * Override parent theme's 320px fixed width carousel
 */
@media (max-width: 992px) {
    .related.products ul.products,
    .upsells.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        overflow-x: visible !important;
        flex-wrap: wrap !important;
        margin-left: 0 !important;
        padding: 15px !important;
    }
    
    .related.products ul.products li.product,
    .upsells.products ul.products li.product {
        max-width: none !important;
        min-width: auto !important;
        width: 100% !important;
        scroll-snap-align: none !important;
    }
}

/* 
 * PRODUCT CATEGORIES WIDGET STYLING
 * Custom styling for desktop sidebar categories
 */
.widget_product_categories .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_product_categories .product-categories li {
    margin: 0 0 12px 0;
    padding: 0;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 12px;
}

.widget_product_categories .product-categories li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget_product_categories .product-categories li a {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: #24583e;
    text-decoration: none;
    padding: 12px 20px;
    background-color: #f3fad9;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 6px solid transparent;
    text-align: left;
    margin: 0 -10px;
    width: calc(100% + 20px);
    box-sizing: border-box;
}

.widget_product_categories .product-categories li a:hover,
.widget_product_categories .product-categories li a:focus {
    background-color: #9dc043;
    color: #24583e;
    font-weight: 800;
    border-left-color: #24583e;
}

.widget_product_categories .gamma.widget-title {
    font-weight: 800;
    font-size: 20px;
    color: #24583e;
    margin-bottom: 20px;
    border-bottom: 3px solid #9dc043;
    padding-bottom: 8px;
    padding-left: 0;
    text-align: left;
}

/* 
 * PAGINATION STYLING
 * Schöne, fette Nummern zentral in der Mitte groß
 */
.woocommerce-pagination {
    text-align: center !important;
    margin: 40px 0 !important;
    padding: 20px 0;
    background-color: #FAFBF7;
    border-radius: 8px;
}

.woocommerce-pagination .page-numbers {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce-pagination .page-numbers li {
    margin: 0 !important;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-block !important;
    padding: 12px 16px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    min-width: 50px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #24583e !important;
    background-color: #fff;
    border: 2px solid #e8e8e8;
}

.woocommerce-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers a:focus {
    background-color: #9dc043 !important;
    color: #24583e !important;
    border-color: #9dc043 !important;
    transform: translateY(-2px);
}

.woocommerce-pagination .page-numbers .current {
    background-color: #24583e !important;
    color: #fff !important;
    border-color: #24583e !important;
    font-weight: 900 !important;
    font-size: 20px !important;
}

.woocommerce-pagination .page-numbers .dots {
    border: none !important;
    background: none !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #24583e !important;
}

.woocommerce-pagination .page-numbers .next,
.woocommerce-pagination .page-numbers .prev {
    font-size: 20px !important;
    font-weight: 900 !important;
}

/* Tablet and mobile pagination optimization */
@media (max-width: 992px) {
    .woocommerce-pagination {
        margin: 20px 0 !important;
        padding: 15px 10px !important;
        background-color: #FAFBF7;
        border-radius: 8px;
    }
    
    .woocommerce-pagination .page-numbers {
        gap: 6px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .woocommerce-pagination .page-numbers li {
        margin: 2px !important;
    }
    
    .woocommerce-pagination .page-numbers a,
    .woocommerce-pagination .page-numbers span {
        padding: 10px 12px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        min-width: 44px !important;
        height: 44px !important;
        border-radius: 6px !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
    
    .woocommerce-pagination .page-numbers .current {
        font-size: 16px !important;
        font-weight: 800 !important;
        background-color: #24583e !important;
        color: #fff !important;
    }
    
    .woocommerce-pagination .page-numbers .next,
    .woocommerce-pagination .page-numbers .prev {
        font-size: 14px !important;
        font-weight: 700 !important;
        padding: 8px 16px !important;
        min-width: auto !important;
    }
    
    .woocommerce-pagination .page-numbers .dots {
        font-size: 16px !important;
        padding: 8px 4px !important;
        min-width: 20px !important;
    }
}

/* Very small screens - compact pagination */
@media (max-width: 480px) {
    .woocommerce-pagination {
        margin: 15px 0 !important;
        padding: 10px 5px !important;
    }
    
    .woocommerce-pagination .page-numbers {
        gap: 4px !important;
    }
    
    .woocommerce-pagination .page-numbers a,
    .woocommerce-pagination .page-numbers span {
        padding: 8px 10px !important;
        font-size: 14px !important;
        min-width: 38px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }
    
    .woocommerce-pagination .page-numbers .current {
        font-size: 14px !important;
    }
    
    .woocommerce-pagination .page-numbers .next,
    .woocommerce-pagination .page-numbers .prev {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}

/* 
 * PAGINATION ZENTRAL IN DER MITTE DER SEITE
 * Pagination am Ende des Contents zentrieren
 */
.woocommerce-pagination {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    clear: both;
}

/* 
 * SORTING/ORDERING STYLING
 * Style the sorting dropdown to match pagination design
 */
.shoptimizer-sorting {
    text-align: center !important;
    margin: 0 0 30px 0 !important;
    background-color: #FAFBF7;
    border-radius: 8px;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.shoptimizer-sorting .woocommerce-ordering {
    display: inline-block;
    margin: 0;
}

.shoptimizer-sorting .orderby {
    background-color: #fff !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #24583e !important;
    min-width: 200px !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324583e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
    padding-right: 32px !important;
}

.shoptimizer-sorting .orderby:hover,
.shoptimizer-sorting .orderby:focus {
    background-color: #9dc043 !important;
    color: #24583e !important;
    border-color: #9dc043 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(36, 88, 62, 0.2) !important;
    outline: none !important;
}

.shoptimizer-sorting .orderby option {
    background-color: #fff !important;
    color: #24583e !important;
    padding: 8px !important;
}

/*
 * PRODUCT CARD STYLING
 * Card-style layout for product grid items
 */
.products li.product {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
    margin: 0 15px 25px 15px !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.products li.product:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Ensure equal height for all cards in a row */
.products.columns-3,
.products.columns-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
}

.products.columns-3 li.product {
    flex: 0 0 calc(33.333% - 30px) !important;
    max-width: calc(33.333% - 30px) !important;
}

.products.columns-4 li.product {
    flex: 0 0 calc(25% - 30px) !important;
    max-width: calc(25% - 30px) !important;
}

/* Product image wrapper styling - smaller */
.products li.product .woocommerce-image__wrapper {
    margin: 0 !important;
    padding: 12px 12px 0 12px !important;
    border-radius: 12px 12px 0 0 !important;
}

.products li.product .woocommerce-image__wrapper img {
    border-radius: 6px !important;
    width: 100% !important;
    height: auto !important;
}

/* Product content area - smaller padding */
.products li.product .woocommerce-card__header {
    padding: 12px !important;
    background: #fff !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Product categories styling */
.products li.product .product__categories {
    margin: 0 0 8px 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.products li.product .product__categories a {
    color: #9dc043 !important;
    text-decoration: none !important;
}

.products li.product .product__categories a:hover {
    color: #24583e !important;
}

/* Product title styling - fixed height for consistency */
.products li.product .woocommerce-loop-product__title {
    margin: 0 0 12px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    min-height: 4.2em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.products li.product .woocommerce-loop-product__title a {
    color: #333 !important;
    text-decoration: none !important;
}

.products li.product .woocommerce-loop-product__title a:hover {
    color: #24583e !important;
}

/* Price styling within cards */
.products li.product .price {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.products li.product .price-tag-right {
    margin: 0 !important;
    padding: 12px !important;
    background-color: #FAFBF7 !important;
    border-radius: 8px !important;
    text-align: left !important;
    position: relative !important;
}

/* Shopping list button */
.products li.product .shopping-list-btn {
    background-color: #24583e !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 12px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.products li.product .shopping-list-btn:hover {
    background-color: #9dc043 !important;
    color: #24583e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(36, 88, 62, 0.2) !important;
}

.products li.product .shopping-list-btn:active {
    transform: translateY(0) !important;
}

/* 
 * MOBILE PRODUCT GRID - PROPER CSS GRID IMPLEMENTATION
 * Override parent theme's grid system to force 2 columns on mobile
 */

/* Mobile grid system - matches parent theme but forces 2 columns */
@media (max-width: 992px) {
    /* Override parent theme's product grid with CSS Grid */
    ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
        column-gap: 15px !important;
        row-gap: 20px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        float: none !important;
    }
    
    /* Remove flexbox behavior from desktop */
    .products.columns-3,
    .products.columns-4 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
        margin: 0 !important;
    }
    
    .products.columns-3 li.product,
    .products.columns-4 li.product {
        flex: none !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

/* Very small screens - still keep 2 columns but smaller gaps */
@media (max-width: 600px) {
    ul.products {
        column-gap: 10px !important;
        row-gap: 15px !important;
        grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    }
    
    /* Override parent theme's single column for very small screens */
    .m-grid-1 ul.products {
        grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    }
}

/* Responsive adjustments for cards */
@media (max-width: 992px) {
    /* Optimize sidebar layout on mobile */
    .secondary-wrapper {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    #secondary.widget-area {
        padding-top: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .widget_product_categories .product-categories li {
        margin: 0 0 8px 0 !important;
        padding-bottom: 8px !important;
    }
    
    .widget_product_categories .product-categories li a {
        padding: 8px 16px !important;
        font-size: 14px !important;
        margin: 0 -8px !important;
        width: calc(100% + 16px) !important;
        box-sizing: border-box !important;
        border-left: 4px solid transparent !important;
    }
    
    /* Product grid adjustments - removed conflicting flexbox rules */
    
    .products li.product .woocommerce-image__wrapper {
        padding: 8px 8px 0 8px !important;
    }
    
    .products li.product .woocommerce-card__header {
        padding: 8px !important;
    }
    
    .products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
        min-height: 3.6em !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .products li.product .price-tag-right {
        padding: 8px !important;
    }
    
    .products li.product .shopping-list-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        margin-top: 8px !important;
    }
    
    /* Reduce header spacing on mobile */
    .woocommerce-products-header {
        margin-bottom: 15px !important;
        padding: 10px 0 !important;
    }
    
    .shoptimizer-sorting {
        margin: 10px 0 20px 0 !important;
        padding: 15px 0 !important;
    }
}

@media (max-width: 480px) {
    /* Very small screen adjustments - removed conflicting flexbox rules */
    .products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        min-height: 3.2em !important;
    }
    
    .products li.product .shopping-list-btn {
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
}

/* 
 * MOBILE FILTER BUTTON REDESIGN
 * Complete redesign to match green CI with better touch targets
 */

@media (max-width: 992px) {
    /* Redesigned mobile filter button */
    .mobile-filter {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: sticky !important;
        z-index: 10 !important;
        top: 20px !important;
        width: 100% !important;
        height: 60px !important; /* Increased from 40px for better touch target */
        padding: 12px 20px !important;
        background: linear-gradient(135deg, #24583e 0%, #9dc043 100%) !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(36, 88, 62, 0.25), 
                    0 2px 6px rgba(36, 88, 62, 0.15) !important;
        text-transform: uppercase !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.5px !important;
        text-align: center !important;
        margin: 0 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        touch-action: manipulation !important;
    }
    
    .mobile-filter:hover,
    .mobile-filter:focus {
        background: linear-gradient(135deg, #1e4935 0%, #8bc93a 100%) !important;
        box-shadow: 0 6px 20px rgba(36, 88, 62, 0.35), 
                    0 3px 10px rgba(36, 88, 62, 0.25) !important;
        transform: translateY(-1px) !important;
    }
    
    .mobile-filter:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(36, 88, 62, 0.3) !important;
    }
    
    /* Redesigned SVG icon */
    .mobile-filter svg {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 22px !important;
        height: 22px !important;
        margin-right: 10px !important;
        color: #fff !important;
        stroke: currentColor !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure proper text styling */
    .mobile-filter {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    }
    
    /* Filter open state styling */
    body.filter-open .mobile-filter {
        background: linear-gradient(135deg, #1e4935 0%, #7db034 100%) !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 
                    0 4px 12px rgba(36, 88, 62, 0.25) !important;
    }
    
    /* Mobile overlay styling improvements */
    .mobile-overlay {
        background: rgba(36, 88, 62, 0.4) !important; /* Green-tinted overlay */
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
    }
    
    /* Enhanced close button styling */
    .filters.close-drawer {
        background: rgba(36, 88, 62, 0.9) !important;
        border-radius: 50% !important;
        width: 50px !important;
        height: 50px !important;
        border: 2px solid #fff !important;
        transition: all 0.3s ease !important;
    }
    
    .filters.close-drawer:hover {
        background: #24583e !important;
        transform: scale(1.1) !important;
    }
    
    .filters.close-drawer svg {
        width: 24px !important;
        height: 24px !important;
        color: #fff !important;
    }
    
    /* Sidebar enhancements when opened as filter drawer */
    body.filter-open #secondary.widget-area {
        background: #fafbf7 !important; /* Light green background */
        border-right: 3px solid #9dc043 !important;
    }
    
    /* Widget title styling in filter drawer */
    body.filter-open #secondary .widget-title {
        color: #24583e !important;
        font-weight: 800 !important;
        border-bottom: 2px solid #9dc043 !important;
        padding-bottom: 10px !important;
        margin-bottom: 20px !important;
    }
    
    /* Category links in filter drawer */
    body.filter-open #secondary .product-categories li a {
        background-color: #fff !important;
        border-left: 4px solid #9dc043 !important;
        color: #24583e !important;
    }
    
    body.filter-open #secondary .product-categories li a:hover {
        background-color: #9dc043 !important;
        color: #24583e !important;
        font-weight: 800 !important;
    }
}

/* Very small screens - keep button prominent */
@media (max-width: 600px) {
    .mobile-filter {
        height: 55px !important;
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    .mobile-filter svg {
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px !important;
    }
}

/*
 * DESKTOP FILTER & CONTENT LAYOUT ADJUSTMENTS
 * Expand desktop filter from 17% to 20%, content from 71% to 79%
 */
@media (min-width: 993px) {
    /* Expand filter sidebar width to 20% */
    .left-woocommerce-sidebar #secondary,
    .right-woocommerce-sidebar #secondary {
        width: 20% !important;
    }

    /* Adjust content area to use remaining 79% */
    .left-woocommerce-sidebar .content-area,
    .right-woocommerce-sidebar .content-area {
        width: 79% !important;
    }

    /* Ensure proper spacing between sidebar and content */
    .left-woocommerce-sidebar .content-area {
        margin-left: 1% !important;
    }

    .right-woocommerce-sidebar .content-area {
        margin-right: 1% !important;
    }
}

/* 
 * RECENTLY VIEWED PRODUCTS WIDGET STYLING
 * Compact design: image left + price right, title in product link
 */
.widget_recently_viewed_products {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.widget_recently_viewed_products .gamma.widget-title {
    font-weight: 800 !important;
    font-size: 18px !important;
    color: #24583e !important;
    margin-bottom: 12px !important;
    border-bottom: 2px solid #9dc043 !important;
    padding-bottom: 6px !important;
    text-align: left !important;
}

.widget_recently_viewed_products ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_recently_viewed_products ul li {
    margin-bottom: 8px !important;
    padding: 0 0 8px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.widget_recently_viewed_products ul li:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Product link with image and title */
.widget_recently_viewed_products ul li a {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: color 0.2s ease !important;
}

.widget_recently_viewed_products ul li a:hover {
    color: #24583e !important;
}

/* Product image - left side, equal size to price box */
.widget_recently_viewed_products ul li a img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    border: none !important;
}

/* Product title */
.widget_recently_viewed_products ul li a .product-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* Price container - right side */
.widget_recently_viewed_products ul li .price-tag-right {
    margin: 0 !important;
    padding: 6px 8px !important;
    background: linear-gradient(135deg, #f3fad9 0%, #f0f7d4 100%) !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    position: relative !important;
    border: none !important;
    min-width: 60px !important;
    width: 60px !important;
    height: 60px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

/* Price box styling */
.widget_recently_viewed_products ul li .price-box {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Sale price - bolder and more prominent */
.widget_recently_viewed_products ul li .sale-price {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #24583e !important;
    line-height: 1 !important;
    display: block !important;
}

/* Original price - smaller */
.widget_recently_viewed_products ul li .original-price {
    font-size: 9px !important;
    font-weight: 600 !important;
    opacity: 0.7 !important;
    display: block !important;
    margin-top: 2px !important;
}

/* Larger red discount badge */
.widget_recently_viewed_products ul li .discount-right {
    position: absolute !important;
    top: -8px !important;
    right: -6px !important;
    background: #e60a14 !important;
    color: white !important;
    padding: 4px 6px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    line-height: 1 !important;
    z-index: 2 !important;
    text-transform: uppercase !important;
    min-width: 20px !important;
    text-align: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Hide additional-info completely */
.widget_recently_viewed_products .additional-info {
    display: none !important;
}

/* Better centering when no discount badge is present */
.widget_recently_viewed_products ul li .price-tag-right:not(:has(.discount-right)) .sale-price {
    font-size: 16px !important;
}

.widget_recently_viewed_products ul li .price-tag-right:not(:has(.discount-right)) .original-price {
    font-size: 10px !important;
}

/* Mobile optimization - even more compact */
@media (max-width: 768px) {
    .widget_recently_viewed_products {
        padding: 10px !important;
        margin-bottom: 12px !important;
    }
    
    .widget_recently_viewed_products .gamma.widget-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        padding-bottom: 4px !important;
    }
    
    .widget_recently_viewed_products ul li {
        margin-bottom: 6px !important;
        gap: 8px !important;
    }
    
    .widget_recently_viewed_products ul li a img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .widget_recently_viewed_products ul li a .product-title {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .widget_recently_viewed_products ul li .price-tag-right {
        padding: 3px 5px !important;
        font-size: 10px !important;
        min-width: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .widget_recently_viewed_products ul li .sale-price {
        font-size: 11px !important;
    }
    
    .widget_recently_viewed_products ul li .original-price {
        font-size: 8px !important;
    }
    
    .widget_recently_viewed_products ul li .discount-right {
        padding: 2px 4px !important;
        font-size: 8px !important;
        top: -6px !important;
        right: -4px !important;
    }
}