/*
Theme Name: Thiên An Minh
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* General Styles */
html {
    font-family: sans-serif;
    font-size: 15px;
}

b, strong, .product-info span.price {
    font-weight: bold;
}

/* Header Styles */
.header-search-form-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}

.header-vertical-menu__opener {
    border-radius: 7px 7px 0 0;
}

.header-bottom {
    border-top: 1px solid #F5F5F5;
}

.header, .header-wrapper {
    box-shadow: 0 1px 14px rgba(0, 0, 0, 0.06);
}

/* Topbar Right Styles */
li.html.custom.html_topbar_right .icon-hotline-gif {
    background: url('inc/img/hotline-gif.gif') no-repeat;
    background-size: 40px 40px;
    background-position: 0;
    padding-left: 25px;
}

li.html.custom.html_topbar_right i {
    color: #cf3034;
    text-decoration: none;
    outline: none;
    font-size: 26px;
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 0 auto;
    float: left;
    margin-right: 10px;
}

li.html.custom.html_topbar_right a {
    margin-right: 15px;
    line-height: 20px !important;
    padding: 0;
    color: #555;
    white-space: nowrap;
    font-weight: normal;
}

li.html.custom.html_topbar_right strong {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #cf3034;
}

/* Vertical Menu Styles */
.nav > li > a, 
.header-vertical-menu__title, 
.header-vertical-menu__opener {
    font-size: 1em;
}

.nav-dropdown {
    padding: 0;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a {
    padding: 13px 15px;
}

.nav > li > a, 
.nav-dropdown > li > a, 
.nav-column > li > a, 
.nav-vertical-fly-out > li > a {
    color: #000;
}

.header-vertical-menu__fly-out .current-dropdown.menu-item .nav-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 1040px;
}

.header-vertical-menu .nav-dropdown li {
    display: flex;
    flex-direction: column;
    text-align: center;
    flex-wrap: wrap;
}

.header-vertical-menu .nav-dropdown li img.ux-menu-icon {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0 !important;
}

.nav-dropdown-simple .nav-column li > a:hover, 
.nav-dropdown.nav-dropdown-simple > li > a:hover, 
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a:hover {
    color: #d33;
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-dropdown-has-arrow li.has-dropdown::after {
    bottom: 0;
}

/* Product Styles */
.product-title-line a {
    text-decoration: none;
    color: #222;
}

.box-image > a img {
    padding: 10px;
}

.box-image .image-cover a img {
    padding: 0;
}

.box-text.box-text-products {
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box-text.box-text-products a.button {
    margin: 0;
    border-radius: 100px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-bottom-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-bottom-line .button:not(.icon) > i {
    margin: 0;
    font-size: 18px;
    top: 0;
}

.price-wrapper {
    font-size: 15px;
    font-weight: bold;
    color: #d0021b;
}

.price, 
.price-wrapper .price, 
.product-info .price {
    font-size: 1em;
}

span.amount {
    color: #d70018;
    font-weight: 600;
    font-size: 16px;
}

.product-summary span.amount {
    font-size: 22px;
}

del span.amount {
    color: #111;
    font-weight: bold;
}

h3.name.product-title.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 40px;
}

.product.col .col-inner {
    background: #FFF;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #DDD;
}

.product-small.box span.thong-tin-bo-sung {
    display: none;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.product-small:hover a.woocommerce-LoopProduct-link, 
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover {
    color: #d33;
}

.product .box-text {
    padding-left: 10px;
    padding-right: 10px;
}

h4.luanlt_product_sub_title {
    font-size: 11px;
    font-weight: 400;
    background-color: #e5e5e5;
    border-radius: 3px;
    padding: 3px;
    margin-bottom: 5px;
    text-transform: capitalize;
}

/* Badge Styles */
span.onsale {
    font-size: 13px;
    font-weight: 400;
}

.badge-container {
    margin: 10px;
}

.badge-square-inside .badge-inner, 
.badge-square .badge-inner {
    position: relative;
    padding: 0 5px;
    background: none;
    font-weight: lighter;
    font-size: 13px;
    border-radius: 2px;
}

.badge.callout.badge-square {
    height: auto;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #008000;
}

.box-image .out-of-stock-label {
    background: #f00;
    padding: 0 5px;
    color: #fff;
    font-size: 13px;
    text-transform: none;
    display: table;
    top: 10px;
    right: 10px !important;
    left: auto;
    border-radius: 3px;
}

/* Button Styles */
.primary, 
input[type=submit], 
input[type=submit].button {
    background-color: var(--primary-color);
}

.button.is-outline, 
input[type=submit].is-outline, 
input[type=reset].is-outline, 
input[type=button].is-outline {
    border-width: 1px;
}

.add-to-cart-wrapper a.button {
    background-color: #0073aa;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.add-to-cart-wrapper a.button:hover {
    background-color: #005177;
    text-decoration: none;
}

.add_to_cart_button i {
    margin: 0 !important;
}

/* Search Lightbox */
#search-lightbox .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    height: 50px !important;
    font-size: 16px !important;
}

/* Section Title */
.section-title-container {
    margin-bottom: 20px;
}

p.section-title {
    font-weight: bolder;
}

.section-title-normal span {
    border-bottom: 2px solid rgb(255, 0, 0);
    padding: 10px 0;
    margin-right: 0;
}

/* Flash Sale */
.flash-sale-header {
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin-bottom: 20px;
}

.flash-sale-header .title_count {
    height: 30px;
    line-height: 1.875rem;
    margin: 0 auto;
    position: relative;
    display: inline-flex;
    pointer-events: all;
}

.flash-sale-header .title_count span {
    background: #222;
    color: #f4f4f4;
    width: 27px;
    height: 24px;
    line-height: 23px;
    margin-left: 6px;
    border-radius: 2px;
    display: inline-block;
}

.flash-sale-header .title_count .tempo {
    width: 350px;
    padding: 0;
}

.flash-sale-header .title_count .tempo li {
    text-align: left;
    display: inline-block;
    font-size: 24px;
    width: 31%;
    margin-top: -50px;
    margin-left: -1px;
}

.flash-sale-header__title {
    text-transform: uppercase;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1.25rem;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.54);
    font-weight: 500;
    line-height: 1;
}

.flash-sale-header__title__flash-sale {
    padding-left: 16px;
    width: 114px;
    height: 30px;
    line-height: 30px;
    text-transform: uppercase;
    display: inline-block;
    background: url('inc/img/flashsale-label.png') center no-repeat;
    background-size: contain;
}

.flash-sale-header__title__countdown {
    margin-left: 0.625rem;
    height: 30px;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    transform: scale(0.84);
    backface-visibility: hidden;
    cursor: default;
    color: #000;
}

.flash-sale-header__title__countdown p {
    margin-top: 0;
    font-weight: bold;
    text-align: center;
}

.flash-sale-header a {
    text-decoration: none !important;
    color: #ee4d2d;
    line-height: 1;
}

.flash-sale-header a button {
    padding: 0.3125rem 0.4375rem;
    background-color: transparent;
    border: none;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    color: #ee4d2d;
    margin: 0;
}

.flash-sale-header a button:focus {
    outline: none;
}

.flash-sale-header a button svg {
    width: 0.625rem;
    fill: #ee4d2d;
}

/* Homepage Styles */
.main_slider .large-3 {
    flex-basis: 250px;
    max-width: 250px;
}

.main_slider .large-9 {
    flex-basis: calc(100% - 250px);
    max-width: calc(100% - 250px);
}

.luanlt_20 {
    max-width: 20%;
    flex-basis: 20%;
}

.luanlt_80 {
    max-width: 80%;
    flex-basis: 80%;
}

.luanlt .img-inner img {
    border-radius: 5px;
    border: 1px solid #E5E5E5;
}

.luanlt .col {
    padding-bottom: 0;
}

.luanlt_feature_product .col {
    padding-bottom: 0;
}

.luanlt_feature_product .col-inner {
    border: 2px solid #cf3034;
    padding: 60px 15px 0 15px;
    border-radius: 5px;
    background: #FFF;
    margin-bottom: 20px;
    position: relative;
}

.luanlt_feature_product .product.col .col-inner {
    margin-bottom: 10px;
    padding: 10px;
}

.luanlt_title_feature {
    color: #FFF;
    font-weight: bold;
    background: #cf3034;
    padding: 8px 50px 8px 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 100px 0;
}

.luanlt_title_feature h2 {
    border-bottom: none;
    position: static;
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
}

.luanlt_feature_product .row-small > .col, 
.luanlt_feature_product .row-small > .flickity-viewport > .flickity-slider > .col {
    padding-bottom: 0;
}

.luanlt_buttom span {
    line-height: 1;
    font-weight: normal;
    font-size: 14px;
}

.luanlt_post_cat_container .section-title-container {
    margin-bottom: 0;
}

.luanlt_cat_post {
    position: absolute;
    right: 0;
    top: 0px;
    display: inline-block;
}

.luanlt_post_cat_container .section-title.section-title-normal a {
    padding-left: 0;
}

.luanlt_cat_post .ux-menu-link {
    float: left;
}

.luanlt_cat_post .ux-menu-link a {
    border: 1px solid #EEE;
    border-radius: 22px;
    padding: 5px 20px;
    color: #555;
    margin-right: 10px;
    line-height: 1;
    min-height: auto;
}

.luanlt_list_cat {
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #EEE;
    margin-bottom: 30px;
}

.luanlt_list_cat .col {
    padding-bottom: 0;
}

.luanlt.icon-box.featured-box {
    border: solid 1px #ccc;
    padding: 7px;
    border-radius: 7px;
}

.luanlt.icon-box.featured-box .icon-box-text {
    align-content: center;
}

.luanlt_text_counter {
    line-height: 20px;
    margin-bottom: -20px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    text-align: center;
    color: #fff;
}

/* Footer Styles */
footer .section {
    padding-bottom: 0;
}

footer .ux-menu i {
    color: red;
}

footer .section-title-normal span {
    font-weight: 700;
    color: #333;
    font-size: 18px;
}

.ux-menu-link--active .ux-menu-link__link, 
.ux-menu-link:hover .ux-menu-link__link {
    color: red;
}

.absolute-footer {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

/* Miscellaneous */
.is-divider {
    display: none;
}

blockquote, dl, figure, form, ol, p, pre, ul {
    margin-bottom: 1em;
}

.currency {
    font-size: 13px;
}

.sticky-add-to-cart__product .product-title-small {
    max-width: 100%;
}

h1.entry-title {
    font-size: 1.2em;
}

.post-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #CCC;
    font-size: 19px;
    padding: 5px 15px;
    color: #222;
    border: none;
    display: table;
}

.col.post-item a img {
    border-radius: 5px;
}

.text.luanlt_title a {
    color: #0b4ab1;
}

.button.primary.is-outline.lowercase.luanlt_buttom {
    display: table;
    margin: 0 auto;
    padding: 3px 20px;
}

/* WooCommerce Ordering */
.woocommerce-ordering {
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
}

.orderby-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.orderby-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.orderby-buttons .button {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 0;
    font-size: 13px;
    text-transform: none;
    font-weight: normal;
    border: solid 1px #dedede;
    color: #333333;
    min-height: 25px !important;
    background-color: #fff;
}

.orderby-buttons .button:hover, 
.orderby-buttons .button.active {
    color: #d33;
    border: solid 1px #d33;
    background-color: #fff !important;
    box-shadow: none;
}

/* Single Product */
.variations_form .ux-swatch.selected {
    box-shadow: 0 0 0 0.1rem #13afe5 !important;
    background-color: #13afe5;
    color: #fff;
}

a.add-request-quote-button.button {
    margin-right: 0;
    font-size: 13px;
}

a.add-request-quote-button.button:before {
    content: "\e00c";
    font-family: fl-icons;
    margin-right: 10px;
}

.woocommerce.single-product .product .yith-ywraq-add-to-quote {
    margin-top: 0;
}

/* Breadcrumb */
.rank-math-breadcrumb {
    padding: 10px 0;
    display: table;
    border-radius: 5px;
    line-height: 20px;
    font-size: 14px;
    text-transform: none;
    color: #555;
    min-height: 40px;
}

.rank-math-breadcrumb p {
    margin-bottom: 0;
    color: #000;
    font-weight: normal;
}

.rank-math-breadcrumb a {
    color: #555;
    font-size: 14px;
    text-transform: none;
}

/* Image Caption */
.wp-block-image figcaption {
    margin-top: 0;
    font-size: 13px;
    text-align: center;
    font-style: italic;
    background-color: #f3f3f3;
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Coupon Button */
.showcoupon {
    background-color: #1c87c9;
    border-radius: 60px;
    border: none;
    color: #eeeeee;
    cursor: pointer;
    display: inline-block;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    animation: glowing 1300ms infinite;
}

@keyframes glowing {
    0% {
        background-color: #2ba805;
        box-shadow: 0 0 5px #2ba805;
    }
    50% {
        background-color: #49e819;
        box-shadow: 0 0 20px #49e819;
    }
    100% {
        background-color: #2ba805;
        box-shadow: 0 0 5px #2ba805;
    }
}

/* Related Posts */
.related_post .section-title-main {
    font-weight: bold;
}

/* Pagination */
.nav-pagination > li > a, 
.nav-pagination > li > span {
    border: 1px solid;
}

/* Entry Content */
.entry-content a {
    color: red;
}

.entry-content {
    padding-top: 0;
}

.post .entry-header-text.entry-header-text-top.text-center {
    text-align: left;
    padding: 0;
}

.post h1.entry-title {
    font-size: 1.7em;
}

/* Widget */
.widget .current-cat > a {
    font-weight: normal;
    color: red;
}

/* Misc */
.quantity, 
.text-center .quantity {
    align-items: center;
}

.luanlt_cateogry .img-inner {
    border-radius: 3px;
}

.back-to-top {
    height: 2.19em;
}

.grecaptcha-badge {
    display: none !important;
}

.luanlt_logo_mobile {
    display: none;
}

/* Media Queries */
@media screen and (min-width: 850px) {
    .col-divided {
        border-right: none;
        padding-right: 15px;
    }
    .col-border + .col, 
    .col-divided + .col {
        padding-left: 15px;
    }
}

@media only screen and (min-width: 650px) {
    .medium-logo-left .logo {
        display: block;
    }
    .luanlt_logo_mobile {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    .header-search-form-wrapper {
        padding: 0;
    }
    .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
        top: 7px;
    }
    .main_slider .large-3 {
        display: none;
    }
    .main_slider .large-9 {
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 15px;
    }
    .medium-logo-left .logo {
        display: none;
    }
    .luanlt_feature_product .col-inner {
        border: none;
        padding-left: 0;
        padding-right: 0;
    }
    .luanlt_title_feature {
        width: 100%;
        border-radius: 0;
    }
    .luanlt_cat_post {
        display: none;
    }
    .mobile-nav.nav.nav-left li {
        margin: 0;
    }
    .luanlt_category {
        border: 1px solid #EEE;
        overflow: hidden;
    }
    .luanlt_category.row-dashed .col-inner, 
    .luanlt_category.row-solid .col-inner {
        padding: 5px;
    }
    .luanlt_category .icon-box.featured-box.icon-box-center p {
        margin-bottom: 0;
    }
    .luanlt_logo_mobile {
        display: block;
    }
    .off-canvas .nav-vertical > li > a {
        text-transform: capitalize;
        font-size: 1em;
    }
    .luanlt_20 {
        max-width: 100%;
    }
    .luanlt_80 {
        max-width: 100%;
        flex-basis: 100%;
    }
    .price, 
    .price-wrapper .price, 
    .product-info .price {
        font-size: 14px;
    }
    #at_posts_related {
        border: solid 1px #ddd;
        border-radius: 10px;
        padding: 10px;
    }
    #at_posts_related .post-item {
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 15px;
    }
    #at_posts_related .box-image {
        width: 30%;
    }
    #at_posts_related .box-text.text-center {
        width: 70%;
        text-align: left;
    }
    #at_posts_related .box-blog-post {
        display: flex;
    }
}