/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.19.8
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

:root {
    --primary-color: #ad1a00;
    --fs-color-primary: #ad1a00;
    --fs-color-secondary: #d26e4b;
    --fs-color-success: #7a9c59;
    --fs-color-alert: #b20000;
    --fs-experimental-link-color: #f82601;
    --fs-experimental-link-color-hover: #f82601;
}

.tooltipster-base {
    --tooltip-color: #fff;
    --tooltip-bg-color: #000;
}

.off-canvas-right .mfp-content, .off-canvas-left .mfp-content {
    --drawer-width: 300px;
}

.sticky-add-to-cart--active, #wrapper, #main, #main.dark {
    background-color: #0f0000
}

.header-main {
    height: 90px
}

#logo img {
    max-height: 90px
}

#logo {
    width: 200px;
}

.header-bottom {
    min-height: 55px
}

.header-top {
    min-height: 30px
}

.transparent .header-main {
    height: 90px
}

.transparent #logo img {
    max-height: 90px
}

.has-transparent + .page-title:first-of-type, .has-transparent + #main > .page-title, .has-transparent + #main > div > .page-title, .has-transparent + #main .page-header-wrapper:first-of-type .page-title {
    padding-top: 140px;
}

.header.show-on-scroll, .stuck .header-main {
    height: 70px !important
}

.stuck #logo img {
    max-height: 70px !important
}

.header-bg-color {
    background-color: rgba(0, 0, 0, 0.9)
}

.header-bottom {
    background-color: rgba(247, 70, 0, 0.87)
}

.header-bottom-nav > li > a {
    line-height: 16px
}

@media (max-width: 549px) {
    .header-main {
        height: 70px
    }

    #logo img {
        max-height: 70px
    }
}

body {
    color: #ffffff
}

h1, h2, h3, h4, h5, h6, .heading-font {
    color: #f82601;
}

.header:not(.transparent) .header-bottom-nav.nav > li > a {
    color: #ffffff;
}

.header:not(.transparent) .header-bottom-nav.nav > li > a:hover, .header:not(.transparent) .header-bottom-nav.nav > li.active > a, .header:not(.transparent) .header-bottom-nav.nav > li.current > a, .header:not(.transparent) .header-bottom-nav.nav > li > a.active, .header:not(.transparent) .header-bottom-nav.nav > li > a.current {
    color: #000000;
}

.header-bottom-nav.nav-line-bottom > li > a:before, .header-bottom-nav.nav-line-grow > li > a:before, .header-bottom-nav.nav-line > li > a:before, .header-bottom-nav.nav-box > li > a:hover, .header-bottom-nav.nav-box > li.active > a, .header-bottom-nav.nav-pills > li > a:hover, .header-bottom-nav.nav-pills > li.active > a {
    color: #FFF !important;
    background-color: #000000;
}

.widget:where(:not(.widget_shopping_cart)) a {
    color: #f82601;
}

.widget:where(:not(.widget_shopping_cart)) a:hover {
    color: #f82601;
}

.widget .tagcloud a:hover {
    border-color: #f82601;
    background-color: #f82601;
}

.is-divider {
    background-color: #f82601;
}

.absolute-footer, html {
    background-color: #000000
}

.nav-vertical-fly-out > li + li {
    border-top-width: 1px;
    border-top-style: solid;
}

/* Custom CSS */
b, strong {
    font-weight: 600 !important;
}

.header-button-1 a {
    position: relative;
    color: #ffffff !important;
    background: linear-gradient(to top, #ff7d00, #a20000);
    border-color: #000000 !important;
    left: -30px;
    animation: tada 1.2s infinite;
}

.header-button-1 a:hover {
    color: #000000 !important;
    background: linear-gradient(to top, #ff9, #ffce21);
    border-color: #ffffff !important;
}

.header-button-2 a {
    position: relative;
    color: #ffffff !important;
    background: linear-gradient(to top, #0099FF, #0099FF);
    border-color: #000000 !important;
    animation: tada 1.2s infinite;
}

.header-button-2 a:hover {
    color: #000000 !important;
    background: linear-gradient(to top, #ff9, #ffce21);
    border-color: #ffffff !important;
}

@keyframes tada {
    0% {
        transform: scaleX(1);
    }
    10%, 20% {
        transform: scale3d(1, 1, 1) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1.2, 1.2, 1.2) rotate(1deg);
    }
    40%, 60%, 80% {
        transform: scale3d(1.2, 1.2, 1.2) rotate(-2deg);
    }
    100% {
        transform: scaleX(1);
    }
}

.label-new.menu-item > a:after {
    content: "Mới";
}

.label-hot.menu-item > a:after {
    content: "Nổi bật";
}

.label-sale.menu-item > a:after {
    content: "Giảm giá";
}

.label-popular.menu-item > a:after {
    content: "Phổ biến";
}