
/* Counter Absolute */
.counter-absolute {
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 60px;
    left: 0;
    transform: translate(0, 100%);
    background: #fff;
    padding: 2.5rem 1rem;
    margin: 0 1rem !important;
    max-width: calc(100% - 32px) !important;
}

/* Swiper Adapter cho Flatsome Row (class certificates-slider đặt trực tiếp ở Row) */
.certificates-swiper-outer {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.row.certificates-slider.swiper-wrapper,
.certificates-slider.swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    box-sizing: content-box;
}

.row.certificates-slider .col.swiper-slide,
.certificates-slider .col.swiper-slide {
    flex: 0 0 auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: auto;
    box-sizing: border-box;
}

.row.certificates-slider .col-inner {
    height: 100%;
}

.row.certificates-slider .col-inner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Navigation Buttons Styling cho Certificates Swiper */
.certificates-swiper-outer .swiper-button-next,
.certificates-swiper-outer .swiper-button-prev {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.certificates-swiper-outer .swiper-button-next:after,
.certificates-swiper-outer .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.certificates-swiper-outer .swiper-button-next:hover,
.certificates-swiper-outer .swiper-button-prev:hover {
    background-color: var(--fs-color-primary, #000);
    border-color: var(--fs-color-primary, #000);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.certificates-swiper-outer .swiper-button-prev {
    left: 4px;
}

.certificates-swiper-outer .swiper-button-next {
    right: 4px;
}

/* PRODUCTS */
.home-product-cat a .box-text {
    border-radius: 9999px;
    padding: 10px 20px !important;


}

.home-product-cat a:hover .box-text {
    background: var(--fs-color-primary);
}

.home-product-cat a:hover .box-text h5 {
    color: #fff !important;
}

/* VIDEO */
.video-fit .wp-video {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.video-fit .wp-video .mejs-container {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.video-fit .wp-video .mejs-container video,
.video-fit .wp-video .mejs-container iframe,
.video-fit .wp-video .mejs-container object {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
}

.sec_video .full-video>.col-inner .video.video-fit {
    height: auto;
    aspect-ratio: 16 / 9;
}

/* BLOG POSTS */
/* PRODUCT */
.home-product-cat .box-category .box-image,
.home-product-cat .box-category .count,
.home-blog-posts .is-divider {
    display: none;
}

/* ==========================================================================
   MIN-WIDTH (Mobile First - Ưu tiên từ thấp đến cao)
   ========================================================================== */

@media (min-width: 375px) {
    /* Mobile L */
}

@media (min-width: 430px) {
    /* Mobile XL */
}

@media (min-width: 768px) {
    /* Tablet */
	/* Banner Hero */
	.home2-hero .flickity-page-dots {
		bottom: 30% !important;
	}
}

@media (min-width: 820px) {
    /* Tablet L */
	
}

@media (min-width: 1024px) {
    /* Laptop / iPad Pro */
	/* Banner Hero */
	.home2-hero .flickity-page-dots {
		bottom: 20% !important;
	}
}

@media (min-width: 1280px) {
    /* Desktop */
}

@media (min-width: 1920px) {
    /* Large Desktop */
}

/* ==========================================================================
   MAX-WIDTH (Desktop First - Ưu tiên từ cao xuống thấp)
   ========================================================================== */

@media (max-width: 1920px) {
    /* Max Large Desktop */
}

@media (max-width: 1280px) {
    /* Max Desktop */
}

@media (max-width: 1024px) {
    /* Max Laptop / iPad Pro */
}

@media (max-width: 820px) {
    /* Max Tablet L */
}

@media (max-width: 768px) {
    /* Max Tablet */
}

@media (max-width: 430px) {

    /* Max Mobile XL */
	.home2-hero {
		padding-bottom: 0px !important;
	}
	
    .counter-absolute {
        padding: 1rem;
		position: relative;
		bottom: auto;
		transform: none;
		margin-top: 2rem !important;
		box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 375px) {
    /* Max Mobile L */
}