/* Responsive styles for small desktop screens */
@media (max-width: 1200px) {
    .search-form-desktop{
        display: none;
    }
    .toggle-modal-search{
        display: inline-block;
    }
    /* Top content header adjustments
    --------------------------------------------------------------*/
    .content-header-top {
        display: none;
    }
    /* Hotline header styling
    --------------------------------------------------------------*/
    .hotline-header-top {
         text-align: right;
        position: relative;
        top: inherit;
        transform: none;
        display: block;
        width: 100%;;
    }
    /* Responsive content editor images
    --------------------------------------------------------------*/
    .overflow-image-content .content-editor img {
        width: 100%;
        max-width: 100%;
        margin: 15px 0px;
    }
    /* Header menu adjustments
    --------------------------------------------------------------*/
    .fc-menu-header {
        display: none;
    }
    .header-menu-logo {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .header-menu-main .header-menu-logo a.logo img {
        max-width: 90px;
    }
    .header-menu-main {
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    }
    /* Mobile menu button display
    --------------------------------------------------------------*/
    a.btn-menu-mobile {
        display: inline-block;
    }
    /* Header action positioning
    --------------------------------------------------------------*/
    .header-action {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translate(0, -50%);
    }
}
/* Responsive table
-------------------------------------------------------------- */
@media (max-width: 992px) {
    /* Sidebar adjustments
    --------------------------------------------------------------*/
    .sidebar-template {
        display: none;
    }
    .layout-sidebar {
        width: 100%;
    }
    /* Responsive footer
    --------------------------------------------------------------*/
    .item-footer.item-footer-information {
        width: 100%;
        padding-left: 120px;
    }
    .footer-template {
        padding: 15px 0px 20px 0px;
    }
    /* Responsive footer logo
    --------------------------------------------------------------*/
    .item-footer .logo-footer {
        position: absolute;
    }
    .footer-template .logo-footer img {
        max-width: 80px;
    }
    /* Responsive single post/page
    --------------------------------------------------------------*/
    .title-single {
        font-size: 24px;
    }
    .breadcrumb-template .container {
        padding: 0px;
    }
    .title-item-post-loop {
        font-size: 22px;
    }
    /* Style NewsLetter
    --------------------------------------------------------------*/
    .content-form-newsletter {
        padding: 20px;
    }
    .left-form-newsletter {
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Responsive title for single product
    --------------------------------------------------------------*/
    .header-product-category .woocommerce-products-header__title {
        font-size: 30px;
    }
    /* Styling for product tags in WooCommerce
    --------------------------------------------------------------*/
    body.tax-product_tag.woocommerce .header-product-category {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    /* Styling for description in product category header
    --------------------------------------------------------------*/
    .description-product-category svg {
        width: 40px;
        height: 40px;
    }
    /* Archive product category styling
    --------------------------------------------------------------*/
    .archive-product {
        padding-top: 0px;
    }
    /* Style Button back to top
    --------------------------------------------------------------*/
    .btn-to-top{
        display: none;
    }
    .review-of{
        font-size:18px;
    }
    /*
    Style Slider Builder
    --------------------------------------------------------------*/
    .item-builder-slider .sub-title-item-builder-slider{
        font-size:24px;
    }
    .item-builder-slider .title-item-builder-slider{
        font-size:16px;
    }
    /*
    Style Statics Builder
    --------------------------------------------------------------*/
    .wrapper-builder-statics{
        width: calc(100% / 3);
        border-bottom: 1px dashed var(--fc_color_tertiary);
    }
    /*
    Style Title Builder
    --------------------------------------------------------------*/
    .builder-title-content{
        font-size:30px;
    }
    
    @media (min-width: 992px) {
        .builder-about-section.v5 .col-lg-6:last-child {
            z-index: 1;
        }
    }
    
    /* About Section v5 - Desktop MD */
    .builder-about-section.v5 .font36 { font-size: 28px !important; }
    .about-image-v5 { min-height: 400px; }

}
/* Responsive table and large mobile
-------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Style Image Builder About
   --------------------------------------------------------------*/
    .image-builder-about{
        padding-left: 0px;
    }
    /* Style Title Font size
    --------------------------------------------------------------*/
    .sub-title-flex-builder {
    /*
    Style Statics Builder
    --------------------------------------------------------------*/
    .count-up-animate{
        font-size:30px;
		font-weight: 700;
    }
	.content-statics{
        font-size: 18px;
    }
	/*
    Style newsletter
	--------------------------------------------------------------*/
	.content-form-newsletter .wpcf7-form .wpcf7-submit {
    background: var(--fc_color_secondary);
    color: #FFF !important;
    width: 100% !important;
    min-width: auto !important;
    padding: 11px 18px;
    margin-top: 10px;
}
	/*
    image product
    --------------------------------------------------------------*/
	.woocommerce .flex-control-nav li img {
    width: 90%;
    height: 90%;
    object-fit: cover;
	
}
.onsale-flash {
    position: absolute;
    top: 150px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-image: url(../images/sale-flash.png);
    z-index: 1;
}
    /*
    Style Title Builder
    --------------------------------------------------------------*/
    .builder-title-content{
        font-size:26px;
    }
    /*
    Style Shortcode Woocommerce tabs category
    --------------------------------------------------------------*/
    .woo-category-tabs .products-in-category .item-category-tab{
        width:50%;
    }
	.form-newsletter .container{
		max-width: 88%;
	}

    /* About Section v5 - Tablet */
    .builder-about-section.v5 .pt-6 { padding-top: 50px !important; }
    .builder-about-section.v5 .pb-6 { padding-bottom: 50px !important; }
    .builder-about-section.v5 .header-v5-centered { margin-bottom: 30px !important; }
    .about-image-v5 { min-height: 350px; }
    .case-study-overlay { padding: 30px !important; }
    .case-study-overlay .cs-title { font-size: 18px !important; }

}

/* Responsive mobile
-------------------------------------------------------------- */
@media (max-width: 576px) {
    /* Blog and newsletter content padding
    --------------------------------------------------------------*/
    .content-form-newsletter {
        padding: 15px 0px;
    }
    /* Responsive footer
    --------------------------------------------------------------*/
    .item-footer.item-footer-information {
        padding: 10px 15px;
    }
    /* Responsive footer logo
    --------------------------------------------------------------*/
    .item-footer .logo-footer {
        position: relative;
        margin-top: 15px;
    }
    .footer-template .logo-footer img {
        max-width: 100px;
    }
    .item-footer-logo {
        text-align: left;
    }
    /* Post loop content adjustments
    --------------------------------------------------------------*/
    .content-item-post-loop {
        padding-left: 0px;
        padding-top: 15px;
    }
    /* Logo size in header menu
    --------------------------------------------------------------*/
    .header-menu-main .header-menu-logo a.logo img {
        max-width: 70px;
        margin-bottom: -20%;
    }
    /* Responsive title for single product
    --------------------------------------------------------------*/
    .header-product-category .woocommerce-products-header__title {
        font-size: 24px;
    }
    /* Archive product category container styling
    --------------------------------------------------------------*/
    .archive-product .container {
        padding-left: 0;
        padding-right: 0;
    }
	.right-quick-contact-us .wpcf7-form .wpcf7-submit {
    width: 75%;
    display: block;
    margin: 0 auto;
}

    /*
   Style Statics Builder
   --------------------------------------------------------------*/
    .wrapper-builder-statics{
        width: 50%;
    }
    /*
    Style Title Builder
    --------------------------------------------------------------*/
    .builder-title-content{
        font-size:22px;
    }

    /*
    Style Shortcode Woocommerce tabs category
    --------------------------------------------------------------*/
    .woo-category-tabs .products-in-category .item-category-tab{
        width:100%;
    }
    /* About Section v5 - Mobile */
    .builder-about-section.v5 .pt-6 { padding-top: 40px !important; }
    .builder-about-section.v5 .pb-6 { padding-bottom: 40px !important; }
    .builder-about-section.v5 .font36 { font-size: 24px !important; }
    .section-label-v5.centered { padding: 0 40px !important; }
    .section-label-v5.centered::before, .section-label-v5.centered::after { width: 25px !important; }
    .about-card-v5 { padding: 25px 20px !important; }
    .about-actions-v5 { gap: 15px !important; }
    .about-actions-v5 .btn-v5-red, 
    .about-actions-v5 .btn-v5-outline-blue { width: 100% !important; justify-content: center; }
    .about-image-v5 { min-height: 300px; }
}

/* Responsive for Features v5 
--------------------------------------------------------------*/
@media (max-width: 1200px) {
    .features-card-v5 {
        width: calc(50% - 24px) !important;
    }
}
@media (max-width: 640px) {
    .features-card-v5 {
        width: calc(100% - 24px) !important;
        padding: 25px !important;
    }
}

/* 
Responsive for Product Tab v5
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .builder-product-tab-v5 .header-v5-centered {
        margin-bottom: 30px !important;
    }
}
@media (max-width: 767px) {
    .builder-product-tab-v5 .tab-nav-v5 {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
    }
    .builder-product-tab-v5 .btn-tab-v5 {
        padding: 8px 15px;
        white-space: nowrap;
    }
    .swiper-v5-mobile.swiper {
        padding-bottom: 45px;
    }
    .product-card-v5 .pc-title-v5 {
        font-size: 14px;
    }
    .product-card-v5 .pc-price-v5 {
        font-size: 16px;
    }
    .product-card-v5 .pc-action-v5 {
        display: none !important;
    }
}

/* Responsive for Projects v5 
--------------------------------------------------------------*/
@media (max-width: 1200px) {
    .project-card-v5 {
        width: calc(50% - 24px) !important;
    }
}
@media (max-width: 767px) {
    .project-card-v5 {
        width: calc(100% - 24px) !important;
        padding: 25px !important;
    }
}

/* Responsive for Prestige v5 
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .prestige-image-card {
        min-height: 400px;
    }
}
@media (max-width: 767px) {
    .prestige-card-main {
        flex-direction: column;
    }
}

/* Responsive for News v5 
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .news-header-v5 {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left;
    }
}
@media (max-width: 767px) {
}

/* Responsive for News v5 Slider 
--------------------------------------------------------------*/
.news-slider-v5-container .flex-control-nav {
    bottom: -35px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.news-slider-v5-container .flex-control-nav li a {
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-indent: -9999px;
    display: block;
    transition: 300ms;
}
.news-slider-v5-container .flex-control-nav li a.flex-active {
    background: var(--fc_color_primary);
    width: 24px;
    border-radius: 10px;
}
@media (max-width: 767px) {
    .builder-news-v5 .font32 {
        font-size: 24px !important;
    }
    .news-slider-v5-container {
        padding-bottom: 40px;
    }
    .news-slider-v5-container .slides > li.news-item-v5 {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

/* Responsive for CTA Contact v5 
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .builder-cta-contact-v5 .cta-actions-v5 {
        flex-direction: column;
    }
    .builder-cta-contact-v5 .cta-actions-v5 a {
        width: 100%;
        justify-content: center;
    }
}

/* Statics Section v5 - Responsive
-------------------------------------------------------------- */
@media (max-width: 991px) {
    .stat-item-premium { 
        flex: 0 0 50% !important; 
        padding: 30px 10px !important; 
        border-bottom: 1px solid rgba(255,255,255,0.08) !important; 
        border-right: 1px solid rgba(255,255,255,0.08) !important;
        justify-content: center !important;
        padding-left: 0 !important;
    }
    /* Bỏ vạch dọc cho các mục ở cột bên phải (mục 2 và 4) */
    .col-6:nth-child(even) .stat-item-premium {
        border-right: none !important;
    }
    /* Bỏ vạch ngang cho các mục ở hàng dưới (mục 3 và 4) */
    .col-6:nth-child(3) .stat-item-premium,
    .col-6:nth-child(4) .stat-item-premium {
        border-bottom: none !important;
    }
}

/* Hero Section v5 - Responsive
-------------------------------------------------------------- */
@media (max-width: 991px) {
    .hero-section-v5 .hero-row { min-height: auto !important; } 
    .hero-section-v5 .slider-content-inner { padding: 60px 25px !important; }
    .hero-section-v5 .swiper-button-next, .hero-section-v5 .swiper-button-prev { display: none !important; }
}

@media (max-width: 576px) {
    .slider-btns .btn-v5-red, 
    .slider-btns .btn-v5-outline-white { 
        width: 100% !important; 
        justify-content: center !important; 
    }
}
/* Product Tab v5 - Mobile 
-------------------------------------------------------------- */
@media (max-width: 768px) {
    .builder-product-tab-v5.pt-8 { padding-top: 40px !important; }
    .builder-product-tab-v5.pb-8 { padding-bottom: 40px !important; }
    .builder-product-tab-v5 .font32 { font-size: 24px !important; }
    .builder-product-tab-v5 .tab-nav-v5-wrapper { overflow-x: auto; padding-bottom: 10px; }
    .builder-product-tab-v5 .tab-nav-v5 { white-space: nowrap; }
    .builder-product-tab-v5 .tab-panel-v5 .pt-6 { padding-top: 30px !important; }
}

/* Responsive Process Section v5 
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .process-line-v5 {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 767px) {
    .process-container-v5 {
        padding-top: 0;
    }
    .process-line-v5 {
        top: 0;
        bottom: 0;
        left: 45px; /* 10px padding + 35px center of icon */
        width: 1px;
        height: auto;
        right: auto;
    }
    .process-item-v5 {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        margin-bottom: 30px;
    }
    .process-icon-wrapper-v5 {
        margin-bottom: 0 !important;
        margin-right: 20px;
        flex-shrink: 0;
    }
    .process-item-v5:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Why Choose Section v5 
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .why-choose-card-v5 {
        padding: 25px 15px;
    }
}

/* Responsive Contact Form Section v5 
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .contact-form-card-v5 {
        padding: 30px 20px !important;
    }
}

/* Responsive FAQ Accordion Section v5
--------------------------------------------------------------*/
@media (max-width: 767px) {
    .faq-toggle-v5 {
        padding: 15px 20px !important;
    }
    
    .faq-q-text-v5 {
        font-size: 14px !important;
    }
    
    .faq-content-v5 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .faq-content-v5 .pb-4 {
        padding-bottom: 20px !important;
    }
}
