
/* Main Categories */
.sub-categories {
    overflow: hidden;
    transition: all 0.4s ease;
}

    .sub-categories.active {
        max-height: 500px; /* Ä‘á»§ chá»©a sub */
        opacity: 1;
        transform: translateY(0);
    }

.main-categories {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #4e4e4e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
}
.main-categories ul {
	justify-content: center;
}
.category-item {
    width: 16%;
    text-align: center;
}

    .category-item.active .category-label,
    .category-item:hover .category-label {
        color: #0b5b50;
    }

    .category-item.active img,
    .category-item:hover img {
        filter: brightness(0) saturate(100%) invert(26%) sepia(51%) saturate(470%) hue-rotate(131deg) brightness(90%) contrast(90%);
    }

    .category-item a {
        position: relative;
        padding: 20px 0;
        display: block;
        width: max-content;
        margin: auto;
    }

    .category-item:hover a::before,
    .category-item.active a::before {
        transform: scaleX(1);
    }

    .category-item a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--mcolor);
        left: 0;
        bottom: 5px;
        transition: all 0.3s;
        transform: scaleX(0);
    }

.category-icon {
    width: 27px;
    height: 27px;
    object-fit: cover;
}

.category-label {
    font-size: 16px;
    color: #4e4e4e;
}

.category-separator {
    width: 1px;
    height: 47px;
    background-color: #e5e5e5;
}

.active-line {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 102px;
    height: 2px;
    background-color: #0b5b50;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
}

/* Sub Categories */
.sub-category {
    width: 20%;
    text-align: center;
    position: relative;
}

    .sub-category::after {
        content: "";
        position: absolute;
        right: 0;
        top: 14px;
        width: 2px;
        height: 30px;
        background-color: #e5e5e5;
    }

    .sub-category:last-child::after {
        content: none;
    }

.sub-categories {
    /* display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px 0;
  position: relative; */
}

.sub-category a {
    font-size: 16px;
    color: #4e4e4e;
    position: relative;
    padding: 20px 0;
    display: block;
    width: max-content;
    margin: auto;
}

    .sub-category a::after {
        content: "";
        position: absolute;
        width: 3px;
        height: 10px;
        background: var(--mcolor);
        left: 0;
        bottom: 5px;
        transition: all 0.3s;
        transform: scaleX(0);
    }

.sub-category:hover a::before {
    transform: scaleX(1);
}

.sub-category a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--mcolor);
    left: 0;
    bottom: 5px;
    transition: all 0.3s;
    transform: scaleX(0);
}

.sub-category.active a,
.sub-category:hover a {
    color: #0b5b50;
}

.sub-category.active {
    color: #0b5b50;
}

    .sub-category.active .active-line {
        position: absolute;
        bottom: -16px;
        left: 0;
        width: 156px;
        height: 2px;
        background-color: #0b5b50;
    }

/* Brand Logos */
.brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 0;
    /*flex-wrap: wrap;*/
}

.brand-logo {
    height: 52px;
    object-fit: contain;
}

/* Breadcrumb */
.breadcrumb {
    padding: 32px 16px 24px;
    font-size: 24px;
}

.breadcrumb-item {
    color: #4e4e4e;
}

    .breadcrumb-item.active {
        color: #0b5b50;
    }

/* Product Cards */
.products {
    margin: 0 auto;
    padding: 30px 0;
}

.product-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

    .product-card.odd {
        flex-direction: row-reverse;
    }

    .product-card.even {
        flex-direction: row;
    }

.card-image {
    width: 60%;
	overflow: hidden;
    border-radius: 15px;
}
.card-image p {
	overflow: hidden;
    border-radius: 15px;
}
/*.card-image:hover img {
	transform: scale(1.1);
}*/
    .card-image img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover;
		transition: all 0.3s ease;
		border-radius: 15px;
    }

.product-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.card-content {
    position: absolute;
    right: 0;
    width: 50%;
    background: rgba(243, 243, 243, 0.76);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    padding: 32px;
}

.product-card.odd .card-content {
    left: 0;
    right: auto;
}
.card-content h2, #popup_des h2{
	font-weight: bold;
    color: #0b5b50;
    font-size: 24px;
    margin-bottom: 24px;
}
.card-title {
    font-weight: bold;
    color: #0b5b50;
    font-size: 24px;
    margin-bottom: 24px;
}

.card-content p {
    font-size: 18px;
    color: #4E4E4E;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-button {
    /* width: 106px; */
    /* height: 30px; */
    background-color: #0b5b50;
    border: none;
    border-radius: 18px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px 20px;
    display: inline-block;
}

    .card-button:hover {
        background-color: rgba(11, 91, 80, 0.9);
    }

.product-card.odd {
    flex-direction: row-reverse;
}

.product-card.even {
    flex-direction: row;
}

.product-cards.odd .product-card .card-content {
    left: 0;
    right: auto;
}
.card-text ul li {
    margin-left: 25px;
    list-style: disc;
    margin-bottom: 5px;
    color: #4E4E4E;
    font-size: 18px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .category-item {
        width: 50%;
    }

    .sub-category {
        width: 50%;
        border: none;
    }

    .card-image {
        width: 100%;
    }

    .card-content {
        position: relative;
        width: 100%;
        padding: 32px 16px;
    }

    .banner-title {
        position: absolute;
        top: -65px;
        left: 15px;
        font-size: 20px;
    }
	.card-text ul li {
		font-size: 16px;
	}
	.card-content p {
		font-size: 16px;
	}
}
