/*
Theme Name: Flatsome Child
Description: Catalyxinc Store Child Theme
Template: flatsome
Version: 1.0
*/

/*
  CATALYXINC — BRAND PALETTE
  Primary:   #2C1A0E  (Deep Wood Brown)
  Accent:    #B8860B  (Golden Oak)
  Light:     #F7F3EE  (Warm Ivory)
  Dark:      #1A0F06  (Deep Dark)
  Footer:    #0F0803  (Darkest)
*/

:root {
    --color-primary: #2C1A0E;
    --color-secondary: #B8860B;
}

/* ===== OVERRIDE FLATSOME DEFAULT COLORS ===== */
:root {
    --primary-color: #2C1A0E !important;
    --color-primary: #2C1A0E;
    --color-secondary: #B8860B;
}

/* Override header-bottom gray (#f1f1f1) */
.header-bottom, .header-bottom-bg, .header-bg-color {
    background-color: #2C1A0E !important;
}

/* Override masthead/header-main white background */
#masthead, .header-main, #header .header-inner,
.header-wrapper, #header {
    background-color: #2C1A0E !important;
}

/* Override top-bar */
#top-bar, .header-top, .topbar-wrapper {
    background-color: #1A0F06 !important;
}

/* Override nav links color from primary blue */
.nav > li > a { color: #ffffff !important; }
.nav > li > a:hover { color: #B8860B !important; }



/* HEADER */
#header, .header-wrapper, .header-main, .header-bg {
    background-color: #2C1A0E !important;
    border-bottom: 3px solid #B8860B !important;
}
.header-top, .topbar-wrapper, #top-bar {
    background: #1A0F06 !important;
    border-bottom: 1px solid rgba(184,134,11,0.2) !important;
}
.header-top a, .topbar-wrapper a { color: #d4a847 !important; }
.is-sticky #header { background: #2C1A0E !important; }

/* NAV */
#header .nav > li > a, .header-main .nav > li > a {
    color: #ffffff !important; font-weight: 600 !important;
}
#header .nav > li > a:hover,
#header .nav > li.current-menu-item > a { color: #B8860B !important; }
.nav-dropdown, ul.sub-menu {
    background: #2C1A0E !important;
    border-top: 2px solid #B8860B !important;
}
.nav-dropdown li a, ul.sub-menu li a { color: #f0e0cc !important; }
.nav-dropdown li a:hover, ul.sub-menu li a:hover {
    color: #B8860B !important;
    background: rgba(184,134,11,0.1) !important;
}

/* BUTTONS */
.button, .btn,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
    background-color: #2C1A0E !important;
    border-color: #2C1A0E !important;
    color: #ffffff !important; border-radius: 4px !important;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
    background-color: #B8860B !important;
    border-color: #B8860B !important; color: #2C1A0E !important;
}

/* LINKS */
a { color: #2C1A0E; } a:hover { color: #B8860B; }

/* WOOCOMMERCE */
.woocommerce span.onsale { background-color: #B8860B !important; color: #2C1A0E !important; }
.price, .woocommerce .price { color: #2C1A0E !important; }
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: #B8860B !important; }

/* FOOTER */
#footer, .footer-widgets { background: #1A0F06 !important; color: #b8a898 !important; }
.absolute-footer, .footer-2 { background: #0F0803 !important; }
.absolute-footer p, .copyright-footer { color: #5a4030 !important; font-size: 0.82em !important; }
#footer p, #footer li { color: #b8a898 !important; }
#footer a { color: #b8a898 !important; text-decoration: none !important; }
#footer a:hover { color: #B8860B !important; }
#footer .widget-title, #footer h4.widget-title {
    color: #B8860B !important; font-size: 0.78em !important; font-weight: 700 !important;
    letter-spacing: 2.5px !important; text-transform: uppercase !important;
    border-bottom: 1px solid rgba(184,134,11,0.3) !important;
    padding-bottom: 10px !important; margin-bottom: 16px !important;
}

/* MOBILE */
.mobile-nav, #mobile-menu { background: #2C1A0E !important; }
@media (max-width: 767px) {
    .section { padding-top: 45px !important; padding-bottom: 45px !important; }
}
