/*
Theme Name: Flatsome Child
Template: flatsome
Version: 1.0.0
Description: Child theme for datmautrongcay.vn
*/

/* Primary Color Override */
:root { --primary-color: #006700; }

/* Header */
.header-main { height: 90px; }
#logo img { max-height: 90px; }
#logo { width: 200px; }
.header-top { min-height: 30px; }
.header.show-on-scroll, .stuck .header-main { height: 70px !important; }
.stuck #logo img { max-height: 70px !important; }

/* Color rules matching original */
.accordion-title.active,
.has-icon-bg .icon .icon-inner,
.logo a, .primary.is-underline, .primary.is-link,
.badge-outline .badge-inner,
.nav-outline > li.active > a,
.cart-icon strong,
[data-color='primary'],
.is-outline.primary { color: #006700; }

.button.primary:not(.is-outline),
.button.primary:not(.is-outline):hover,
.badge.primary:not(.is-outline),
.hero-slider .is-outline:hover,
.shop-header.primary.is-outline:hover,
.primary.fill.is-outline { background-color: #006700; border-color: #006700; }

/* Footer */
footer, .footer-1, .footer-2, .footer-3, .absolute-footer { background-color: #006700 !important; color: #ffffff !important; }
footer a, .footer-1 a, .footer-2 a { color: rgba(255,255,255,0.85) !important; }
footer a:hover, .footer-1 a:hover { color: #ffffff !important; }
footer h3, footer h4, .footer-1 h3, .footer-2 h3, .footer-3 h3 { color: #ffffff !important; }

/* Pricing table */
table.bao-gia { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.bao-gia th { background: #006700; color: #fff; padding: 12px; border: 1px solid #ddd; }
table.bao-gia td { padding: 10px 12px; border: 1px solid #ddd; }
table.bao-gia tr:nth-child(even) { background: #f9f9f9; }

/* Mobile */
@media (max-width: 549px) {
  .header-main { height: 70px; }
  #logo img { max-height: 70px; }
}

/* Footer color fix */
.footer-1, .footer-2, .absolute-footer, footer {
  background-color: #006700 !important;
}
.footer-2.dark {
  background-color: #004d00 !important;
}
.footer-wrapper {
  background-color: #006700;
}
.absolute-footer, .copyright {
  background-color: #004d00 !important;
  color: #ffffff !important;
}
.footer-1 .widget-title span, .footer-2 .widget-title span {
  color: #ffffff !important;
}
.footer-1 a, .footer-2 a {
  color: rgba(255,255,255,0.85) !important;
}

/* === Footer background fix === */
.footer-wrapper,
.footer-widgets.footer-1,
.footer-widgets.footer-2,
.footer-widgets.footer-2.dark,
.absolute-footer,
.absolute-footer.dark {
  background-color: #006700 !important;
  color: #ffffff !important;
}
.footer-wrapper * {
  border-color: rgba(255,255,255,0.15) !important;
}
.absolute-footer {
  background-color: #004f00 !important;
}
.footer-1 .widget-title span,
.footer-2 .widget-title span {
  color: #ffffff !important;
}
.footer-1 p, .footer-2 p, .footer-1 li, .footer-2 li,
.footer-1 a, .footer-2 a,
.copyright-footer, .copyright-footer a {
  color: rgba(255,255,255,0.9) !important;
}
.footer-1 a:hover, .footer-2 a:hover {
  color: #ffffff !important;
}
