/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
    --primary-natural: #5c7c58;
    --accent-earth: #b89d78;
    --bg-light: #f9f8f6;
    --text-dark: #2c3e50;
}

/* General Layout */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Product Cards Modernization */
.product-small,
.box {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Squared Images */
.product-small .box-image img,
.woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Buttons */
.button.primary,
.button.checkout,
.button.add_to_cart_button {
    background-color: var(--primary-natural) !important;
    border-radius: 25px !important;
    /* Pill shape for modern look */
    border: none !important;
}

.button:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 10px rgba(92, 124, 88, 0.3);
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* === HOMEPAGE & GLOBAL ELEMENTS MODERNIZATION === */

/* Header - Natural Style */
.header-main {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-bottom {
    background-color: var(--primary-natural);
    color: #fff;
}

.nav>li>a {
    color: var(--text-dark);
    font-weight: 500;
}

.header-bottom .nav>li>a {
    color: rgba(255, 255, 255, 0.9);
}

/* Home Sliders & Banners */
.slider .slide,
.banner .section-bg {
    filter: sepia(0.1) saturate(0.9);
    /* Subtle vintage/natural tone */
}

/* Section Titles */
.section-title span {
    border-bottom: 3px solid var(--accent-earth);
    color: var(--primary-natural);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer-wrapper {
    background-color: #1a1a1a;
    /* Dark sleek footer */
    color: #aeaeae;
}

.footer-primary .widget-title {
    color: var(--accent-earth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}