/*
Theme Name: Flatsome Child
Description: Chỉnh sửa css cho theme Flatsome child
Author: Gonline
Template: flatsome
Version: 1.0
*/

/*************** Thêm css ở đây ***************/

.woocommerce-EditAccountForm .woocommerce-form-row--last, /*Field "Last name" trong trang Chỉnh sửa tài khoản*/ 
.woocommerce-order-received .woocommerce-customer-details,
#billing_country_field, 
.woocommerce-view-order .woocommerce-customer-details /*Địa chỉ thanh toán trang "Mua thành công"*/ {
    display: none;
}
.margin-block {
    margin-bottom: 20px;
}
ul {
    list-style: none;
}
/* Thanh Breadcrumb */
.featured-title .page-title-inner {
    padding: 15px;
    min-height: 20px;
}
/* Header */
.header-nav.header-nav-main.nav {
    justify-content: start;
}
/* Trang Cửa Hàng */
.orderby {
    border-bottom: 1px solid #dfdfdf;
}
.orderby-item {
    display: inline-block;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 15px;
}
.header-cont-prod {
    display: flex;
    justify-content: space-between;
}
#shop-sidebar .widget.woocommerce,
#product-sidebar .widget.woocommerce {
    padding: 10px;
    box-shadow: 0 0 3px 0 #c1c1c1;
}
#shop-sidebar .widget.woocommerce .widget-title,
#product-sidebar .widget.woocommerce .widget-title {
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: block;
}
.widget_price_filter .ui-slider .ui-slider-handle {
    width: 9px;
    height: 9px;
    top: -3px;
}
.widget_price_filter .ui-slider-horizontal {
    height: 3px;
}
.widget_price_filter .price_slider_amount .button {
    font-size: 0.7em;
}
/*================ END ========================*/
/* 1 Sản phẩm */
.price-wrapper .price {
    display: flex;
    flex-direction: column-reverse;
}
/*================ END ========================*/
/* Trang Cửa hàng*/
.quantity + .button {
    font-size: 0.97em;
}
.product-short-description {
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 5px;
    margin-bottom: 10px;
    transition: 0.5s;
}
.product-short-description:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.22);
}
#product-sidebar {
    padding-top: 40px;
}
/*================ END ========================*/
/* Trang Thanh toán*/
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p.form-row,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper p.form-row {
    width: 100%;
}
/*================ END ========================*/
/* Trang Mua thành công*/
.woocommerce-order-details,
.cart-collaterals,
.woocommerce-cart-form,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-MyAccount-content,
.account-container.lightbox-inner {
    margin-top: 10px;
}
.name-block-acc,
.change-acc-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}
.name-block-acc .woocommerce-form-row {
    width: 100%;
}
/*================ END ========================*/
/* Style Banner */
.carousel:hover .flickity-button {
    opacity: 1;
}
.carousel svg {
    border-radius: 50%;
    background: #446084;
    color: #fff;
}
.carousel-cell {
    width: 100%;
    margin-right: 10px;
    padding-top: 30%;
    background: #8c8;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.flickity-page-dots .dot.is-selected {
    background-color: #446084;
}
.flickity-page-dots .dot {
    border: 2px solid #446084;
}
/*================ END ========================*/
/* Style Slider Partner */
.partner-slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.partner-slider::before,
.partner-slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}
.partner-slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}
.partner-slider::before {
    left: 0;
    top: 0;
}
.partner-slider .slide-track {
    display: flex;
}
.partner-slider .partner-slide {
    height: 100px;
    width: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*================ END ========================*/
/*Trang giới thiệu*/
.b-text-intro {
    line-height: 22px;
    color: #000;
    padding: 35px 55px;
    box-shadow: 0 0 4px 0 #c1c1c1;
    position: relative;
    max-width: 50%;
    margin: 20px auto;
    background: #fcfcfc;
}
.b-text-intro::before,
.b-text-intro::after {
    font: normal normal normal 30px/1 FontAwesome;
    color: #c1c1c1;
    position: absolute;
}
.b-text-intro::before {
    content: "\f10d";
    left: 15px;
    top: 10px;
}
.b-text-intro::after {
    content: "\f10e ";
    right: 15px;
    bottom: 10px;
}
.b-text-intro::first-letter {
    font-size: 50px;
    font-weight: 900;
    line-height: 50px;
    float: left;
    margin-right: 7px;
    font-family: -webkit-pictograph;
}
.b-affiliates {
    text-align: center;
}
.title-affiliates {
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-affiliates .fa {
    font-size: 40px;
    color: #929292;
    margin-right: 10px;
}
.title-affiliates span {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.affiliates-title-item {
    color: #929292;
    font-size: 17px;
}
/*================ END ========================*/
/*Trang liên hệ*/
.layout-contact {
    margin-top: 20px;
}
.b-contact-address .fa {
    background: #929292;
    border-radius: 50%;
    color: #fff;
    margin-right: 5px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}
.b-contact-address .item-address {
    margin-bottom: 5px;
}
/*Footer*/
.ft-center {
    padding-top: 20px;
}
.ft-logo {
    margin-bottom: 10px;
}
.title-footer {
    text-transform: uppercase;
    margin-bottom: 0;
}
.ft-bottom-content {
    padding: 10px;
    text-align: center;
}
#footer,
.footer-1 {
    background-color: #f68634 !important;
}
/* .ft-logo{
    margin-top: 40px;
} */
#footer a,
#footer h3,
#footer span,
.ft-bottom-content {
    color: #fff;
}
.hover-coppyright:hover {
    color: #74be1c !important;
}
.ft-logo img {
    width: 70%;
}
.ft-logo {
    text-align: center;
}
.download {
    width: 70%;
    padding: 10px 20px 10px 0;
}
/*==================== Banners ====================*/

.slides {
    overflow: hidden;
}

.slide {
    display: none;
    animation: img 1s linear forwards;
}

.slide.active {
    display: flex;
}

.box-content-banner {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide-img {
    animation: img 1s linear forwards;
}

@keyframes img {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.slide {
    overflow: hidden;
}

.main-title-banner {
    color: #fff;
    text-transform: uppercase;
    font-size: 5rem;
    font-weight: 600;
    animation: text 1s ease forwards;
}

.sub-title-banner {
    color: #fff;
    font-size: 2.2rem;
    animation: text 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.line-btn .link {
    font-size: 1.9rem;
    padding: 12px 30px;
    margin: 0 10px;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    border-radius: 10px;
    border: 1px solid var(--main-color);
    transform: scale(0);
    animation: buttons 1s ease forwards;
    animation-delay: 0.7s;
    overflow: hidden;
}

@keyframes buttons {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.line-btn .link.light {
    background: transparent;
    border: 1px solid #fff;
}

.line-btn .link.dark:after {
    content: "";
    background: var(--main-color);
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(1.3) skew(-30deg, 0deg);
    transition: all 0.2s;
    z-index: -1;
}

.line-btn .link.dark:hover:after {
    right: -50%;
    transform: scale(1) skew(-30deg, 0deg);
}

.line-btn .link.light:after {
    content: "";
    background: var(--main-color);
    width: 100%;
    height: 100%;
    position: absolute;
    right: -120%;
    top: 0;
    transform: skew(-30deg, 0deg);
    transition: all 0.2s;
    z-index: -1;
}

.line-btn .link.light:hover {
    border: 1px solid var(--main-color);
}

.line-btn .link.light:hover:after {
    right: -50%;
}

/*==================== Button Next - Prev slide ====================*/

.slide-control.dashicons {
    background: rgba(167, 167, 167, 0.6);
    position: absolute;
    top: 50%;
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: bacground 0.5s;
    color: #fff;
    transform: translateY(-50%);
}

.slide-control:hover {
    background: var(--opacity-color);
}

.slide-control.prev,
.slide-control.prev-slide {
    left: 0;
}

.slide-control.next,
.slide-control.next-slide {
    right: 0;
}

/*==================== Slider-Thumb ====================*/

.slider-container {
    display: flex;
    flex-wrap: nowrap;
    max-width: none;
    transition: transform 1s;
}

.translateSlide {
    animation: translateY 2s ease forwards;
}

/*==================== Light-box ====================*/

.light-box {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
}

.light-box.open {
    display: flex;
}

.light-box .img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    animation: lightImage 0.5s ease;
}

@keyframes lightImage {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.light-box-inner .light-box-close {
    position: absolute;
    right: -25px;
    font-size: 30px;
    top: -25px;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.5s;
}

.light-box-close.dashicons.dashicons-no:hover {
    color: #ff0700;
    background: #fff;
}

/*==================== End Light-box ====================*/
.box-text {
    padding: 10px;
}
.border-box {
    border-radius: 10px;
}
.border-img {
    border-radius: 10px 10px 0 0;
}
.dia-diem .box-image img {
    height: 210px;
    object-fit: cover;
}
.khuvuc .box-image img {
    height: 350px;
    object-fit: cover;
}
.box-text-inner h4,
.box-text-inner p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.nav .tab {
    padding: 0 10px;
}
.over-hidden {
    overflow: hidden;
}
.is-draggable .box-image img,
.is-draggable .box,
.is-draggable div {
    border-radius: 10px;
}

/*==================== Single Product Page ====================*/

.product-sumary {
    grid-template-columns: 300px 2fr 1fr;
}

.product-sumary .review-num {
    display: inline-block;
    font-size: 85%;
    color: #bdbdbd;
}

.product-sumary .review-num:hover {
    color: var(--main-color);
}

.title-block {
    /* border-bottom: 1px solid #d0d0d0; */
    font-weight: 500;
    color: var(--main-color);
    margin: 0 10px;
}

.respon-text {
    align-self: center;
}

.info-sumary .line-btn {
    max-width: 340px;
}

.info-item-product .info-sumary {
    align-items: center;
}

.line-star {
    display: inline-flex;
}

.line-star > label:before {
    content: "\f155";
    font-family: dashicons;
    color: #c4c4c4;
    font-size: 18px;
    margin-right: 5px;
    cursor: pointer;
    vertical-align: middle;
}

.line-star:hover > label:before {
    color: #ffc42b;
}

.line-star > label:hover ~ label:before {
    color: #c4c4c4;
}

.star.active:before {
    color: #ffc42b;
}

.line-star input[name="star"] {
    display: none;
}

.left-cmt {
    margin-right: 30px;
    flex-shrink: 0;
}

.input-comments .sticky {
    top: 30px;
    max-width: 320px;
    margin: auto;
}

.input-comments .sticky .flex {
    align-items: center;
    flex-wrap: wrap;
}

.sum-rating .rating {
    font-size: 150%;
}

.line-star {
    margin-right: auto;
}

input[name="pro_child"] {
    display: none;
}

input[name="pro_child"]:checked + label {
    border: 2px dashed var(--main-color);
    margin: 0;
    height: 100%;
}
.left-cmt img {
    width: 40px;
    height: 40px;
}

.star-rating {
    display: inline-block;
    position: relative;
    font-size: 90%;
}

.star-width {
    left: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.star-text {
    font-size: 15px;
    vertical-align: middle;
    margin-left: 5px;
}

.star-rating::before,
.star-width::before {
    font-family: dashicons;
    content: "\f155""\f155""\f155""\f155""\f155";
    vertical-align: middle;
}

.star-width::before {
    color: #ffc42b !important;
    word-break: initial;
    word-wrap: initial;
}

.star-rating::before {
    color: #dbdbdb;
    padding-top: 2px;
}
.flex {
    display: flex;
    padding: 10px;
}

.popup {
    /* background: var(--opacity-color); */
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.5s;
}

.popup-content {
    max-height: 95vh;
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #f68634;
    position: relative;
    min-width: 310px;
}

.popup-content input,
.popup-content textarea {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

.popup-close {
    background: var(--opacity-color);
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-close:hover {
    background: var(--red-color);
}

.popup-login {
    min-width: 450px;
    margin: auto;
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #f68634;
}

.field-item {
    position: relative;
    margin-bottom: 15px;
}

.field-item input {
    margin: 0;
    padding-right: 45px;
}

.field-item .dashicons {
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--red-color);
    margin: 0;
    width: 35px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
}

.row-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn,
.cancel-popup {
    font-weight: 500;
    margin: 10px 5px;
    min-width: 93px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.cancel-popup {
    color: var(--red-color);
    border: 1px solid var(--red-color);
    border-radius: 10px;
}
.error-text {
    color: var(--red-color);
    display: none;
    margin: 5px 0;
}
.gap-el {
    margin: 30px 0;
}
.album img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.album_sm img {
    object-fit: cover;
    width: 300px;
    height: 150px;
    padding-right: 10px;
    border-radius: 0 10px 10px 0;
}
.album_sm .img-sm-2 img {
    padding-top: 10px;
}
.padding-10 {
    padding: 10px;
}
.boder-10 {
    border-radius: 10px;
}
.d-lex {
    display: flex;
    width: 100%;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}
.g-2 {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.g-1 {
    height: 300px;
    -webkit-flex: 1 1;
    flex: 1 1;
    margin-right: 10px;
}
.g-2 > div {
    height: 300px;
    -webkit-flex: 1 1;
    flex: 1 1;
}
.pad-left-5 {
    padding-left: 10px;
}
.pad-left-5 img {
    border-radius: 10px 0 0 10px;
}
.detail span {
    padding: 10px 0;
}
.opacity {
    opacity: 01;
}
.more {
    bottom: 10px;
    right: 60px;
    z-index: 999;
    position: absolute;
    color: #fff;
    font-weight: 800;
    padding: 50px;
    opacity: 0.8;
    background: #000;
    cursor: POINTER;
    font-size: 15px;
    border-radius: 5px !important;
}
.more:hover {
   
        color: #fff;
}
.img-wpmobile img {
    object-fit: cover;
    width: 100%;
    height: 300px;
    padding: 5px;
    border-radius: 10px;
}
.img-wpmobile2 img {
    object-fit: cover;
    width: 100%;
    height: 100px;
    padding: 5px;
    border-radius: 10px;
}
.popup-gallerys {
    min-height: 500px;
}
/*************** Css cho mobile ở đây ***************/
@media only screen and (max-width: 48em) {
    .opacity {
        opacity: 1;
    }
    .more {
        z-index: 999;
        /* position: absolute; */
        bottom: 35px;
        right: 15px;
        color: #fff;
        font-weight: 800;
        padding: 4px;
        opacity: 0.8;
        background: #000;
        cursor: POINTER;
        font-size: 15px;
        border-radius: 5px !important;
    }
    .khuvuc .box-image img {
        height: 200px;
        object-fit: cover;
    }
    .box-image img {
        height: 150px;
        object-fit: cover;
    }
    .header-cont-prod {
        display: block;
    }
    #shop-sidebar .widget.woocommerce,
    #product-sidebar .widget.woocommerce {
        padding: 0;
        box-shadow: none;
    }
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-edit-address .woocommerce-address-fields__field-wrapper,
    .name-block-acc,
    .change-acc-block {
        grid-template-columns: 1fr;
    }
    .b-text-intro {
        padding: 33px 15px;
        max-width: 100%;
        margin: 10px;
    }
    .b-text-intro::before,
    .b-text-intro::after {
        font: normal normal normal 25px/1 FontAwesome;
    }
    .b-text-intro::before {
        left: 8px;
        top: 7px;
    }
}
:root {
    --main-color: #f68634;
    --opacity-color: rgba(246, 134, 52, 0.6);
    --red-color: #ff3425;
}
