/*
Theme Name: flatsome-child
Description: Koala Textiles Child Theme
Template: flatsome
Version: 1.0
*/

/* ═══ KOALA TEXTILES — BRAND COLORS ═══ */
:root {
    --color-primary: #090A0C;
    --color-secondary: #E02410;
}

/* Header */
#header,
.header-wrapper,
.header-main,
.header-bg {
    background-color: #090A0C !important;
    border-bottom: 3px solid #E02410 !important;
}

/* Logo text */
#logo,
#logo .logo-text,
.header-nav-logo {
    color: #ffffff !important;
    font-weight: 900 !important;
}

/* Navigation */
#header .nav > li > a,
.header-main .nav > li > a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
}
#header .nav > li > a:hover,
#header .nav > li.current-menu-item > a,
#header .nav > li:hover > a {
    color: #E02410 !important;
}

/* Dropdown */
.nav-dropdown,
ul.sub-menu {
    background: #162e4a !important;
    border-top: 2px solid #E02410 !important;
}
.nav-dropdown li a,
ul.sub-menu li a {
    color: #ffffff !important;
}
.nav-dropdown li a:hover,
ul.sub-menu li a:hover {
    color: #E02410 !important;
    background: rgba(255,255,255,0.08) !important;
}

/* Topbar */
.header-top,
.topbar-wrapper,
#top-bar {
    background: #090A0C !important;
    color: #cccccc !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.header-top a,
.topbar-wrapper a {
    color: #E02410 !important;
}

/* Sticky header */
#header.sticky,
.header-sticky,
.is-sticky .header-main {
    background: #090A0C !important;
}

/* Footer */
#footer,
.footer-wrapper,
footer {
    background: #0f1e2d !important;
    color: #cccccc !important;
}
.footer-2,
.absolute-footer,
.footer-bottom {
    background: #070e16 !important;
    color: #999999 !important;
}
#footer a,
.footer-wrapper a {
    color: #aaaaaa !important;
}
#footer a:hover,
.footer-wrapper a:hover {
    color: #E02410 !important;
}

/* Buttons & CTA */
.button,
.btn,
button[type=submit],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #090A0C !important;
    color: #ffffff !important;
    border-color: #090A0C !important;
}
.button:hover,
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: #E02410 !important;
    border-color: #E02410 !important;
}

/* Links */
a { color: #090A0C; }
a:hover { color: #E02410; }

/* WooCommerce accents */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #090A0C !important;
}
.woocommerce span.onsale,
.woocommerce .badge {
    background-color: #E02410 !important;
}
.price,
.woocommerce .price {
    color: #090A0C !important;
}

/* Fix ghost paragraph cells from UX Builder */
.mwp-cards > p,
.mwp-steps > p,
.mwp-hub > p,
.mwp-cgrid > p {
    display: none !important;
}


/* ═══ HOMEPAGE ENHANCEMENTS ═══ */

/* Smooth hover on category cards */
.home-category-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.home-category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* Blog card hover */
.blog-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }

/* Testimonial cards */
.testimonial-card { transition: transform 0.25s ease; }
.testimonial-card:hover { transform: translateY(-3px); }

/* Product grid spacing */
.products.columns-4 .product { padding: 10px !important; }

/* Hero section text shadow */
.hero-section h1 { text-shadow: 0 2px 20px rgba(0,0,0,0.4); }

/* Trust bar responsive */
@media (max-width: 600px) {
    .trust-bar-item { border-bottom: 1px solid rgba(13,27,42,0.15); padding: 10px 0; }
}

/* Section padding on mobile */
@media (max-width: 767px) {
    .section { padding-top: 45px !important; padding-bottom: 45px !important; }
}

/* Google map iframe responsive */
.map-wrapper iframe { width: 100% !important; }

/* Star ratings color */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: #C9A84C !important; }

/* ═══ FOOTER STYLING ═══ */

/* Footer main area */
#footer .footer-widgets,
#footer .footer-1 {
    padding: 55px 0 45px !important;
}

/* Footer widget titles */
#footer .widget-title,
#footer h4.widget-title {
    color: #C9A84C !important;
    font-size: 0.78em !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(201,168,76,0.3) !important;
}

/* Footer text color */
#footer,
#footer p,
#footer li,
#footer .widget {
    color: #aaaaaa !important;
}

/* Footer links */
#footer a { color: #aaaaaa !important; text-decoration: none !important; }
#footer a:hover { color: #C9A84C !important; }

/* Trust bar - bottom of footer */
.footer-trust-bar {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    text-align: center;
}

/* Footer bottom / copyright */
.absolute-footer,
#footer .footer-bottom,
.footer-2 {
    background: #070e16 !important;
    padding: 16px 0 !important;
}
.absolute-footer .col,
.absolute-footer p,
.footer-bottom p {
    color: #666 !important;
    font-size: 0.82em !important;
}

/* Payment icons row */
.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

/* ═══ WOODCRAFT THEME OVERRIDE ═══ */
:root {
    --color-primary: #2C1810;
    --color-secondary: #C9A84C;
}
#header, .header-wrapper, .header-main, .header-bg {
    background-color: #1a0f0a !important;
    border-bottom: 3px solid #C9A84C !important;
}
#header .nav > li > a, .header-main .nav > li > a {
    color: #ffffff !important;
}
#header .nav > li > a:hover,
#header .nav > li.current-menu-item > a {
    color: #C9A84C !important;
}
.button, .btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
    background-color: #2C1810 !important;
    border-color: #2C1810 !important;
}
.button:hover, .woocommerce a.button:hover {
    background-color: #C9A84C !important;
    border-color: #C9A84C !important;
    color: #2C1810 !important;
}
.woocommerce span.onsale { background-color: #C9A84C !important; color: #2C1810 !important; }
.price, .woocommerce .price { color: #2C1810 !important; }
a { color: #2C1810; }
a:hover { color: #C9A84C; }
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: #C9A84C !important; }
#footer, .footer-widgets { background: #1a0f0a !important; }
.absolute-footer, .footer-bottom { background: #0d0806 !important; }
