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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root{
    --border-radius:1.5rem;
    --shadow-box: 0px 22px 30px -14px rgba(120.70000000000002, 118.86326086956522, 118.86326086956522, 0.5)
}
.more-link-wrap.header-button {
    background: var(--fs-color-primary);
    border-radius: 55px;
    padding: 5px 15px
}

.more-link-wrap.header-button a {
    margin-top: 0!important;
}

i.icon-envelop:before {
    content: "\f0e0"
}

i.icon-phone:before {
    content: "\f2a0"
}

i.icon-map-pin-fill:before {
    content: "\f3c5"
}

i.icon-clock:before {
    content: "\f017"
}

i.icon-user:before {
    content: "\f007"
}

i.icon-shopping-cart:before {
    content: "\f145"
}

i.icon-user,i.icon-shopping-cart,i.icon-envelop,i.icon-phone,i.icon-map-pin-fill,i.icon-clock {
    font-family: "Font Awesome 7 Free"!important;
    font-weight: 900!important
}

i.icon-angle-right,i.icon-angle-left,.back-to-top .icon-angle-up {
    font-family: "havezic-icon"!important
}

.icon-angle-up:before {
    content: ""
}
.header-nav li.has-icon i {
    color: #011707;
}
.header-nav li.has-icon i.icon-shopping-cart{
    font-size: 24px;
}
a#top-link {
    color: var(--primary-color);
    font-size: 20px
}

a#top-link:hover {
    color: #fff
}
.plus{
    position: relative;
    top: -15px;
}
.grid{
    --align-items: initial;
    --grid-justify-content: start;
    --grid-align-content: start;
    --grid-auto-flow: row;
    --e-con-grid-template-columns: repeat(2, 1fr);
    --e-con-grid-template-rows: repeat(2, 1fr);
}
.trendy-grid{
    display: grid;
    --grid-col:2;
    --grid-gap: 10px;
    grid-template-columns: repeat(var(--grid-col,1),1fr);
    gap:var(--grid-gap,30px);
}
.trendy-tab ul {
    width: max-content!important;
    margin: 0 auto;
    margin-bottom: 40px
}

.trendy-tab ul li {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--primary-color);
    font-size: 16px;
    border-radius: 15px;
    padding: 0 25px;
    margin-bottom: 1px;
    margin-top: 1px
}

.trendy-tab ul li:first-child {
    margin-left: 1px!important
}

.trendy-tab ul li:last-child {
    margin-right: 1px!important
}
.trendy-tab ul li.active,.trendy-tab ul li:hover {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-box)
}
.trendy-tab ul li.active a,.trendy-tab ul li:hover a {
    color: #fff
}
.trendy-tab ul li a {
    color: var(--primary-color);
    text-transform: uppercase;
}
.trendy-tab .tab-panels .entry-content {
    -webkit-transition: all 2s;
    -o-transition: all 2s;
    transition: all 2s
}
.menu-lists .menu-item {
    background-color: #ffffff;
    border: 1px solid #d5fdde;
    position: relative;
    padding-left: 50px;
    padding-right: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    border-radius: var(--border-radius);
    min-height: 110px;
    align-items: center;

    width: calc(100% - 30px);
    margin-left: 30px;
}
.menu-lists .menu-item::before {
    position: absolute;
    left: 0;
    content: "";
    top: 0;
    width: 100%;
    height: 100%;
    background: #b8f9c8;
    right: 100%;
    width: 0;
    -webkit-transition: all 0.4s cubic-bezier(.42, 0, .58, 1);
    -o-transition: all 0.4s cubic-bezier(.42,0,.58,1);
    transition: all 0.4s cubic-bezier(.42, 0, .58, 1);
    border-radius: var(--border-radius);
    z-index: 1;
}
.menu-lists .menu-item:hover::before {
    width: 100%;
    left: 0;
    right: auto
}
.menu-lists .menu-item .icon-box-img {
    box-shadow: 0 5px 20px 0 rgb(23 44 82 / 10%);
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -35px;
    z-index: 2;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
}
.menu-item-content{
    position: relative;
    display: flex;
    justify-content: space-between;    align-items: center;
    z-index: 2;
}
.trendy-button2 {
    position: relative;
    overflow: hidden;
    border: 2px solid #fcb302;
    border-radius: 30px;
    color: #fff;
    padding: 8px 15px;
    line-height: 2em!important;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.trendy-button2:before {
    position: absolute;
    content: "";
    left: inherit;
    right: 0;
    top: 0;
    z-index: -1;
    height: 100%;
    width: 0;
    border-radius: 30px;
    background: #fcb302;
    -webkit-transition: all 240ms ease-in-out;
    transition: all 240ms ease-in-out
}

.trendy-button2:hover:before {
    width: 100%;
    right: inherit;
    left: 0
}

.trendy-button2 i {
    margin-right: 8px
}
.trendy-form .wpcf7 p {
    margin-bottom: 10px;
    position: relative
}

.trendy-form .input-filled label {
    position: absolute;
    top: 6px;
    left: 15px;
    font-size: 13px;
    color: #666;
    z-index: 1;
    width: max-content;
    -webkit-transition: .3scubic-bezier(.24,.74,.58,1);
    -khtml-transition: .3s cubic-bezier(.24,.74,.58,1);
    -moz-transition: .3s cubic-bezier(.24,.74,.58,1);
    -ms-transition: .3s cubic-bezier(.24,.74,.58,1);
    -o-transition: .3s cubic-bezier(.24,.74,.58,1);
    transition: .3scubic-bezier(.24,.74,.58,1)
}

.trendy-form .input-filled:not(.submit) i {
    z-index: 1;
    position: absolute;
    top: 50%;
    right: 22px;
    font-size: 14px;
    color: #c5c5c5;
    -webkit-transform: translate(0,-50%);
    -khtml-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%)
}

.trendy-form .input-filled .wpcf7-form-control:not(.wpcf7-submit) {
    height: 55px;
    padding-left: 15px;
    padding-top: 22px;
    padding-bottom: 0;
    font-size: 14px;
    color: #121212;
    background-color: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    width: 100%;
}

.trendy-form .input-filled input {
    margin-bottom: 0;
    border: unset;
    box-shadow: unset
}



.ticket-wrap{
    --page-bg: #e7fdec;
    --ticket-bg: #fff;
    --accent: #47c6cf;
    --w: 100%;
    --serr-width: 28px; /* vùng răng cưa ngoài cùng */
    --notch-size: 10px; /* kích thước lỗ tròn trên/dưới ở giữa */

}

.ticket-wrap .ticket{
    width:var(--w);
    height:180px;
    position:relative;
    border-radius:8px;
    display:flex;
    overflow:visible;
    background: #fff;
}

/* ---- Răng cưa (serrated) ở mép ngoài trái ----
   tạo bằng vùng pseudo-element lặp radial-gradient, màu lấy giống page background để "cắt" */
.ticket-wrap .ticket::before{
    content: "";
    position: absolute;
    left: calc(-1 * var(--serr-width) + 16px);
    top: 0;
    bottom: 0;
    width: var(--serr-width);
    background: radial-gradient(circle at 50% 6px, #fff 0 7px, transparent 7px) repeat-y;
    background-size: var(--serr-width) 22px;
    z-index: 5;
    pointer-events: none;
    border-radius: 8px 0 0 8px;
    height: 100%;
}

/* ---- Nội dung trái (white) ---- */
.ticket-wrap .ticket-left{
    flex:2;
    padding:20px;
    position:relative;
    z-index:3;
    color:#222;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.ticket-wrap .ticket-left .ticket-header {

    width: 40px;
}
.ticket-wrap .ticket-left .ticket-header span{
    transform: rotate(180deg);
    transform-origin: center;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    font-size: 30px;
    line-height: 30px;
}
.ticket-wrap .ticket-left .ticket-body{
    width: calc(100% - 40px);
    padding-left: 24px;
    border-left: 1px var(--page-bg) solid;
}
.ticket-wrap .ticket-body .post-title {
    border-bottom: 1px var(--page-bg) solid;
    font-size: 24px;line-height: 25px;
    margin-bottom: 8px;padding-bottom: 8px;
}
.ticket-wrap .ticket-price {
    display: flex;
}

.ticket-wrap .item_info_price{position: relative;text-align: left;display: flex;flex-direction: column;}
.ticket-wrap .item_info_price:not(:last-child){
    padding-right: 10px;
    margin-right: 10px;
}
.ticket-wrap .item_info_price:not(:last-child):after{
    content: '';
    width: 1px;
    height: 70%;
    display: block;
    position: absolute;
    right: 0;
    background-color: var(--page-bg);
    top: 50%;
    transform: translateY(-50%);

}
.ticket-wrap .item_info_price>span{
    font-size: 13px;
}
/* ---- Dải chia ở giữa: dashed line + 2 lỗ tròn trên/dưới ---- */
.ticket-wrap .divider{
    width:44px; /* vùng chứa đường gạch và 2 notch */
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:4;
    pointer-events:none;
    left: -16px;
}

/* đường gạch thẳng đứng kiểu dashed, đặt giữa .divider */
.ticket-wrap .divider .dash{
    width:2px;
    height:86%;
    background-image: linear-gradient(#cfcfcf 0 30%, rgba(0,0,0,0) 30% 40%);
    background-size:2px 12px;
    background-repeat:repeat-y;
    position:relative;
}

/* hai lỗ tròn (notch) cắt xuyên qua vé — dùng màu bằng với background page */
.ticket-wrap .ticket-right::before,
.ticket-wrap .ticket-right::after {
    content:"";
    position:absolute;
    left:0;
    transform:translateX(-50%);
    width:var(--notch-size);
    height:var(--notch-size);
    background: var(--page-bg);
    border-radius:50%;
    box-shadow:0 0 0 6px var(--page-bg); /* thêm "viền" màu ticket để trông tự nhiên */
}
.ticket-wrap .ticket-right::before{ top: -5px }   /* lỗ trên gần phần trên */
.ticket-wrap .ticket-right::after{ bottom: -5px } /* lỗ dưới gần phần đáy */

/* ---- Nội dung phải (màu) ---- */
.ticket-wrap .ticket-right{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:3;
    position: relative;
    border-left-color:#b7cbbc;
    border-left-width: 3px;
    border-left-style: dotted;
}
.ticket-wrap .ticket-right a{
    height: 100%;
}
.ticket-wrap .ticket-right img{ height: 100%;object-fit: cover;border-radius: 0 9px 9px 0;}
.ticket-wrap .ticket-num{ font-weight:800; font-size:18px; letter-spacing:1px; margin-top:6px }

.ticket-wrap .more-link-wrap {
    display: flex;
    justify-content: flex-end;
}
.more-link-wrap a.more-link {
    margin-top: 0.7rem;
    display: inline-flex;
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    line-height: 1.25;
    transition: all ease .3s;
    align-items: center;
    position: relative;
}
.more-link-wrap a.more-link.link-background {
    border-radius: 28px;
    padding: 7px 20px;
    color: #fff;
    background-color: var(--primary-color);
}

.more-link-wrap a.more-link .elementor-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: margin-right .3s ease, opacity .3s ease, width .3s ease, margin-left .3s ease;
}
.more-link-wrap a.more-link .elementor-button-icon.left {
    margin-right: 4px;
    opacity: 1;
    width: 24px
}

.product-small.col .more-link-wrap span.more-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.more-link-wrap a.more-link .elementor-button-icon.right {
    margin-left: 0;
    opacity: 0;
    width: 0
}
.more-link-wrap a.more-link:hover .elementor-button-icon.left {
    margin-right: 0!important;
    opacity: 0;
    width: 0
}

.more-link-wrap a.more-link:hover .elementor-button-icon.right {
    margin-left: 4px;
    opacity: 1;
    width: 24px
}
.product-small.col .more-link-wrap span.more-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.testimonials-item {
    background-color: #fff;
    border-color: #e0e0e0;
    color: #111;
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    font-size: 14px;
    line-height: 22px;
    margin: 1px;
}
.testimonials-item .testimonial-box{
    align-items: center;
}
.testimonials-item .pt-half {
    padding-top: 0;
}


.bdt-image-items .image-item {
    height: 550px;
}

.bdt-image-items .image-item .has-background-image{
    height: 100%;
    background-size: cover;
    background-position: center;
}
.bdt-image-items .image-item .img-title{
    opacity: 1;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    padding-left: 25px;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

.bdt-image-items .image-item .img-title p{
    color: #fff;
}
.bdt-image-items .image-item .has-background-image:after{
    position: absolute;
    content: "";
    width: 100%;
    height: 70%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .44) 30%, #000000b0 100%);
    opacity: .99;
    -ms-opacity: .99;
    -o-opacity: .99;
    -moz-opacity: .99;
    -webkit-opacity: .99;
    filter: alpha(opacity=99);
    z-index: 1;
    left: 0;
    bottom: 0;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
input[type=email], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    padding: 10px 30px;
    -webkit-appearance: none;
    box-sizing: border-box;
    outline: 0;
    color: #6E6E6E;
    transition: allease-in-out .3s;
    border: 1px solid #DEE0EA;
    border-radius: 30px;
    box-shadow: unset;
}
.absolute-footer{display: none}
@media (min-width:1024px){
    /* Reset width mặc định của swiper */
    .bdt-image-items .image-item{
        flex: 1;
        transition: all 0.5s cubic-bezier(.4,0,.2,1);
    }

    /* Khi hover vào slider */
    .bdt-image-items:hover .image-item{
        flex: 0.7;
    }

    /* Slide đang hover */
    .bdt-image-items .image-item:hover{
        flex: 3;
    }
    .bdt-image-items .image-item .img-title{
        width: 0;
        opacity: 0;
    }
    .bdt-image-items .image-item:hover .img-title{
        width: max-content;
        opacity: 1;
    }
    .bdt-image-items .image-item .img-title p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 55px;
    }
}
@media (max-width: 849px) {
    .heading-title-md {
        font-size: 33px;
        line-height: 35px;
    }
    .trendy-grid {
        grid-template-columns: repeat(var(--grid-col__md, 1), 1fr);
        gap: var(--grid-gap__md, 30px);
    }

}
@media screen and (max-width: 549px) {
    .trendy-grid{
        grid-template-columns: repeat(var(--grid-col__sm,1),1fr);
        gap:var(--grid-gap__sm,30px);
    }
    #footer .icon-contact-footer .lv-5{
        font-size: 1.3rem;font-weight: 400!important;
    }
    .ticket-wrap .ticket-left .ticket-header{
        display: none;
    }
    .ticket-wrap .ticket-left .ticket-body{
        border-left: unset;padding-left: 0;
    }
    .ticket-wrap .ticket-body .post-title{
        font-size: 19px;
        line-height: 21px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}