/***********************************
************************************
******* / Products banner / ********
************************************
***********************************/
.products {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 30vh;
    background-color: var(--banner-bg-color);
}

.products h1 {
    font-size: 50px;
}

.products p a {
    color: var(--black-color);
}

.products p a:hover {
    color: var(--main-color);
}

/***********************************
************************************
******* / Products banner / ********
************************************
***********************************/
.products-section {
    padding: var(--padding-lg);
}

.product-section-container {
    display: flex;
    flex-wrap: wrap;
}

.product-categories-dropdown {
    flex: 1;
    max-width: 25%;
}

.product-category {
    margin-bottom: 10px;
}

.product-category-header {
    display: flex;
    gap: 40px;
    align-items: center;
    cursor: pointer;
}

.product-category-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.product-category-header:hover {
    color: var(--main-color);
}

.product-category-list {
    display: none;
}

.product-category-list li {
    margin-block: 15px;
}

.product-category-list li a {
    color: var(--black-color);
}

.product-category-list li a:hover {
    color: var(--main-color);
}

.product-category-list.show-dropdown {
    display: block;
}

.product-list {
    flex: 2;
    max-width: 75%;
    display: flex;
    flex-wrap: wrap;
}

.product-content {
    width: 33.33%;
    padding: 10px;
    box-sizing: border-box;
    display: block;
    border:0px solid red;
}

.product-content:hover {
    box-shadow: 0 0 5px var(--black-color);
}

.product-category-image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.product-category-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
}

.product-info p {
    font-size: 14px;
}

/***********************************
************************************
********* / Responsive / ***********
************************************
***********************************/
@media (max-width: 1024px) {
    .products-section {
        padding: var(--padding-md);
    }

    .product-category-header {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products h1 {
        font-size: 36px;
    }

    .product-content {
        width: 50%;
    }

    .product-content {
        padding: 5px;
    }

    .product-list {
        max-width: 100%;
    }

    .product-categories-dropdown {
        display: none;
    }

    .product-category-list {
        display: block;
    }

    .products-section {
        padding: var(--padding-sm);
    }
}