/*
Theme Name: SPA
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.nav-dropdown>li.image-column,
.nav-dropdown>li.nav-dropdown-col {
    width: 25%;
}
.bd5px img {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.product-small.box img {
    border-radius: 4px;
}
a.nex-wc-thumb {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
.cghtm .col-inner.text-center {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
.wrap-breadcrumbs a {
    color: #7b0303;
}

.wrap-breadcrumbs {
    background: #eee;
}
.row.col.nex-yoast-breadcrumbs {
    padding: 5px 15px;
}
.mgoh1 h1 {
    margin-bottom: 3px;
}
.nex-yoast-breadcrumbs {
    font-size: 0.9em;
}
.header:not(.transparent) .top-bar-nav > li > a {
    color: #7b0303;
}
.header:not(.transparent) .top-bar-nav > li > a:hover {
    color: #fff!important;
    background: #7b0303!important;
}
.footerfw .button.icon.circle {
    padding: 0;
    border-radius: 0 !important;
    border: none !important;
    margin: 0;
    line-height: 1;
    min-height: auto;
    min-width: auto;
    margin-right: 13px;
    font-size: 1.2em;
}

.accordion-title.active {
    background-color: rgba(0, 0, 0, .03);
    color: #333;
    font-weight: 700;
    border: unset;
    background-color: unset;
}

a.plain {
    color: #333;
    transition: color .3s, opacity .3s, transform .3s;
}

.sliderbg .box-text {
    padding: 12px 5px;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 90%);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.sliderbg .image-cover {
    border-radius: 5px;
}

.lhgt1 {
    line-height: 1;
}

.lightbox-content img {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.lightbox-content {
    border-radius: 5px;
}

p {
    margin-bottom: 5px;
}

.icon-box-left,
.icon-box-right {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    align-items: center;
}

.col,
.columns,
.gallery-item {
    margin: 0 auto;
    padding: 0 12px 30px;
    position: relative;
    width: 100%;
}

form {
    margin: 0;
}

.nex-pill {
    position: relative;
    width: 100px;
    height: 43px;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    background: linear-gradient(180deg, #f4ecd4 0%, #efe2bf 100%);
}

.nex-pill__num {
    position: absolute;
    left: 50%;
    top: -100%;
    transform: translateX(-50%);
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    color: #c8b06b;
    pointer-events: none;
    user-select: none;
}

.bd15 .text-inner {
    min-height: 110px;
    padding-top: 1px !important;
}

.nex-hot-wrap {
    max-width: 1200px;
    margin: auto;
    overflow: hidden
}

.nex-hot-stage {
    overflow: hidden
}

.nex-hot-track {
    display: flex;
    transition: transform .45s ease
}

.nex-hot-slide {
    min-width: 100%
}

.nex-hot-item {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 46px;
    align-items: center;
    padding: 30px 0
}

.nex-hot-badge {
    display: inline-block;
    background: #b62822;
    color: #fff;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: 700;
    position: relative
}

.nex-hot-badge:after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #b62822
}

.nex-hot-title {
    font-weight: 900;
    color: #8b1b17;
    margin: 12px 0
}

.nex-hot-price {
    display: inline-block;
    background: linear-gradient(135deg, #e6c98a, #fff7e6);
    color: #b72922;
    padding: 11px 20px;
    font-weight: 800;
    border-radius: 5px;
}

.nex-hot-desc {
    margin-top: 18px;
    line-height: 1.7;
    color: #111
}

.nex-hot-more {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #8b1b17;
    font-weight: 800
}

.nex-hot-more i {
    transition: transform .25s ease
}

.nex-hot-more:hover i {
    transform: translateX(6px)
}

.nex-hot-imgwrap {
    position: relative;
    border-radius: 5px;
    overflow: hidden
}

.nex-hot-imgwrap:before {
    content: "";
    position: absolute;
    right: -16px;
    top: -16px;
    bottom: 26px;
    width: 16px;
    background: #b62822
}

.nex-hot-imgwrap:after {
    content: "";
    position: absolute;
    left: 26px;
    right: -16px;
    bottom: -16px;
    height: 16px;
    background: #b62822
}

.nex-hot-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    border-radius: 5px
}

.wrap-dtf {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.nex-hot-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px
}

.nex-hot-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgb(193 193 193 / 0%);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px -1px 22px rgba(0, 0, 0, .08);
    margin: 0;
    min-height: auto;
}

@media(max-width:1024px) {
    .nex-hot-item {
        grid-template-columns: 1fr
    }
}

@media(max-width:767px) {
    .nex-pill {
        position: relative;
        width: 74px;
    }

    #top-bar {
        display: none;
    }

    .nex-pill__num {
        position: absolute;
        left: 45%;
        top: -72%;
        transform: translateX(-50%);
        font-size: 70px;
        font-weight: 800;
        line-height: 1;
        color: #c8b06b;
        pointer-events: none;
        user-select: none;
    }
}

.wrap-img {
    position: relative;
    display: flex;
    justify-content: center;
}


.nex-step-title {
    position: absolute;
    background: #990000;
    padding: 5px 15px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    top: -15px;
}

.image-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 5px;
}

.bd15,
.bd15 img {
    border-radius: 5px;
}

.footerfw ul li {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 6px;
}

.image-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footerftw {
    background: #EEE;
    background: linear-gradient(180deg, rgba(238, 238, 238, 1) 0%, rgba(245, 245, 245, 1) 6%, rgba(255, 255, 255, 1) 33%);
}

.mgo p {
    margin-bottom: 5px;
}
.wrap-top-mn {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wrap-top-mn img {
    width: 40px;
}
.right-text {
    display: flex;
    flex-direction: column;
    color: #7b0303;
}
.right-text a {
    color: #7b0303;
}
.top-bar-nav.nav-right a {
    border: 1px solid #7b0303;
    margin: 0 10px;
    border-radius: 5px;
    padding: 12px 10px;
}
.nex-lead-wrap button {
    margin: 0 !important;
    min-height: auto;
    width: auto;
    padding: 0 25px !important;
    border-radius: 5px;
}
.col-inner>.img:not(:last-child), .col>.img:not(:last-child) {
    margin: 0;
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    border-radius: 5px;
    border: 1px solid #7c0302;
    color: #7b0303 !important;
}
.searchform .button.icon i {
color: #7b0303 !important;
}
.search-field::placeholder {
    color: #7b0303;
}
.khonggian {
    max-width: 100% !important;
}
.review-avt img {
    border-radius: 50%;
}
.mgo p{
margin-bottom:3px;
    line-height: 1;
}