/*
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.   ***************/
@font-face {
    font-family: 'Arial';
    src: url('assets/fonts/arial-font/arial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Merriweather", serif !important;
    font-weight: normal;
}

p,
a {
    font-family: 'Arial', sans-serif !important;
    font-weight: normal;
}

.absolute-footer.dark {
    display: none;
}

li.dot.is-selected {
    border-radius: 20px;
    background: var(--02, #8D321C) !important;
    width: 70px;
    border: 0px;
    /* height: 11px; */
}

.slider-nav-light .flickity-page-dots .dot {
    border-color: #fff;
    background: #fff;
    opacity: 1;
}

.slider-tac-pham-tieu-bieu .flickity-page-dots {
    left: 66%;
}

a.button {
    font-weight: 200;
}

ul.header-nav.header-nav-main.nav.nav-left {
    display: flex;
    gap: 82px;
}

.header-button .is-outline {
    color: #E2A621;
}

.section-footer span.ux-menu-link__text {
    color: #d9d1d1;
    font-size: 16px;
}

.section-footer span.ux-menu-link__text:hover {
    color: #E2A621;
}

.section-introd-gradient .section-bg {
    background: none !important;
    /* Preserve UX Builder's background image */
}

.section-introd-gradient .section-bg img.bg {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-introd-gradient {
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-introd-gradient .section-bg-overlay {
    background: linear-gradient(180deg, #FFF 3.13%, rgba(216, 192, 136, 0.5) 100%) !important;
}


.img-radius img {
    border-radius: 10px;
}


.col-form-contact-home .form-row {
    margin-bottom: 15px;
}

.col-form-contact-home .form-row label {
    display: block;
    margin-bottom: 5px;
}

.col-form-contact-home .form-row input[type="text"],
.col-form-contact-home .form-row input[type="email"],
.col-form-contact-home .form-row input[type="tel"],
.col-form-contact-home .form-row textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.col-form-contact-home .two-columns {
    display: flex;
    gap: 4%;
}

.col-form-contact-home .form-column {
    flex: 0 0 48%;
}

.col-form-contact-home .required {
    color: red;
}


.col-form-contact-home input.wpcf7-form-control,
.col-form-contact-home textarea {
    border-radius: 10px;
    border: 1px solid rgba(85, 85, 85, 0.50);
}

.col-form-contact-home input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    text-transform: none;
}

.img-box-why-choose-us .icon-box-text p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
    transition: max-height 0.5s cubic-bezier(0.68, -0.05, 0.265, 1.05), opacity 0.5s ease;
    opacity: 0.9;
}

.img-box-why-choose-us:hover p,
.img-box-why-choose-us:hover {
    -webkit-line-clamp: unset;
    max-height: 1000px;
    opacity: 1;
    cursor: pointer;
}

.slider-cus-feeling .flickity-page-dots {
    bottom: -25px;
}

.text-box-form-contact label {
    color: #000;
}


.row-3-icon .icon-inner {
    position: relative;
    z-index: 1;
}

.row-3-icon .icon-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='57' height='57' viewBox='0 0 57 57' fill='none'><circle opacity='0.4' cx='28.5' cy='28.5' r='28.5' fill='%238D321C'/></svg>") no-repeat center/contain;
    z-index: -1;
}


.product-main {
    padding: 40px 0 0px;
}

.product-card-widget {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-title {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    margin: 0;
}

.product-subtitle {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 14px;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.review-count {
    font-size: 17px;
    color: #000;
}

/* Status */
.product-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.status-icon {
    font-size: 14px;
}

.status-text,
.material-label,
.artist-label,
.code-label,
.tags-label,
.social-label,
.chien-label {

    font-size: 17px;
    color: #000;
}

.status-text strong {
    color: #27ae60;
    font-weight: 600;
}

/* Material */
.product-material {
    margin-bottom: 10px;
    font-size: 14px;
}

.material-value,
.artist-name,
.code-value,
.tags-value,
.chien-value {
    color: #AC2C22;
    font-weight: 500;
    margin-left: 5px;
    font-size: 17px;
}

/* Artist */
.product-artist,
.product-chien {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}



.artist-avatar {
    width: 24px;
    height: 24px;
    background-color: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-left: auto;
}


.product-description {
    margin-bottom: 20px;
}

.product-description p {
    font-size: 17px;
    line-height: 1.5;
    color: #000;
    margin: 0;
    text-align: justify;
}


.product-cta {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #AC2C22;
    color: white;
    padding: 8px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
    color: white;
    text-decoration: none;
}


.product-code {
    margin-bottom: 12px;
    font-size: 14px;
}


/* Tags */
.product-tags {
    margin-bottom: 15px;
    font-size: 14px;
}


.product-social {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook {
    background-color: #3b5998;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.tiktok {
    background-color: #000;
    color: white;
}

.social-icon.youtube {
    background-color: #ff0000;
    color: white;
}

/* Responsive */
@media (max-width: 480px) {
    .product-card-widget {
        max-width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-subtitle {
        font-size: 14px;
    }
}



.custom-video {
    text-align: center;
    padding: 0px 20px 20px;
}

.custom-video a {
    display: inline-block;
    position: relative;
}

.custom-video img,
.custom-video video {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.custom-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-video .play-button span {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.custom-video p {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

.custom-video .video-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-video .video-caption {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 5;
    font-size: 40px;
    width: 26%;
}

.col.col-start-year:before {
    content: '';
    position: absolute;
    width: 722px;
    height: 20px;
    background: #8d321c;
    top: 42%;
    left: 140%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-top-right-radius: 30px;
}

.col-year-1:before {
    content: '';
    position: absolute;
    width: 557px;
    height: 20px;
    background: #8d321c;
    top: 84%;
    transform: translate(-50%, -50%);
    z-index: 0;
    transform: rotate(90deg);
    border-radius: 40px 45px 0px 20px;
    left: 73px;
}

.col-year-1:after {
    content: '';
    position: absolute;
    width: 955px;
    height: 20px;
    background: #8d321c;
    top: 129%;
    left: -24%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 30px 0px 30px 0px;
}

.col-year-3:before {
    content: '';
    position: absolute;
    width: 431px;
    height: 20px;
    background: #8d321c;
    top: 48%;
    z-index: 0;
    transform: rotate(90deg);
    border-radius: 23px 0px 35px 32px;
    left: -118px;
}

.col-year-3:after {
    content: '';
    position: absolute;
    width: 1132px;
    height: 20px;
    background: #8d321c;
    top: 149%;
    left: 135%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 0px 45px 20px 50px;
}

.col-year-4:before {
    content: '';
    position: absolute;
    width: 312px;
    height: 20px;
    background: #8d321c;
    top: -2%;
    z-index: 0;
    transform: rotate(90deg);
    border-radius: 70px 132px 91px 50px;
    left: 857px;
}

.col-year-4:after {
    content: '';
    position: absolute;
    width: 826px;
    height: 20px;
    background: #8d321c;
    top: 49%;
    left: 125%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 51px 80px 100px 121px;
}


.col-year-4 img {
    position: relative;
    z-index: 999;
}

.section-introd-gradient h5.post-title.is-large {
    color: #000;
    font-size: 18px;
}

.section-introd-gradient .post-meta.is-small,
.section-introd-gradient p.from_the_blog_excerpt {
    color: #000;
    font-size: 16px;
}

.section-introd-gradient .image-cover {
    border-radius: 15px 15px 0px 0px;
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .slider-tac-pham-tieu-bieu .flickity-page-dots {
        left: 24%;
    }

    i.icon-menu {
        color: #E2A621;
    }

    .product-tabs-container .tab-button {
        padding: 12px 15px;
        font-size: 11px !important;
    }

    .product-tabs-container .tab-navigation {
        width: 100% !important;
    }

    .custom-video .video-caption {
        position: absolute;
        top: 67% !important;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        font-weight: bold;
        padding: 5px 15px;
        border-radius: 20px;
        z-index: 5;
        font-size: 15px !important;
        width: 90% !important;
    }

    .custom-video .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90px !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .product-title {
        min-height: 60px !important;
    }

    .product-meta {
        min-height: 68px;
    }

    .col.col-start-year:before,
    .col-year-1:before,
    .col-year-1:after,
    .col-year-3:before,
    .col-year-3:after,
    .col-year-4:before,
    .col-year-4:after {
        display: none;
    }


}