/*
Theme Name: Bean Merchant - GeneratePress Child
Theme URI: https://beanmerchant.co.nz
Author: Bean Merchant
Author URI: https://beanmerchant.co.nz
Description: Custom theme for Bean Merchant Coffee
Version: 1.0.0
Template: generatepress
Text Domain: bean-merchant
*/



:root {
    --primary-color: #2c1810;
    --secondary-color: #d4a574;
    --accent-color: #8b4513;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f6f3;
    --bg-white: #ffffff;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c19660;
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section spacing */
section {
    padding: 60px 0;
}

/* Ensure proper layout structure */
#page {
    display: block;
    width: 100%;
}

#content {
    display: block;
    width: 100%;
}

/* Fix any flexbox issues from GeneratePress */
body:not(.sidebar-layout) #content {
    display: block !important;
}

/* Ensure footer is full width and below content */
.site-footer {
    clear: both;
    width: 100%;
    margin-top: 40px;
}

/* Remove any GeneratePress grid/flex on main layout */
.site-content {
    display: block !important;
    flex: none !important;
}

/* Force full-width content */
.site-content .content-area {
    width: 100% !important;
    max-width: none !important;
}

/* Remove GeneratePress default padding */
.site-main {
    padding: 0 !important;
}

/* Full width for all inside containers */
.inside-article,
.entry-content {
    padding: 0;
}

/* Override GeneratePress container constraints */
body .grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Remove sidebar space if present */
#primary,
#main,
.content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* For your custom page templates - make them full width */
.page-template-default .site-content,
.page-template-homepage-no-elementor .site-content,
.page-template-about-template .site-content,
.page-template-contact-template .site-content,
.page-template-coffee-tools-template .site-content,
.page-template-machines-template .site-content,
.page-template-gifts-template .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* WooCommerce pages full width */
.woocommerce .site-content,
.woocommerce-page .site-content {
    max-width: 100% !important;
    width: 100% !important;
}

.site-content a:not(.button):not(.btn) {
    color: var(--text-dark);
}

.site-content a:not(.button):not(.btn):hover,
.site-content a:not(.button):not(.btn):focus {
    color: var(--secondary-color);
}

/* Keep your specific header/footer overrides */
.shop-header a,
.shop-footer a {
    color: inherit !important;
}