/* Footer page */

.email-footer-form .elementor-form-fields-wrapper.elementor-labels-above {
	flex-wrap: nowrap;
}

.email-footer-form .elementor-field-type-email.elementor-field-group.elementor-column.elementor-field-group-name.elementor-col-80 {
	width: 100%;
}

.email-footer-form .elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-20.e-form__buttons {
	width: 16%;
	position: absolute;
	right: 0;
}

.email-footer-form input {
	height: 54px;
	border-radius: 4px !important;
}

.email-footer-form button {
	height: 54px;
	padding: 17px 18px 18px 20px !important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	.email-footer-form .elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-20.e-form__buttons {
		width: 30%;
	}
}






/* Về Chúng Tôi Page - Tabs */
.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title {
	color: #989494; /* Default color */
}

.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
	color: #121111;
}

.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text {
	margin-right: 24px;
}

.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title::after {
	content: "/";
}

.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title:last-child::after {
	content: none;
}

.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title:last-child .e-n-tab-title-text {
	margin-right: 0;
}

@media (max-width: 768px) {
	.tabs-phan-phoi .e-n-tabs-heading {
		display: flex;
		flex-wrap: nowrap;
		margin-bottom: 20px;
	}
	
	.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title {
		margin-bottom: 0;
		margin-top: 0 !important;
	}

	.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
		margin-bottom: 0 !important;
	}

	.tabs-phan-phoi .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text {
		margin-right: 6px;
	}
}






/* Trang sản phẩm */
.homenest__page-product .product-filter-buttons {
    display: flex;
    gap: 40px;
    margin-bottom: 76px;
    justify-content: center;
}

.homenest__page-product .filter-btn {
    border-radius: 8px;
    border: 0.6px solid #BFBDBD;
    background: #F8F8F8;
    min-width: 181px;
    display: flex;
    padding: 10px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #181A1B;
    font-family: Averta;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 44px;
    transition: all 0.3s;
}

.homenest__page-product .filter-btn:hover,
.homenest__page-product .filter-btn.active {
    background: #29B4CF;
    color: #FFF;
    font-weight: 600;
}

.homenest__page-product .category-section {
    display: none;
}
.homenest__page-product .category-section.active {
    display: block;
    width: 100%;
}

.homenest__page-product .subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    column-gap: 83px;
    row-gap: 48px;
    margin-bottom: 96px;
}

.homenest__page-product .subcategory-block {
    border: none;
    padding: 0;
    border-radius: 8px;
}
.homenest__page-product .subcategory-block h3 {
    margin: 0;
    text-decoration: none;
    color: #000;
    font-family: Averta;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    text-transform: uppercase;
}

.homenest__page-product .subcategory-block .subcat-row {
    display: flex;
    gap: 22px;
    margin-top: 5px;
}

.homenest__page-product .subcategory-block .subcat-row img {
    margin-top: 0;
}

.homenest__page-product .subcategory-block img {
    width: 100%;
    border-radius: 4px;
    margin: 8px 0 0 0;
    aspect-ratio: 1 / 1;
    background: #F1F0F0;
    object-fit: cover;
}

.homenest__page-product .subcat-description {
    margin: 0;
    margin-top: -5px;
    color: #181A1B;
    font-family: Averta;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.homenest__page-product .product-cat-image {
    width: 67%;
}

.homenest__page-product .product-list {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.homenest__page-product .product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.homenest__page-product .product-thumb {
    width: 40px;
    height: 40px;
    aspect-ratio: 1 / 1;
    border: 0.6px solid #BFBDBD;
    border-radius: 0;
    padding: 3px;
}

.homenest__page-product .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    border-radius: 8px;
}

.homenest__page-product .product-item h4 {
    margin: 0;
    font-size: 14px;
    line-height: 150%;
}

.homenest__page-product .product-item h4 a {
    color: #181A1B;
    font-family: Averta;
    font-style: normal;
    font-weight: 400;
    white-space: wrap;
    transition: all .3s ease;
}

.homenest__page-product .product-item:hover h4 a {
    color: #29b4cf;
}

.homenest__page-product .subcategories-pagination {
    text-align: center;
    margin-top: 2rem;
}
.homenest__page-product .subcategories-pagination .next,
.homenest__page-product .subcategories-pagination .prev {
    border-radius: 8px;
    border: #E9EAEB;
    background: #FFF;
}

.homenest__page-product .subcategories-pagination .page-numbers {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    color: #454A53;
    font-family: Averta;
    font-size: 12px;
    font-weight: 400;
}

.homenest__page-product .subcategories-pagination .current {
    background: #D7DADB;
    color: black;
    border-color: #D7DADB;
}

@media (max-width: 1200px) {
	.homenest__page-product .subcategories-grid {
		column-gap: 36px;
		row-gap: 28px;
	}
}


@media (max-width: 834px) {
	.homenest__page-product .product-filter-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
        margin-bottom: 40px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-y: none;
        width: calc(100% + 32px);
        margin-left: -16px;
        padding-bottom: 5px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
    }

    .homenest__page-product .product-filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .homenest__page-product .filter-btn {
        min-width: max-content;
        flex: 0 0 auto;
        font-size: 14px;
        line-height: 24px;
        white-space: nowrap;
        padding: 10px 10px;
        scroll-snap-align: start;
        user-select: none;
        -webkit-user-select: none;
        touch-action: pan-x pan-y;
    }

    .homenest__page-product .filter-btn:hover,
    .homenest__page-product .filter-btn.active {
        font-size: 14px;
        line-height: 24px;
    }
	
	
 .homenest__page-product .subcategory-block .subcat-row {
        flex-direction: column;
        gap: 16px;
    }
	
	.homenest__page-product .subcategory-block .subcat-row > * {
    width: 100%;
}
	.homenest__page-product .subcategories-grid {
    column-gap: 16px;
    row-gap: 28px;
}
}

@media (max-width: 768px) {
    

    .homenest__page-product .subcategories-grid {
        
        margin-bottom: 48px;
       
    }

    .homenest__page-product .subcategory-block h3 {
        font-size: 20px;
        line-height: 32px;
    }

   

    

    .homenest__page-product .subcat-description {
        font-size: 12px;
        line-height: 24px;
    }

    .homenest__page-product .product-list {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .homenest__page-product .product-item {
        width: 100%;
    }

    

    .homenest__page-product .product-thumb img {
        height: auto;
    }

    

    .homenest__page-product .subcategories-pagination {
        margin-top: 32px;
        padding: 0 16px;
    }

    .homenest__page-product .subcategories-pagination .page-numbers {
        padding: 0.25rem 0.75rem;
        font-size: 10px;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tabs-mobile {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
        margin-bottom: 40px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-y: none;
        width: calc(100% + 32px);
        margin-left: -16px;
        padding-bottom: 5px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tabs-mobile::-webkit-scrollbar {
        display: none;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tab-title {
        min-width: max-content;
        flex: 0 0 auto;
        font-size: 14px;
        line-height: 24px;
        white-space: nowrap;
        padding: 10px 5px;
        scroll-snap-align: start;
        user-select: none;
        -webkit-user-select: none;
        touch-action: pan-x pan-y;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tab-title:hover,
    .homenest__page-product .tabs-trang-san-pham .e-n-tab-title[aria-selected="true"] {
        font-size: 14px;
        line-height: 24px;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tabs-heading {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tabs-heading .e-n-tab-title {
        margin: 0 !important;
    }

    .homenest__page-product .tabs-trang-san-pham .e-n-tabs-heading .e-n-tab-title-text {
        min-width: max-content;
        flex: 0 0 auto;
        font-size: 12px;
        line-height: 24px;
        white-space: nowrap;
        padding: 0;
        scroll-snap-align: start;
        user-select: none;
        -webkit-user-select: none;
        touch-action: pan-x pan-y;
    }
}

@media (max-width: 480px) {
	.homenest__page-product .subcategories-grid {
    grid-template-columns: 1fr;
}
}
