/*
Theme Name: Web Khoi Nghiep
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url(css/font-awesome.css);
@font-face {
    font-family: "UTM Ambrosia";
    src: url('fonts/UTM-Ambrosia.ttf');
}
/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --color-primary: #ab0303;
    --color-border: #df4711;
    --color-bg-title: #930000;
}

body {
    background: url(./image/bg-footer-optimized.jpg) no-repeat bottom center / 100% auto, 
    url(./image/bg-body-5.png) no-repeat right 4430px, 
    url(./image/bg-body-4.png) no-repeat left 4500px, 
    url(./image/bg-body-3.png) no-repeat right 3330px, 
    url(./image/bg-body-2.png) no-repeat left 2700px, 
    url(./image/bg-body-1.png) no-repeat right 2100px, 
    url(./image/bg-header-optimized.jpg) no-repeat top center, 
    url(./image/bg-body.png) repeat;
}
#main, #wrapper {
    background-color: transparent !important;;
}
.header-bg-color,
.header-bg-image {
    background-size: cover;
}

.header-bg-image {
    position: relative;
    z-index: 1;
}

.item_box_header .icon-box-text {
    color: var(--color-primary);
    font-size: 14px;
}

.item_box_header .icon-box-text h3 {
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 0px;
}

.item_box_header .icon-box-text p {
    color: var(--color-primary);
}

.searchform-wrapper:not(.form-flat) .submit-button,
.widget_search .submit-button {
    position: relative;
}

#header .searchform-wrapper:not(.form-flat) .submit-button {
    height: 46px;
    padding: 0 20px;
}

#header .searchform-wrapper:not(.form-flat) .submit-button::after {
    content: "Tìm kiếm";
}

#header .searchform-wrapper:not(.form-flat) .submit-button img {
    position: absolute;
}

#header .searchform-wrapper:not(.form-flat) .submit-button img.top_left {
    left: 5px;
    top: 5px;
}

#header .searchform-wrapper:not(.form-flat) .submit-button img.top_right {
    right: 5px;
    top: 5px;
}

#header .searchform-wrapper:not(.form-flat) .submit-button img.bottom_left {
    left: 5px;
    bottom: 5px;
}

#header .searchform-wrapper:not(.form-flat) .submit-button img.bottom_right {
    right: 5px;
    bottom: 5px;
}

#header .searchform-wrapper:not(.form-flat) input.search-field {
    height: 46px;
    color: var(--color-primary);
}

#wide-nav .header-vertical-menu__opener {
    margin: 2px 2px 0 2px;
    height: 46px;
    border: 1px solid var(--color-border);
    background: transparent;
    text-transform: uppercase;
    position: relative;
}

#wide-nav .header-vertical-menu__opener::before {
    background: url(./image/icon_top_left.png) no-repeat center center / 100% auto;
    content: '';
    height: 20px;
    width: 20px;
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 1;
}

.header-vertical-menu__fly-out.has-shadow {
    background-color: var(--color-primary);
    padding: 0 2px 2px 2px !important;
}

.nav-vertical-fly-out>li {
    border-bottom: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.nav-vertical-fly-out>li+li {
    border-color: var(--color-border);
    border-top: 0px !important;
}

.nav-vertical-fly-out>li>a {
    color: #fff;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.nav-vertical-fly-out>li:hover>a {
    color: #fff;
}

.slide_home {
    border: solid 2px #b29160;
    position: relative;
}

.slide_home::before {
    background: url(./image/top_left.png) no-repeat center center / 100% auto;
    content: '';
    width: 32px;
    height: 32px;
    top: 5px;
    left: 5px;
    position: absolute;
    z-index: 1;
}

.slide_home .flickity-prev-next-button.previous {
    height: 30px;
    width: 30px;
    transform: rotate(45deg) translateY(-50%) !important;
    left: -26px;
    display: inline-flex;
    min-height: unset;
    justify-content: center;
    align-items: center;
    background: #fff;
    opacity: 1;
    color: #222;
    border-right: solid 2px #b29160;
    border-top: solid 2px #b29160;
    top: 50%;
}

.slide_home .flickity-prev-next-button.previous::before {
    content: "";
    background-color: #b29160;
    height: calc(100% - 4px);
    width: calc(100% - 4px);
    left: 2px;
    top: 2px;
    position: absolute;
    z-index: 0;
}

.slide_home .flickity-prev-next-button svg {
    position: relative;
    transform: rotate(-45deg);
    top: unset;
    left: unset;
    width: 24px;
    height: 24px;
}
.slide_home .flickity-prev-next-button.next {
    height: 30px;
    width: 30px;
    transform: rotate(45deg) translateY(-50%) !important;
    right: -5px;
    display: inline-flex;
    min-height: unset;
    justify-content: center;
    align-items: center;
    background: #fff;
    opacity: 1;
    color: #222;
    border-left: solid 2px #b29160;
    border-bottom: solid 2px #b29160;
    top: 50%;
}

.slide_home .flickity-prev-next-button.next::before {
    content: "";
    background-color: #b29160;
    height: calc(100% - 4px);
    width: calc(100% - 4px);
    left: 2px;
    top: 2px;
    position: absolute;
    z-index: 0;
}

.slide_home .flickity-prev-next-button svg path {}


.row_collection .item_collection.box .box-image::before {
  content: '';
  background: url(/wp-content/uploads/2024/07/Asset-7-8.png);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  display: block;
  background-size: 100% 100%;
	pointer-events: none;
}
.row_collection .item_collection.box .box-image a {
  padding: 20px;
}

.row_collection .item_collection .box-text {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  color: #fff;
  background: -moz-linear-gradient(121deg, rgba(237,211,150,1) 0%, rgba(255,233,198,1) 66%, rgba(218,188,116,1) 100%);
  background: -webkit-linear-gradient(121deg, rgba(237,211,150,1) 0%, rgba(255,233,198,1) 66%, rgba(218,188,116,1) 100%);
  background: linear-gradient(121deg, rgba(237,211,150,1) 0%, rgba(255,233,198,1) 66%, rgba(218,188,116,1) 100%);
  border-radius: 10px;
  padding: 15px 20px;
  width: 65%;
	pointer-events: none;
}

.box_icon_four {
    background: #d6cdbf;
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-top: 1px solid #b29160;
    border-bottom: 1px solid #b29160;
    position: relative;
}
.box_icon_four::before {
    background: url(./image/left.png) no-repeat left center / auto 100%; 
    content: "";
    height: calc(100% - 4px);
    width: 66px;
    position: absolute;
    left: 2px;
    top: 2px;
    z-index: 1;
}
.box_icon_four::after {
    background: url(./image/right.png) no-repeat right center / auto 100%; 
    content: "";
    height: calc(100% - 4px);
    width: 66px;
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 1;
}
.box_icon_four .icon-box-text {
    display: flex;
    align-items: center;
}
.box_icon_four.box_01 {
    border-left: 1px solid #b29160;
}
.box_icon_four.box_04 {
    border-right: 1px solid #b29160;
}
.box_icon_four .icon-box-text h3 {
    font-weight: 500;
}

.product.product-small > .col-inner {
    border: 1px solid #b29160;
}

.product.product-small .box-text-products {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}
.product.product-small .box-text-products h3.woocommerce-loop-product_title {
    height: 40px;
}
.product.product-small .box-text-products h3.woocommerce-loop-product_title a{
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}
.product.product-small .box-text-products .price-wrapper {
    text-align: center;
}
.product.product-small .box-text-products .price-wrapper .price {
    font-size: 16px;
}

.product.product-small .box-text-products .sold-count {
    padding: 1px 15px;
    border-radius: 15px;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: bold;
    margin: 10px 0;
}

.row_five_column .w-20 {
    max-width: 20%;
    flex-basis: 20%;
}
.row_five_column .w-80 {
    flex-basis: 80%;
    width: 80%;
}

.wrapper_title {
    border-bottom: 2px solid var(--color-bg-title);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrapper_title .title__box {
    background-color: var(--color-bg-title);
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 12px 25px;
}

.wrapper_title .title__box .title_left {
    display: flex;
    align-items: center;
    column-gap: 10px;
}
.wrapper_title .title__box .title_left img {
    height: 20px;
}

.wrapper_title .title__box .title_left .title_text h2{
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}
.wrapper_title .title__box .title_brush {
    height: calc(100% - 8px);
    width: calc(100% - 8px);
    position: absolute;
    top: 4px;
    left: 4px;
    border: 1px solid var(--color-border);
}
.wrapper_title .title__box .title_brush .icon-1 {
    top: 2px;
    left: 2px;
}
.wrapper_title .title__box .title_brush .icon-2 {
    top: 2px;
    right: 2px;
}
.wrapper_title .title__box .title_brush .icon-3 {
    bottom: 2px;
    left: 2px;
}
.wrapper_title .title__box .title_brush .icon-4 {
    bottom: 2px;
    right: 2px;
}
.wrapper_title .read_more a {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-bg-title);
}

.blog_vertical .post-item .is-divider, .widget .is-divider {
    display: none;
}

.blog_vertical .post-item .box-image img {
    border: 1px solid #e0be91;
    padding: 3px;
}
.blog_vertical .post-item .box-text .post-title a {
    color: var(--color-bg-title);
}
.blog_vertical .post-item .box-text .from_the_blog_excerpt  {
    font-size: 15px;
}

.row_dangky {
    padding: 15px;
    background: #ede6e0;
    border: solid 0.8px #b7986b;
}

.box_dangky {
    display: flex;
    align-items: center;
}

.box_dangky .icon-box-text {
    display: flex;
    align-items: center;
}
.row_dangky .wpcf7-form  {
    margin-bottom: 0px;
}
.row_dangky .form_dangky input::placeholder {
    opacity: 1;
}
.row_dangky .form_dangky input {
    background-color: #fff;
    border-radius: 0px !important;
    height: 50px;
    font-weight: 500;
    font-size: 18px;
    color: #f4b072 !important;
}

.row_dangky .form_dangky input.wpcf7-submit {
    background: var(--color-primary) url(./image/bg_title.png) no-repeat center center / 100% 100%;
    font-family: "UTM Ambrosia", sans-serif;
    font-size: 20px;
    margin-right: 0px;
}

#footer .section-footer {
    background: url(./image/bg_f.png) repeat-x center top;
}

.hotline_ft {
    display: inline-flex;
    background: url(./image/bg_hotline.png) no-repeat center 5px / auto 100%;
    padding: 10px 30px 10px 50px;
    min-width: 310px;
    text-align: center;
    justify-content: center;
    color: #fff;
}
.hotline_ft.zalo {
    background: url(./image/bg_zalo.png) no-repeat center 5px / auto 100%;
}
.hotline_ft a span {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    line-height: 20px;
    display: block;
}

.main-container,.product-main .content-row {
    padding: 15px;
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}

.widget span.widget-title {
    background: var(--color-primary) url(./image/bg_title.png) no-repeat center center / 103% 100%;
    display: flex;
    padding: 20px 15px;
    color: #fff;
    justify-content: center;
}

span.amount,.entry-title{
    color: var(--color-bg-title);
}   
.product-main {
    padding-bottom: 0px;
}
.product-main .content-row {
    padding-left: 0px;
    padding-right: 0px;
}
.product-footer > .container{
    padding-top: 15px;
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.sticky-add-to-cart-wrapper form.cart {
    display: flex;
    align-items: center;
}
.product-summary form.cart .quantity + button.single_add_to_cart_button, .sticky-add-to-cart-wrapper form.cart .quantity + button.single_add_to_cart_button {
    background: url(./image/bg_button_2.png) no-repeat center center / 100% 100%;
    height: 56px;
    padding: 0 25px 0 70px;
    position: relative;
}
.product-summary form.cart .quantity + button.single_add_to_cart_button::before,.sticky-add-to-cart-wrapper form.cart .quantity + button.single_add_to_cart_button::before {
    content: "";
    height: 30px;
    width: 30px;
    background: url(./image/icon-plus.svg) no-repeat center center;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
.product-summary form.cart .quantity + button.single_add_to_cart_button:hover {
    background: url(./image/bg_button_hover.png) no-repeat center center / 100% 100%;
}

#buy_now_button {
    background: url(./image/bg_button.png) no-repeat center center / 100% 100%;
    height: 56px;
    padding: 0 25px 0 70px;
}
#buy_now_button:hover {
    background: url(./image/bg_button_hover.png) no-repeat center center / 100% 100%;
}
#buy_now_button p {
    color: #fff;
}
#buy_now_button svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
    fill: #fff;
}

.product-summary .quantity {
    display: flex;
}

.product-section-title-related {
    
}

.woocommerce-checkout .row > .col + .col .col-inner{
    background-color: #fff;
    border: 2px solid #d26e4b
}

.woocommerce-checkout #customer_details {
    background-color: #fff;
    border: 2px solid #d26e4b;
    padding: 15px;
}
.woocommerce-checkout .woocommerce-billing-fields {
    border-top: 0px;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .row_five_column .w-80 {
        flex-basis: 100%;
        width: 100%;
    }

}