/*
Theme Name: Fix Your Grow Child
Description: Custom child theme for Fix Your Grow platform with professional WooCommerce integration
Template: storefront
Version: 1.0.0
Author: Fix Your Grow
*/

/* Import Parent Theme */
@import url("../storefront/style.css");

/* ================================
   Google Fonts Import
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=National+Park:wght@400;500;600;700&display=swap');

/* ================================
   Fix Your Grow Brand Variables
   ================================ */
:root {
    --fyg-primary: #2d5a2d;      /* Primary Green */
    --fyg-secondary: #4a7c59;    /* Secondary Green */
    --fyg-accent: #7fb069;       /* Accent Green */
    --fyg-light: #a7d389;        /* Light Green */
    --fyg-dark: #1a3d1a;         /* Forest Green */
    --fyg-white: #ffffff;
    --fyg-gray: #f8f9fa;
    --fyg-text: #333333;
    --fyg-text-light: #555555;
    --fyg-border: #e0e0e0;
}

/* ================================
   Typography System Override
   ================================ */
body {
    font-family: 'Public Sans', sans-serif !important;
    line-height: 1.6;
    color: var(--fyg-text);
    background-color: var(--fyg-gray);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.woocommerce-loop-product__title,
.entry-title {
    font-family: 'National Park', serif !important;
    font-weight: 600 !important;
    color: var(--fyg-primary) !important;
    line-height: 1.3 !important;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1.25rem !important; }
h5 { font-size: 1.1rem !important; }
h6 { font-size: 1rem !important; }

p {
    color: var(--fyg-text-light);
    margin-bottom: 1rem;
}

/* ================================
   Header Styling Override
   ================================ */
.site-header {
    background: linear-gradient(135deg, var(--fyg-primary) 0%, var(--fyg-secondary) 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    padding: 1rem 0 !important;
}

.site-title,
.site-title a {
    color: white !important;
    font-family: 'National Park', serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.site-title a:hover {
    color: var(--fyg-light) !important;
    text-decoration: none !important;
}

.site-description {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.9rem !important;
}

/* Navigation Styling */
.main-navigation a {
    color: white !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 3px !important;
    transition: background-color 0.3s ease !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    text-decoration: none !important;
}

.main-navigation ul ul {
    background: var(--fyg-primary) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

/* Mobile Menu Button */
.menu-toggle {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.menu-toggle:hover {
    background: white !important;
    color: var(--fyg-primary) !important;
}

/* ================================
   Button System Override
   ================================ */
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
input[type="submit"],
.wp-block-button__link,
.more-link {
    background: var(--fyg-primary) !important;
    color: white !important;
    border: 2px solid var(--fyg-primary) !important;
    border-radius: 5px !important;
    padding: 12px 24px !important;
    font-weight: 500 !important;
    font-family: 'Public Sans', sans-serif !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.more-link:hover {
    background: var(--fyg-dark) !important;
    color: white !important;
    border-color: var(--fyg-dark) !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
}

/* Secondary Button Style */
.button.secondary,
.woocommerce a.button.alt {
    background: transparent !important;
    color: var(--fyg-primary) !important;
    border-color: var(--fyg-primary) !important;
}

.button.secondary:hover,
.woocommerce a.button.alt:hover {
    background: var(--fyg-primary) !important;
    color: white !important;
}

/* ================================
   WooCommerce Product Grid
   ================================ */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    background: white !important;
    border: 1px solid var(--fyg-border) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(45, 90, 45, 0.1) !important;
    border-color: var(--fyg-primary) !important;
}

/* Product Images */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    margin-bottom: 15px !important;
}

/* Product Titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'National Park', serif !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
    color: var(--fyg-primary) !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

/* Product Prices */
.woocommerce ul.products li.product .price {
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: var(--fyg-secondary) !important;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .price del {
    color: #999 !important;
    opacity: 0.7 !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--fyg-accent) !important;
}

/* Add to Cart Buttons */
.woocommerce ul.products li.product .button {
    margin-top: auto !important;
    width: 100% !important;
    text-align: center !important;
}

/* ================================
   Shop Page Layout
   ================================ */
.woocommerce-shop .content-area {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    color: var(--fyg-text-light);
    font-size: 0.9rem;
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid var(--fyg-border);
    border-radius: 4px;
    padding: 0.5rem;
}

/* ================================
   Single Product Page
   ================================ */
.single-product .content-area {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.woocommerce div.product .product_title {
    color: var(--fyg-primary) !important;
    font-family: 'National Park', serif !important;
}

.woocommerce div.product p.price {
    color: var(--fyg-secondary) !important;
    font-size: 1.5em !important;
    font-weight: 600 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--fyg-text-light);
    line-height: 1.6;
}

/* ================================
   Cart & Checkout Pages
   ================================ */
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.woocommerce table.shop_table {
    border: 1px solid var(--fyg-border);
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--fyg-gray);
    color: var(--fyg-primary);
    font-weight: 600;
}

.woocommerce table.shop_table td {
    border-color: var(--fyg-border);
}

/* ================================
   Homepage Hero Section
   ================================ */
.fyg-hero {
    background: linear-gradient(135deg, var(--fyg-primary) 0%, var(--fyg-secondary) 50%, var(--fyg-accent) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.fyg-hero h1 {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
}

.fyg-hero p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
}

.fyg-hero .button {
    margin: 0.5rem !important;
}

/* ================================
   Services Grid (Homepage)
   ================================ */
.fyg-services-section {
    background: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.fyg-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.fyg-service-category {
    background: var(--fyg-gray);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--fyg-border);
    box-shadow: 0 5px 20px rgba(45, 90, 45, 0.1);
}

.fyg-service-category h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--fyg-primary) !important;
}

.fyg-products-list {
    display: grid;
    gap: 1rem;
}

.fyg-service-category.community .fyg-products-list {
    grid-template-columns: 1fr 1fr;
}

.fyg-service-category.consultation .fyg-products-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.fyg-product-card {
    background: white;
    border: 1px solid var(--fyg-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fyg-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.15);
    border-color: var(--fyg-primary);
}

.fyg-product-name {
    font-family: 'National Park', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fyg-primary);
    margin-bottom: 0.5rem;
}

.fyg-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fyg-secondary);
    margin-bottom: 1rem;
}

.fyg-product-description {
    font-size: 0.9rem;
    color: var(--fyg-text-light);
    margin-bottom: 1rem;
}

/* ================================
   Features Grid (Why Choose Us)
   ================================ */
.fyg-features-section {
    background: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.fyg-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.fyg-feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--fyg-gray);
    border-radius: 12px;
    border: 1px solid var(--fyg-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fyg-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.1);
    border-color: var(--fyg-primary);
}

.fyg-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.fyg-feature-item h3 {
    color: var(--fyg-primary) !important;
    margin-bottom: 1rem !important;
}

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

/* ================================
   Call to Action Section
   ================================ */
.fyg-cta-section {
    background: linear-gradient(135deg, var(--fyg-secondary) 0%, var(--fyg-primary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 8px;
    margin: 3rem 0;
}

.fyg-cta-section h2 {
    color: white !important;
    margin-bottom: 1rem !important;
}

.fyg-cta-section p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

.fyg-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fyg-cta-section .button {
    border-color: white !important;
    margin: 0.5rem !important;
}

.fyg-cta-section .button.primary {
    background: white !important;
    color: var(--fyg-primary) !important;
}

.fyg-cta-section .button.primary:hover {
    background: var(--fyg-light) !important;
    color: var(--fyg-dark) !important;
}

.fyg-cta-section .button.secondary {
    background: transparent !important;
    color: white !important;
}

.fyg-cta-section .button.secondary:hover {
    background: white !important;
    color: var(--fyg-primary) !important;
}

/* ================================
   Footer Styling Override
   ================================ */
.site-footer {
    background: var(--fyg-dark) !important;
    color: white !important;
    padding: 3rem 0 1rem !important;
    margin-top: 4rem !important;
}

.site-footer .widget-title {
    color: var(--fyg-light) !important;
    font-family: 'National Park', serif !important;
}

.site-footer a {
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.3s ease !important;
}

.site-footer a:hover {
    color: var(--fyg-light) !important;
    text-decoration: none !important;
}

.site-footer .site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ================================
   Mobile Responsive Design
   ================================ */
@media (max-width: 768px) {
    /* Typography Scaling */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }

    .fyg-hero h1 {
        font-size: 2rem !important;
    }

    /* Grid Layouts */
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .fyg-services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .fyg-service-category.community .fyg-products-list,
    .fyg-service-category.consultation .fyg-products-list {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .fyg-features-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    /* Navigation */
    .main-navigation ul {
        background: var(--fyg-primary) !important;
    }

    /* Buttons */
    .fyg-cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }

    .fyg-cta-buttons .button {
        width: 80% !important;
        max-width: 300px !important;
    }

    /* Spacing */
    .fyg-hero,
    .fyg-services-section,
    .fyg-features-section,
    .fyg-cta-section {
        padding: 2rem 0 !important;
    }

    .fyg-service-category,
    .fyg-feature-item {
        padding: 1.5rem !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ================================
   Accessibility Improvements
   ================================ */
.button:focus,
.woocommerce a.button:focus,
input[type="submit"]:focus {
    outline: 2px solid var(--fyg-accent) !important;
    outline-offset: 2px !important;
}

.skip-link {
    background: var(--fyg-primary) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none !important;
}

.skip-link:focus {
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

/* ================================
   Print Styles
   ================================ */
@media print {
    .site-header,
    .site-footer,
    .main-navigation,
    .fyg-cta-section {
        display: none !important;
    }

    body {
        font-family: serif !important;
        color: black !important;
        background: white !important;
    }

    .fyg-hero,
    .fyg-services-section,
    .fyg-features-section {
        background: white !important;
        color: black !important;
    }
}

/* Full-width WooCommerce layout */
.woocommerce.no-sidebar .content-area {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Shop grid for full-width layout */
.woocommerce ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products.columns-3 li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.woocommerce ul.products.columns-3 li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 90, 45, 0.1);
    border-color: #2d5a2d;
}

/* ================================
   Homepage Layout Fixes
   ================================ */

/* Remove sidebar from homepage and create full-width layout */
.fyg-no-sidebar {
    width: 100% !important;
    max-width: none !important;
}

.fyg-full-width {
    width: 100% !important;
    max-width: none !important;
}

/* Hero Section Improvements */
.fyg-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.fyg-hero h1 {
    padding: 0 60px;
}

.fyg-hero-subtitle {
    padding: 0 40px;
}

.fyg-hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.fyg-hero-feature {
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 500;
}

/* Bordered Sections with Padding */
.fyg-bordered-section {
    border: 3px solid var(--fyg-primary) !important;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 5px 20px rgba(45, 90, 45, 0.1);
}

/* Centered Headers */
.fyg-centered-header {
        text-align: center;
        padding-top: 2rem;
        margin-bottom: 3rem;
}

.fyg-centered-header .fyg-section-title {
    color: var(--fyg-primary) !important;
    margin-bottom: 1rem;
}

.fyg-centered-header .fyg-section-subtitle {
    color: var(--fyg-text-light);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Service Header Layout (emoji + text on same line) */
.fyg-service-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.fyg-service-icon {
    font-size: 2rem !important;
    flex-shrink: 0;
}

.fyg-service-title {
    font-family: 'National Park', serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--fyg-primary) !important;
}

/* Services Grid Layout (2 columns) */
.fyg-services-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    margin: 3rem 0 !important;
}

.fyg-service-category {
    background: var(--fyg-gray) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    border: 1px solid var(--fyg-border) !important;
    box-shadow: 0 5px 20px rgba(45, 90, 45, 0.1) !important;
}

/* Product Lists within Service Categories */
.fyg-products-list {
    display: grid !important;
    gap: 1rem !important;
}

.fyg-service-category.community .fyg-products-list {
    grid-template-columns: 1fr 1fr !important;
}

.fyg-service-category.consultation .fyg-products-list {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
}

/* Product Cards */
.fyg-product-card {
    background: white !important;
    border: 1px solid var(--fyg-border) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    text-align: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.fyg-product-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.15) !important;
    border-color: var(--fyg-primary) !important;
}

.fyg-product-header {
    margin-bottom: 1rem !important;
}

.fyg-product-name {
    display: block !important;
    font-family: 'National Park', serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--fyg-primary) !important;
    margin-bottom: 0.5rem !important;
}

.fyg-product-price {
    display: block !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--fyg-secondary) !important;
    margin-bottom: 1rem !important;
}

.fyg-product-description {
    font-size: 0.9rem !important;
    color: var(--fyg-text-light) !important;
    margin-bottom: 1.5rem !important;
    flex-grow: 1 !important;
}

/* Buttons */
.fyg-btn {
    background: var(--fyg-primary) !important;
    color: white !important;
    border: 2px solid var(--fyg-primary) !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
}

.fyg-btn:hover {
    background: var(--fyg-dark) !important;
    color: white !important;
    border-color: var(--fyg-dark) !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
}

.fyg-btn-primary {
    background: var(--fyg-secondary) !important;
    border-color: var(--fyg-secondary) !important;
}

.fyg-btn-primary:hover {
    background: var(--fyg-primary) !important;
    border-color: var(--fyg-primary) !important;
}

/* Features Grid (2x2 layout) */
.fyg-features-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 2rem !important;
    margin: 3rem 0 !important;
}

.fyg-feature-item {
    text-align: center !important;
    padding: 2rem !important;
    background: var(--fyg-gray) !important;
    border-radius: 12px !important;
    border: 1px solid var(--fyg-border) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.fyg-feature-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.1) !important;
    border-color: var(--fyg-primary) !important;
}

.fyg-feature-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.fyg-feature-item h3 {
    color: var(--fyg-primary) !important;
    margin-bottom: 1rem !important;
    font-family: 'National Park', serif !important;
}

.fyg-feature-item p {
    color: var(--fyg-text-light) !important;
    line-height: 1.6 !important;
}

/* Call to Action Section */
.fyg-cta-section {
    background: linear-gradient(135deg, var(--fyg-secondary) 0%, var(--fyg-primary) 100%) !important;
    color: white !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    border-radius: 8px !important;
    margin: 3rem 0 !important;
}

.fyg-cta-section h2 {
    color: white !important;
    margin-bottom: 1rem !important;
}

.fyg-cta-section p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

.fyg-cta-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.fyg-cta-section .button {
    padding: 12px 24px !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin: 0.5rem !important;
}

.fyg-cta-section .button.primary {
    background: white !important;
    color: var(--fyg-primary) !important;
    border: 2px solid white !important;
}

.fyg-cta-section .button.primary:hover {
    background: var(--fyg-light) !important;
    color: var(--fyg-dark) !important;
    text-decoration: none !important;
}

.fyg-cta-section .button.secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.fyg-cta-section .button.secondary:hover {
    background: white !important;
    color: var(--fyg-primary) !important;
    text-decoration: none !important;
}

/* Container for consistent spacing */
.fyg-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fyg-hero-content {
        padding: 0 20px;
    }

    .fyg-hero h1 {
        padding: 0 20px;
    }

    .fyg-hero-subtitle {
        padding: 0 20px;
    }

    .fyg-hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .fyg-services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .fyg-service-category.community .fyg-products-list,
    .fyg-service-category.consultation .fyg-products-list {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .fyg-features-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .fyg-bordered-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .fyg-cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }

    .fyg-container {
        padding: 0 1rem !important;
    }
}

/* ================================
   Homepage Layout Fixes
   ================================ */

/* Remove sidebar from homepage and create full-width layout */
.fyg-no-sidebar {
    width: 100% !important;
    max-width: none !important;
}

.fyg-full-width {
    width: 100% !important;
    max-width: none !important;
}

/* Hero Section Improvements */
.fyg-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.fyg-hero h1 {
    padding: 0 60px;
}

.fyg-hero-subtitle {
    padding: 0 40px;
}

.fyg-hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.fyg-hero-feature {
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 500;
}

/* Bordered Sections with Padding */
.fyg-bordered-section {
    border: 3px solid var(--fyg-primary) !important;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 5px 20px rgba(45, 90, 45, 0.1);
}

/* Centered Headers */
.fyg-centered-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fyg-centered-header .fyg-section-title {
    color: var(--fyg-primary) !important;
    margin-bottom: 1rem;
}

.fyg-centered-header .fyg-section-subtitle {
    color: var(--fyg-text-light);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Service Header Layout (emoji + text on same line) */
.fyg-service-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.fyg-service-icon {
    font-size: 2rem !important;
    flex-shrink: 0;
}

.fyg-service-title {
    font-family: 'National Park', serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--fyg-primary) !important;
}

/* Services Grid Layout (sections in rows, not columns) */
.fyg-services-grid {
    display: block !important;
    margin: 3rem 0 !important;
}

.fyg-service-category {
    background: var(--fyg-gray) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    border: 1px solid var(--fyg-border) !important;
    box-shadow: 0 5px 20px rgba(45, 90, 45, 0.1) !important;
    margin-bottom: 3rem !important;
    width: 100% !important;
}

/* Product Lists within Service Categories */
.fyg-products-list {
    display: grid !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

/* Community section: 2 products in 1 row (2 columns) */
.fyg-service-category.community .fyg-products-list {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
}

/* Consultation section: 4 products in 2 rows x 2 columns (2x2 grid) */
.fyg-service-category.consultation .fyg-products-list {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
}

/* Product Cards */
.fyg-product-card {
    background: white !important;
    border: 1px solid var(--fyg-border) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    text-align: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.fyg-product-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.15) !important;
    border-color: var(--fyg-primary) !important;
}

.fyg-product-header {
    margin-bottom: 1rem !important;
}

.fyg-product-name {
    display: block !important;
    font-family: 'National Park', serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--fyg-primary) !important;
    margin-bottom: 0.5rem !important;
}

.fyg-product-price {
    display: block !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--fyg-secondary) !important;
    margin-bottom: 1rem !important;
}

.fyg-product-description {
    font-size: 0.9rem !important;
    color: var(--fyg-text-light) !important;
    margin-bottom: 1.5rem !important;
    flex-grow: 1 !important;
}

/* Buttons */
.fyg-btn {
    background: var(--fyg-primary) !important;
    color: white !important;
    border: 2px solid var(--fyg-primary) !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
}

.fyg-btn:hover {
    background: var(--fyg-dark) !important;
    color: white !important;
    border-color: var(--fyg-dark) !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
}

.fyg-btn-primary {
    background: var(--fyg-secondary) !important;
    border-color: var(--fyg-secondary) !important;
}

.fyg-btn-primary:hover {
    background: var(--fyg-primary) !important;
    border-color: var(--fyg-primary) !important;
}

/* Features Grid (2x2 layout) */
.fyg-features-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 2rem !important;
    margin: 3rem 0 !important;
}

.fyg-feature-item {
    text-align: center !important;
    padding: 2rem !important;
    background: var(--fyg-gray) !important;
    border-radius: 12px !important;
    border: 1px solid var(--fyg-border) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.fyg-feature-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.1) !important;
    border-color: var(--fyg-primary) !important;
}

.fyg-feature-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.fyg-feature-item h3 {
    color: var(--fyg-primary) !important;
    margin-bottom: 1rem !important;
    font-family: 'National Park', serif !important;
}

.fyg-feature-item p {
    color: var(--fyg-text-light) !important;
    line-height: 1.6 !important;
}

/* Call to Action Section */
.fyg-cta-section {
    background: linear-gradient(135deg, var(--fyg-secondary) 0%, var(--fyg-primary) 100%) !important;
    color: white !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    border-radius: 8px !important;
    margin: 3rem 0 !important;
}

.fyg-cta-section h2 {
    color: white !important;
    margin-bottom: 1rem !important;
}

.fyg-cta-section p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

.fyg-cta-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.fyg-cta-section .button {
    padding: 12px 24px !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin: 0.5rem !important;
}

.fyg-cta-section .button.primary {
    background: white !important;
    color: var(--fyg-primary) !important;
    border: 2px solid white !important;
}

.fyg-cta-section .button.primary:hover {
    background: var(--fyg-light) !important;
    color: var(--fyg-dark) !important;
    text-decoration: none !important;
}

.fyg-cta-section .button.secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.fyg-cta-section .button.secondary:hover {
    background: white !important;
    color: var(--fyg-primary) !important;
    text-decoration: none !important;
}

/* Container for consistent spacing */
.fyg-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fyg-hero-content {
        padding: 0 20px;
    }

    .fyg-hero h1 {
        padding: 0 20px;
    }

    .fyg-hero-subtitle {
        padding: 0 20px;
    }

    .fyg-hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    /* Mobile: All products in single column */
    .fyg-service-category.community .fyg-products-list,
    .fyg-service-category.consultation .fyg-products-list {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .fyg-features-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .fyg-bordered-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .fyg-cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }

    .fyg-container {
        padding: 0 1rem !important;
    }
}

/* ================================
   Header Cart Styling
   ================================ */

/* Style the cart link in header */
.site-header-cart,
.storefront-handheld-footer-bar .cart .count {
    background: white !important;
    border: 3px solid var(--fyg-dark) !important; /* Dark green border */
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin-left: 15px !important;
}

.site-header-cart .cart-contents {
    background: white !important;
    color: var(--fyg-dark) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.site-header-cart .cart-contents:hover {
    background: var(--fyg-gray) !important;
    color: var(--fyg-primary) !important;
    text-decoration: none !important;
}

/* Cart icon styling */
.site-header-cart .cart-contents::before {
    content: "🛒" !important;
    font-size: 16px !important;
    margin-right: 5px !important;
}

/* Cart count bubble */
.site-header-cart .count {
    background: var(--fyg-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    margin-left: 5px !important;
    min-width: 18px !important;
    text-align: center !important;
}

/* Hide cart count when empty */
.site-header-cart .count:empty {
    display: none !important;
}

/* Ensure cart widget dropdown styling */
.site-header-cart .widget_shopping_cart {
    background: white !important;
    border: 2px solid var(--fyg-dark) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 20px rgba(45, 90, 45, 0.2) !important;
}

/* Mobile cart styling */
@media (max-width: 768px) {
    .site-header-cart {
        margin-left: 10px !important;
        padding: 6px 10px !important;
    }
}

/* ================================
   Header Cart Styling & Search Removal
   ================================ */

/* Remove search from header */
.storefront-primary-navigation .site-search,
.main-navigation .site-search,
.site-header .site-search {
    display: none !important;
}

/* Also remove mobile search if present */
.storefront-handheld-footer-bar .search {
    display: none !important;
}

/* Hide Hand Held Bottom Cart */
.storefront-handheld-footer-bar { display: none !important; }