/**
 * Theme Name: Food Grocery Hub Child
 * Description: Food Grocery Hub Child theme
 * Author: Frederick F
 * Template: food-grocery-hub
 * Text Domain: food-grocery-hub
 * Version: 1.0.0
 */
 
.main-navigation a,
.nav-menu a,
#site-navigation a,
header ul li a {
    text-decoration: none !important;
}


/* Layout Container */
.test-shop-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar fixed width, Content fills rest */
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Sidebar Styling */
.shop-sidebar {
    background: #fdfdfd;
    padding: 20px;
    border-right: 1px solid #eee;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    border-bottom: 2px solid #2ecc71; /* Fresh Green */
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Test added */
/* Layout Container */
.test-shop-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar fixed width, Content fills rest */
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Sidebar Styling */
.shop-sidebar {
    background: #fdfdfd;
    padding: 20px;
    border-right: 1px solid #eee;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    border-bottom: 2px solid #2ecc71; /* Fresh Green */
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .test-shop-container {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/* WooCommerce Product Tweaks */
.shop-main-content .products {
    margin-top: 20px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Sidebar Filter Styling */
.shop-sidebar .widget_product_categories ul {
    list-style: none;
    padding: 0;
}

.shop-sidebar .widget_product_categories li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
}

.shop-sidebar .widget_product_categories li a {
    color: #444;
    text-decoration: none;
}

/* Price Filter Slider Color */
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #2ecc71 !important; /* Green for groceries */
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #2ecc71 !important;
}

/* Fix Search Box */
.shop-sidebar .woocommerce-product-search {
    display: flex;
    gap: 5px;
}

.shop-sidebar .woocommerce-product-search input[type="search"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shop-sidebar .woocommerce-product-search button {
    background: #2ecc71 !important;
    color: white;
    border: none;
    padding: 0 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

/* Ensure Price Filter is visible */
.widget_price_filter .price_slider_wrapper {
    padding: 10px 5px;
}

.widget_price_filter .price_label {
    margin-top: 10px;
    font-weight: bold;
}
/* Test added end */

/* Styling for Sidebar Widgets & Advertisement Banners */
.dynamic-shop-ads-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-sidebar-widget {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure banner images fill the sidebar width properly and scale nicely */
.shop-sidebar-widget img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Subtle hover effect for clickable ad banners */
.shop-sidebar-widget a:hover img {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

