/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: Phuc Nhan Nguyen
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root{
    --red: #C31C1C;
}
.banner-text p{
    margin-bottom: -28px;
}

.slide-sec .flickity-page-dots {
    bottom: -32px;
}
.btn-white-bg.button{
    min-height: initial;
    line-height: 28px;
    font-size: 18px;
    color: var(--red) !important;
    font-weight: 600;
}
.product-row > .col > .col-inner{
    backdrop-filter: blur(6px);
    background: #790909;
    border: 4px solid #FAFDFF;
    border-radius: 48px;
}
.product-row.yellow > .col > .col-inner{
    background: #7A3100;
}
.product-row.green > .col > .col-inner{
    background: #007932;
}
.product-row.blue > .col > .col-inner{
    background: #1E1C6D;
}
.sec-title b{
    display: none;
}
.sec-title .section-title-main{
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-shadow:
        0px 0px 16px #FF5154, /* Shadow effect similar to box-shadow */
        1px 1px 0px #CD00038F, /* Simulates the border effect */
        -1px -1px 0px #CD00038F,
        1px -1px 0px #CD00038F,
        -1px 1px 0px #CD00038F;
    letter-spacing: -0.5px;
    margin: 48px 10px 0;
    padding: 0 15px;
    flex: 1
}
.product-row.yellow .sec-title .section-title-main{
    text-shadow:
            -1px -1px 0 #FF5E008F, /* Viền trên trái */
            1px -1px 0 #FF5E008F, /* Viền trên phải */
            -1px  1px 0 #FF5E008F, /* Viền dưới trái */
            1px  1px 0 #FF5E008F, /* Viền dưới phải */
            0  0 16px #FF5E0080; /* Hiệu ứng bóng */
}
.product-row.green .sec-title .section-title-main{
    text-shadow:
            -1px -1px 0 #00CD528F, /* Viền trên trái */
            1px -1px 0 #00CD528F, /* Viền trên phải */
            -1px  1px 0 #00CD528F, /* Viền dưới trái */
            1px  1px 0 #00CD528F, /* Viền dưới phải */
            0  0 16px #51FF9680; /* Hiệu ứng bóng */
}
.product-row.blue .sec-title .section-title-main{
    text-shadow:
            -1px -1px 0 #0014CD8F, /* Viền trên trái */
            1px -1px 0 #0014CD8F, /* Viền trên phải */
            -1px  1px 0 #0014CD8F, /* Viền dưới trái */
            1px  1px 0 #0014CD8F, /* Viền dưới phải */
            0  0 16px #458CFF; /* Hiệu ứng bóng */
}

.product-row .img-product{
    position: relative;
    margin-left: -1px;
}
.product-row .img-product .img-inner{
    overflow: visible;
    margin: 10px -142px 0 -96px;
}
.product-row .img-product.not-margin .img-inner{
    margin-left: 0;
}
.product-row.product-one .img-product .img-inner{
    margin-top: 0
}
.product-row .img-rectangle{
    max-width: 44%;
    position: absolute;
    top: 26px;
    z-index: -3;
    left: 0;
}
.product-row .img-rectangle .img-inner, .product-row .img-rectangle,
.product-row .img-rectangle img{
    height: 100%;
}
.product-row .img-rectangle img{
    margin-left: -8px;
}
.product-row .img-list{
    max-width: 126px;
}
.product-row .light-img{
    position:absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
}
.product-row.product-one .light-img{
    transform: translateY(-25%);
}
.item-product{
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #C4070A 0%, rgba(212, 7, 10, 0.02) 100%);
    padding: 0 24px;
    row-gap: 20px;
    column-gap: 65px;
    border-radius: 16px;
    position: relative;
	z-index: 1
}
.item-product.item-center{
         max-width: 322px;
    margin-left: auto;
    margin-right: auto;
}
.item-product.item-center .left{
    max-width: 100%;
    flex-basis: 100%;
}
.product-row.yellow .item-product{
    background: linear-gradient(90deg, #E16200 0%, rgba(255, 183, 0, 0.02) 100%);
}
.product-row.green .item-product{
    background: linear-gradient(90deg, #07C446 0%, rgba(7, 212, 106, 0.02) 100%);
}
.product-row.blue .item-product{
    background: linear-gradient(90deg, #0714C4 0%, rgba(7, 28, 212, 0.02) 100%);
}
.item-product:not(:last-child){
    margin-bottom: 28px
}
.item-product::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 16px;
    padding: 2px; /* Độ dày viền */
    background: linear-gradient(90deg, #FFD4D5 0%, #FF5C5F 100%);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; /* Safari */
    mask-composite: exclude; /* Các trình duyệt khác */
    top: -2px;
    bottom: -2px;
    right: -2px;
    left: -2px;
}
.product-row.yellow .item-product:before{
    background: linear-gradient(90deg, #FFEFD4 0%, #FFA35C 100%);
}
.product-row.green .item-product:before{
    background: linear-gradient(90deg, #D4FFE4 0%, #5CFFAB 100%);
}
.product-row.blue .item-product:before{
    background: linear-gradient(90deg, #D4DAFF 0%, #5C6CFF 100%);
}
.item-product .left{
    padding: 39px 0;
	max-width: calc(100% - 255px);
    flex: 0 0 calc(100% - 255px);
}
.item-product .right{
	max-width: 190px;
    flex: 0 0 190px;
    display: flex;
    gap: 17px;
}
.item-product .right .thunder{
    display: flex;
    align-items: center;
    max-width: 60px;
    flex: 0 0 60px;
}
.item-product .right .thunder img{
    margin-top: 5px;
}
.item-title{
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    text-transform: uppercase;
}
.btn-buynow{
    box-shadow: 0 4px 4px 0 #00000040;
    background: linear-gradient(90deg, #950002 0%, #F50004 100%);
    border: 1px solid #BB0E0E;
    color: #fff;
    border-radius: 4px;
    padding: 7px 34px;
    width: 234px;
    position: relative;
    display: block;
    transform: skew(-15deg);
    backdrop-filter: blur(12px);
    font-size: 19px
}
.btn-buynow:before{
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    width: 33%;
    position: absolute;
    background: linear-gradient(279.5deg, #FF373A 16.41%, #F62629 92.83%);
}
.btn-buynow img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -40px;
     -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: buynow 1s infinite ease-in-out;
    margin-top: -13px;
}
.btn-buynow span{
    color: #fff;
    position: relative;
    z-index: 1
}
@-webkit-keyframes buynow {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform: rotate(-15deg) scale(1) skew(1deg)
    }

    /*20% {*/
    /*    -webkit-transform: rotate(25deg) scale(1) skew(1deg)*/
    /*}*/

    /*30% {*/
    /*    -webkit-transform: rotate(-25deg) scale(1) skew(1deg)*/
    /*}*/

    40% {
        -webkit-transform: rotate(15deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }
}
.product-row.yellow .btn-buynow{
    background: linear-gradient(90deg, #BF5C00 0%, #FF9500 48.4%, #FCB32B 100%);
    border: 1px solid #BB680E
}
.product-row.yellow .btn-buynow:before {
    background: linear-gradient(279.5deg, #FF8737 16.41%, #F69126 92.83%);
}
.product-row.green .btn-buynow{
    background: linear-gradient(90deg, #009537 0%, #00F56E 100%);
    border: 1px solid #0EBB48;
}
.product-row.green .btn-buynow:before{
    background: linear-gradient(279.5deg, #37FF7A 16.41%, #26F67D 92.83%);
}
.product-row.blue .btn-buynow{
    background: linear-gradient(90deg, #070095 0%, #0400F5 100%);
    border: 1px solid #110EBB
}
.product-row.blue .btn-buynow:before{
    background: linear-gradient(279.5deg, #374BFF 16.41%, #2634F6 92.83%);
}
.item-product .cright{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
.item-product .cright img{
    max-width: initial;
}
.item-product .cright.freeship{
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
.item-product .cright.freeship span{
    font-size: 27px;
    font-weight: 600;
    line-height: 40px;
    margin-top: 12px
}
.item-product .product-name{
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    transform: skew(-15deg);
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    min-width: 89px;
    border: 1px solid #fff;
    color: #fff;
    background: linear-gradient(119.26deg, #960305 43.4%, #FF0000 115.33%);
    backdrop-filter: blur(8px);
    white-space:nowrap;
}
.product-row.yellow .item-product .product-name{
    background: linear-gradient(119.26deg, #BD4200 -1.63%, #FF9D00 115.33%);
}
.product-row.green .item-product .product-name{
    background: linear-gradient(119.26deg, #039634 43.4%, #00FF7B 115.33%);
}
.product-row.blue .item-product .product-name{
    background: linear-gradient(119.26deg, #140396 43.4%, #001AFF 115.33%);
}
.row-footer{
    border-top-left-radius: 64px;
    border-top-right-radius: 64px;
    background: linear-gradient(180deg, #B2080B 35.22%, #700507 93.21%);
    padding-top: 40px;
}
.row-footer > .col{
    padding-bottom: 0
}
.row-footer img.size-full.alignnone{
    margin-bottom: 0
}
.row-logo > .col{
    padding-bottom: 16px;
}
.row-logo p{
    margin-bottom: 0;
}
.absolute-footer.dark{
    color: #fff;
}
.social-icons.follow-icons{
    display: flex;
    gap: 8px;
    justify-content: end;
}
.follow-icons a.button:not(.is-outline){
    color: #fff !important;
    margin: 0;
}
.social-icons.follow-icons a.button:not(.is-outline) i{
    color: var(--red) !important;
    top: auto;
}
.contact-title p{
    margin-bottom: 8px;
}
.contact-content p{
    margin-bottom: 4px
}
.contact-title, .contact-content strong{
    font-weight: 600;
}
.ship-info{
    background: linear-gradient(90deg, #770305 0%, #EA3A3D 50.5%, #770305 100%);
    color: #fff;
    padding: 12px 36px;
    border-radius: 0 0 42px 42px;
}
.product-row.yellow .ship-info{
    background: linear-gradient(90deg, #774303 0%, #FDC32E 50.5%, #774303 100%);
}
.product-row.green .ship-info{
    background: linear-gradient(90deg, #037731 0%, #3AEA83 50.5%, #037733 100%);
}
.product-row.blue .ship-info{
    background: linear-gradient(90deg, #030577 0%, #3A46EA 50.5%, #030577 100%);
}
.ship-info h3{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    margin: 0 0 4px;
    color: #fff;
}
.ship-info h3 img{
    margin-right: 16px;
}
.ship-info .address{
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    margin-bottom: 4px;
}
.ship-content{
    gap: 36px;
}
.ship-content, .ship-info .left-inner, .ship-info .wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.ship-info .left-inner{
    gap: 12px;
}
.ship-info .wrap{
    gap: 4px;
}
.time-text{
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    padding: 0 10px;
}
.time-desc{
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}
.has-regular {
    padding-left: 25px;
}
span.regular{
    margin-right: 12px;
    text-decoration: line-through;
}
span.regular:after{
    content: "";
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    left: calc(100% + 3px);
    top: 50%;
    transform: translateY(-50%);
}
.flex-reverse{
    flex-direction: row-reverse;
}
.logo img{
    margin: auto;
}
.row-note {
    margin-top: -141px;
}
/* General styles for the lightbox */
#form-lightbox {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 20px;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.5;
}

/* Accessibility improvements */
#form-lightbox label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* Input and textarea styling */
#form-lightbox input[type="text"],
#form-lightbox input[type="tel"],
#form-lightbox textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

#form-lightbox input[type="text"]:focus,
#form-lightbox input[type="tel"]:focus,
#form-lightbox textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Button styling */
#form-lightbox input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#form-lightbox input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Placeholder styling */
#form-lightbox input::placeholder,
#form-lightbox textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Wrap input group for better spacing */
.input-group-wrap {
    margin-bottom: 20px;
}
.wpcf7-spinner{
	display: none;
}
form.submitting .wpcf7-spinner {
	display: inline-block
}
/* Responsive design */
@media (max-width: 480px) {
    #form-lightbox {
        padding: 15px;
    }

    #form-lightbox input[type="submit"] {
        font-size: 14px;
    }
}

@media screen and (min-width: 850px) {
    .row-footer .large-5 {
        flex-basis: 37%;
        max-width: 37%;
    }
    .row-footer .large-7 {
        flex-basis: 63%;
        max-width: 63%;
    }
}
@media screen and (min-width: 1025px) {
    .flex-reverse > .large-5{
        flex-basis: 45%;
        max-width: 45%;
    }
    .flex-reverse > .large-7{
        flex-basis: 55%;
        max-width: 55%;
    }
    .product-row.product-one .large-7 > .col-inner{
        padding-top: 160px !important;
    }
}
@media only screen and (max-width: 1024px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .product-row .img-product .img-inner{
		margin: -220px 0 0 0 !important;
    }
	.product-row .img-product.sleek-premium .img-inner, .product-row .img-product.premium-red .img-inner{
		margin-top: -200px !important
	}
	.product-row .img-product.standard-special-yellow .img-inner{
		margin-top: -210px !important
	}
    .product-row .img-product.gold-beer .img-inner{
        margin-top: -100px !important
    }
	.product-row .img-product.cheetah-green .img-inner{
		margin-top: -290px !important
	}	
    .product-row > .col{
        padding: 0 30px !important;
    }
    .sec-title .section-title-main {
        font-size: 3.25rem;
    }
    .flex-reverse > .large-5, .flex-reverse > .large-7{
        flex-basis: 100%;
        max-width: 100%;
    }
    .flex-reverse > .large-7 > .col-inner{
        padding: 0 134px !important;
    }

}  
@media only screen and (max-width: 853px) {
    .flex-reverse > .large-7 > .col-inner {
        padding: 0 90px !important;
    }
    .ship-content {
        gap: 20px;
    }
}
@media only screen and (max-width: 768px) {
    .ship-content{
        flex-direction: column;
        gap: 8px
    }
    .ship-info .address{
        text-align: center;
    }
    body{
        font-size: 14px;
    }
}
@media only screen and (max-width: 736px) {
	.product-row .img-product .img-inner{
		margin: -103px 0 0 0 !important;
    }
    .product-row .img-product.gold-beer .img-inner{
        margin-top: -70px !important
    }
	.product-row .img-product.standard-special-yellow .img-inner {
        margin-top: -80px !important;
    }
	.product-row .img-product.larger-camel-green .img-inner{
		margin-top: -100px !important;
	}
	.product-row .img-product.sleek-premium .img-inner, .product-row .img-product.premium-red .img-inner{
		margin-top: -125px !important
	}
	.product-row .img-product.cheetah-green .img-inner {
        margin-top: -101px !important;
    }
    .flex-reverse {
        flex-direction: column-reverse;
    }
    .flex-reverse > .large-7 > .col-inner {
        padding: 0 16px !important;
    }
    .item-product{
        flex-direction: column;
        gap: 44px;
        align-items: center;
        padding: 16px
    }
    .item-product .left, .item-product .right{
        max-width: 100%;
        flex-basis: 100%;
        padding: 0
    }
    .item-product:not(:last-child){
        margin-bottom: 20px;
    }
    .sec-title .section-title-main {
        font-size: 1.5rem;
    }
    .btn-buynow{
        margin-left: -30px;
    }
    .row-note {
        margin-top: -95px;
        font-size: 12px
    }
	.row-note.note-sleek{
		margin-top: -50px;
	}
    .time-text{
        font-size: 20px;
        padding: 0 5px;
    }
    .ship-info{
        padding: 10px 20px
    }
    .item-product .right{
        align-self: normal;
    }
    .item-product .cright{
        flex: 1;
    }
}

@media only screen and (max-width: 414px) {
    .product-row .img-product.sleek-premium .img-inner, .product-row .img-product.premium-red .img-inner {
        margin-top: -90px !important;
    }
}