/*
 * INFLOW.AFRICA - PUBLIC VENDOR STORE STYLING
 * Target: body.wcfm-store-page
 */

/* 1. Main Container: Remove legacy shadows and set theme background */
body.wcfm-store-page #wcfmmp-store {
    box-shadow: none !important;
    background-color: #EDFAE5 !important; /* Inflow Light Green */
    padding: 20px !important;
    border-radius: 15px !important;
    margin-top: 20px !important;
    border: 1px solid #e0e0e0 !important;
}

body.wcfm-store-page #wcfmmp-store-content {
    background: transparent !important;
}

/* 2. Header Area (Vendor Card): Clean white card style */
body.wcfm-store-page #wcfm_store_header {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: none !important;
}

body.wcfm-store-page #wcfm_store_header .wcfm_store_title {
    color: #2B5544 !important; /* Inflow Dark Green */
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 10px !important;
}

/* 3. Banner & Media Area: Clean borders */
body.wcfm-store-page .wcfm_store_banner_area {
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
    border: 1px solid #e0e0e0 !important;
}

body.wcfm-store-page .banner_img {
    border-radius: 12px !important;
}

/* 4. Tabs & Content Area: Standardized cards */
body.wcfm-store-page .tab_area {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: none !important;
}

/* Active Tab indicator */
body.wcfm-store-page #tab_links_area ul li.active a {
    color: #2B5544 !important;
    border-bottom: 3px solid #2B5544 !important;
    font-weight: 600 !important;
}

/* 5. Product Grid: Card-based layout matching main site */
body.wcfm-store-page ul.products li.product {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

body.wcfm-store-page ul.products li.product:hover {
    border-color: #2B5544 !important;
}

/* 6. Sidebar Widgets: Clean white cards */
body.wcfm-store-page .left_sidebar {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: none !important;
}

/* 7. Action Buttons: Theme branding */
body.wcfm-store-page .wcfm_store_enquiry_button,
body.wcfm-store-page .wcfmmp_follow_button,
body.wcfm-store-page .wcfm_enquiry_button {
    background-color: #2B5544 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border: 1px solid #2B5544 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

body.wcfm-store-page .wcfm_store_enquiry_button:hover,
body.wcfm-store-page .wcfmmp_follow_button:hover {
    background-color: #EDFAE5 !important;
    color: #2B5544 !important;
}

/* 8. Force Remove Legacy Header/Footer Elements */
body.wcfm-store-page #header,
body.wcfm-store-page #footer,
body.wcfm-store-page hr {
    display: none !important;
}

/* 9. Mobile Fixes */
@media only screen and (max-width: 600px) {
    body.wcfm-store-page #wcfmmp-store {
        padding: 10px !important;
    }
    body.wcfm-store-page #wcfm_store_header {
        padding: 15px !important;
    }
}

/* 10. Anti-Circumvention: Hide Seller Contact Details */
.wcfmmp_store_header_email,
.wcfmmp_store_header_phone,
.wcfmmp_store_mobile_badges,
.wcfm_store_chatnow,
.social_area {
    display: none !important;
}