/*

 Theme Name:   Divi Child For MinnDak Ag (Modernized)

 Theme URI:    https://www.dirtriverdesign.com/

 Description:  A Child Theme built for MinnDak Ag with Professional & Industrial color palette
 
 Author:       Benjamin Huffman

 Author URI:   https://www.dirtriverdesign.com

 Template:     Divi

 Version:      2.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

*/

/* ==========================================================================
   MINNDAK AG COLOR PALETTE - OPTION 2: PROFESSIONAL & INDUSTRIAL
   ========================================================================== */
/*
   Primary Brand (Navy Blue):     #345A8E
   Secondary Brand (Sage Green):  #4A8F42
   Accent/Hover (Light Blue):     #6B9ED9
   Earth Tone (Rich Tan):         #8B6F47
   Neutral Light (Cool White):    #FAFBFC
   Neutral Mid (Soft Gray):       #E5E7EB
   Neutral Dark (Deep Charcoal):  #1C2733
   Text Primary (Rich Black):     #111827
   Text Secondary (Warm Gray):    #4B5563
*/

/* =Theme customization starts here
------------------------------------------------------- */
.woocommerce div.product .product_title {
	font-size: 24px;
}

@media (max-width: 1270px) {
 #et_mobile_nav_menu {
 display: block;
 }
 
#top-menu {
 display: none;
 }
	
#et_top_search {
    float: left;
    margin: 0 35px 0 0;
}	

#et_search_icon:before {
    top: 7px;
	left: 15px;
}	
	
#et-top-navigation .et-cart-info {
    margin-top: 5px;
}	
	
}



.fancyHeaders {
}
.genericBackground {
    background-size: initial;
    background-repeat: repeat;
    background-image: url(https://www.minndak.com/wp-content/uploads/2017/11/bg-6.jpg)!important;
}


/*------------------------------------------------------*/
/*--[Fixing the width to be full screen on footer]------*/
/*------------------------------------------------------*/
#footer-bottom .container {
width: 95%;
max-width: 95%;
display: flex;
justify-content: center;
}

#footer-info {
padding-bottom: 10px;
text-align: center;
}

/* ==========================================================================
   MINNDAK AG GLOBAL COLOR SYSTEM
   ========================================================================== */

/* Body & Text Colors */
body {
    color: #111827;
}

.et_pb_text_inner p,
.et_pb_text p {
    color: #4B5563;
}

h1, h2, h3, h4, h5, h6 {
    color: #111827;
}

/* Link Colors */
a {
    color: #345A8E;
}

a:hover {
    color: #6B9ED9;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Main Header Background */
#main-header,
#main-header.et-fixed-header {
    background-color: #1C2733 !important;
}

/* Primary Menu Styling */
#top-menu a {
    color: #FAFBFC !important;
}

#top-menu > li > a:hover,
#top-menu > li.current-menu-item > a {
    color: #6B9ED9 !important;
}

/* Mobile Menu */
.mobile_menu_bar:before {
    color: #FAFBFC !important;
}

.et_mobile_menu {
    background-color: #1C2733;
}

.et_mobile_menu li a {
    color: #FAFBFC !important;
}

.et_mobile_menu li a:hover {
    color: #6B9ED9 !important;
}

/* Search Icon */
#et_top_search {
    color: #FAFBFC;
}

/* Cart Icon */
.et-cart-info span {
    color: #FAFBFC !important;
}

.et-cart-info:hover span {
    color: #6B9ED9 !important;
}

/* ==========================================================================
   BUTTONS & CALLS-TO-ACTION
   ========================================================================== */

/* Primary Buttons */
.et_pb_button,
.et_pb_promo_button,
.et_pb_newsletter_button,
.et_pb_contact_submit,
input[type="submit"],
button[type="submit"],
.button,
.et_pb_more_button {
    background-color: #345A8E !important;
    border-color: #345A8E !important;
    color: #FFFFFF !important;
}

.et_pb_button:hover,
.et_pb_promo_button:hover,
.et_pb_newsletter_button:hover,
.et_pb_contact_submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.button:hover,
.et_pb_more_button:hover {
    background-color: #6B9ED9 !important;
    border-color: #6B9ED9 !important;
}

/* Secondary Buttons */
.et_pb_button_secondary,
.button-secondary {
    background-color: #4A8F42 !important;
    border-color: #4A8F42 !important;
}

.et_pb_button_secondary:hover,
.button-secondary:hover {
    background-color: #8B6F47 !important;
    border-color: #8B6F47 !important;
}

/* Call to Action Modules */
.et_pb_promo {
    background-color: #345A8E;
}

.et_pb_promo h2,
.et_pb_promo p {
    color: #FAFBFC;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
    border-color: #E5E7EB;
    background-color: #FAFBFC;
    color: #111827;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #6B9ED9;
    outline: none;
}

/* Form Validation */
.et_pb_contact_form .et_contact_error {
    color: #D32F2F;
}

.et_pb_contact_form .et_contact_success {
    color: #4A8F42;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#main-footer {
    background-color: #1C2733;
    color: #E5E7EB;
}

#footer-widgets .widget-title,
#footer-widgets h4 {
    color: #FAFBFC;
}

#footer-widgets a {
    color: #6B9ED9;
}

#footer-widgets a:hover {
    color: #4A8F42;
}

#footer-bottom {
    background-color: #1C2733;
    color: #E5E7EB;
}

#footer-bottom a {
    color: #6B9ED9;
}

/* ==========================================================================
   SECTION BACKGROUNDS & DIVIDERS
   ========================================================================== */

/* Alternating Section Backgrounds */
.et_pb_section.light-bg {
    background-color: #FAFBFC;
}

.et_pb_section.gray-bg {
    background-color: #E5E7EB;
}

.et_pb_section.dark-bg {
    background-color: #1C2733;
    color: #FAFBFC;
}

/* Product Category Backgrounds */
.buckwheat-section,
.et_pb_section.buckwheat-bg {
    background-color: #8B6F47;
    color: #FAFBFC;
}

.mustard-section,
.et_pb_section.mustard-bg {
    background-color: #4A8F42;
    color: #FAFBFC;
}

.safflower-section,
.et_pb_section.safflower-bg {
    background-color: #6B9ED9;
    color: #FAFBFC;
}

/* Dividers */
.et_pb_divider:before {
    border-top-color: #345A8E !important;
}

.et_pb_divider.secondary:before {
    border-top-color: #4A8F42 !important;
}

/* ==========================================================================
   WOOCOMMERCE STYLING
   ========================================================================== */

/* Product Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.woocommerce-page #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
    background-color: #345A8E !important;
    border-color: #345A8E !important;
    color: #FFFFFF !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button:hover {
    background-color: #6B9ED9 !important;
    border-color: #6B9ED9 !important;
}

/* Add to Cart Button */
.woocommerce .single_add_to_cart_button,
.woocommerce-page .single_add_to_cart_button {
    background-color: #4A8F42 !important;
    border-color: #4A8F42 !important;
}

.woocommerce .single_add_to_cart_button:hover,
.woocommerce-page .single_add_to_cart_button:hover {
    background-color: #8B6F47 !important;
    border-color: #8B6F47 !important;
}

/* Product Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    color: #345A8E !important;
}

/* Sale Badge */
.woocommerce span.onsale,
.woocommerce-page span.onsale {
    background-color: #4A8F42 !important;
    color: #FFFFFF !important;
}

/* Product Title on Shop Page */
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #111827;
}

.woocommerce ul.products li.product h3:hover,
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #345A8E;
}

/* Product Page Title */
.woocommerce div.product .product_title {
    font-size: 24px;
    color: #111827;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #4B5563;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #345A8E;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #345A8E;
}

/* Cart & Checkout */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
    background-color: #FAFBFC;
    border: 1px solid #E5E7EB;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
    border-color: #E5E7EB;
}

/* Cart Remove Button */
.woocommerce a.remove {
    color: #D32F2F !important;
    background-color: transparent !important;
}

.woocommerce a.remove:hover {
    background-color: #D32F2F !important;
    color: #FFFFFF !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
    background-color: #E8F4FD;
    border-top-color: #345A8E;
    color: #111827;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #345A8E;
}

.woocommerce-error {
    background-color: #FFEBEE;
    border-top-color: #D32F2F;
}

/* Product Categories */
.woocommerce ul.products li.product-category h3 {
    background-color: #345A8E;
    color: #FAFBFC;
}

.woocommerce ul.products li.product-category:hover h3 {
    background-color: #6B9ED9;
}

/* Quantity Input */
.woocommerce div.product form.cart .quantity input.qty,
.woocommerce-page div.product form.cart .quantity input.qty {
    border-color: #E5E7EB;
}

/* Star Ratings */
.woocommerce .star-rating span,
.woocommerce-page .star-rating span {
    color: #8B6F47;
}

/* Checkout Payment Methods */
.woocommerce-checkout #payment {
    background-color: #FAFBFC;
}

.woocommerce-checkout #payment ul.payment_methods li {
    border-bottom: 1px solid #E5E7EB;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #E5E7EB;
}

/* My Account Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    color: #4B5563;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #345A8E;
    background-color: #FAFBFC;
}

/* ==========================================================================
   PRODUCT-SPECIFIC ENHANCEMENTS
   ========================================================================== */

/* Style specific product categories with themed colors */
.product-category-buckwheat .woocommerce-loop-product__title,
.product-category-buckwheat h3 {
    color: #8B6F47;
}

.product-category-mustard .woocommerce-loop-product__title,
.product-category-mustard h3 {
    color: #4A8F42;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 1270px) {
    #et_mobile_nav_menu {
        display: block;
    }
    
    #top-menu {
        display: none;
    }
    
    #et_top_search {
        float: left;
        margin: 0 35px 0 0;
    }	
    
    #et_search_icon:before {
        top: 7px;
        left: 15px;
    }	
    
    #et-top-navigation .et-cart-info {
        margin-top: 5px;
    }
}

/* ==========================================================================
   TEXT AREA BACKGROUND CLASSES
   ========================================================================== */

/* Light backgrounds for text modules */
.text-bg-card {
    background-color: #FAFBFC;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(28, 39, 51, 0.1);
}

.text-bg-gray {
    background-color: #E5E7EB;
    padding: 30px;
    border-radius: 8px;
}

.text-bg-outlined {
    background-color: #FAFBFC;
    padding: 30px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
}

/* Brand color backgrounds (with white text) */
.text-bg-navy {
    background-color: #345A8E;
    color: #FAFBFC !important;
    padding: 30px;
    border-radius: 8px;
}

.text-bg-navy h1, .text-bg-navy h2, .text-bg-navy h3, 
.text-bg-navy h4, .text-bg-navy p, .text-bg-navy li {
    color: #FAFBFC !important;
}

.text-bg-dark {
    background-color: #1C2733;
    color: #FAFBFC !important;
    padding: 30px;
    border-radius: 8px;
}

.text-bg-dark h1, .text-bg-dark h2, .text-bg-dark h3, 
.text-bg-dark h4, .text-bg-dark p, .text-bg-dark li {
    color: #FAFBFC !important;
}

.text-bg-green {
    background-color: #4A8F42;
    color: #FAFBFC !important;
    padding: 30px;
    border-radius: 8px;
}

.text-bg-green h1, .text-bg-green h2, .text-bg-green h3, 
.text-bg-green h4, .text-bg-green p, .text-bg-green li {
    color: #FAFBFC !important;
}

.text-bg-earth {
    background-color: #8B6F47;
    color: #FAFBFC !important;
    padding: 30px;
    border-radius: 8px;
}

.text-bg-earth h1, .text-bg-earth h2, .text-bg-earth h3, 
.text-bg-earth h4, .text-bg-earth p, .text-bg-earth li {
    color: #FAFBFC !important;
}

/* Highlighted text boxes with accent borders */
.text-highlight-navy {
    background-color: #FAFBFC;
    padding: 30px;
    border-left: 5px solid #345A8E;
    border-radius: 4px;
}

.text-highlight-green {
    background-color: #FAFBFC;
    padding: 30px;
    border-left: 5px solid #4A8F42;
    border-radius: 4px;
}

.text-highlight-earth {
    background-color: #FAFBFC;
    padding: 30px;
    border-left: 5px solid #8B6F47;
    border-radius: 4px;
}

/* Subtle tinted backgrounds */
.text-bg-navy-subtle {
    background-color: rgba(52, 90, 142, 0.08);
    padding: 30px;
    border-radius: 8px;
}

.text-bg-green-subtle {
    background-color: rgba(74, 143, 66, 0.08);
    padding: 30px;
    border-radius: 8px;
}

/* Callout boxes for important info */
.text-callout-info {
    background-color: #E8F1FA;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #345A8E;
}

.text-callout-info h4 {
    color: #345A8E;
    margin-top: 0;
}

.text-callout-success {
    background-color: #EDF7EC;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4A8F42;
}

.text-callout-success h4 {
    color: #4A8F42;
    margin-top: 0;
}

.text-callout-important {
    background-color: #F5F0E8;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #8B6F47;
}

.text-callout-important h4 {
    color: #8B6F47;
    margin-top: 0;
}

/* Mobile responsive padding adjustments */
@media (max-width: 768px) {
    .text-bg-card, .text-bg-gray, .text-bg-outlined,
    .text-bg-navy, .text-bg-dark, .text-bg-green, .text-bg-earth,
    .text-highlight-navy, .text-highlight-green, .text-highlight-earth,
    .text-bg-navy-subtle, .text-bg-green-subtle,
    .text-callout-info, .text-callout-success, .text-callout-important {
        padding: 20px;
    }
}

/* ==========================================================================
   LEGACY STYLES (Preserved from original)
   ========================================================================== */

.fancyHeaders {
    /* Reserved for future use */
}

.genericBackground {
    background-size: initial;
    background-repeat: repeat;
    background-image: url(https://www.minndak.com/wp-content/uploads/2017/11/bg-6.jpg)!important;
}










