/***********************************
************************************
******* / 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%;
    padding-top: 10px;
}
.product-categories-dropdown > .inside {
    border:0px solid red;
    background-color: var(--main-color);
    padding: 30px 10px;
}

.product-category {
    margin-bottom: 10px;
}

.product-category-header {
    display: flex;
    gap: 40px;
    align-items: center;
    cursor: pointer;
    color: var(--white-color);
}

.product-category-header h3 {
    font-size: 18px;
    font-weight: 400;
}

.product-category-header:hover {
    color: var(--white-color);
}

.product-category-list {
    display: none;
    background-color: var(--main-color);
    padding:10px 10px;
}

.product-category-list li {
    margin-block: 5px;
}

.product-category-list li a {
    color: var(--white-color);
    font-size: 14px;
}

.product-category-list li a:hover {
    color: var(--white-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;
}

.product-content:hover {
    box-shadow: 0 0 5px var(--black-color);
}

.product-category-image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    background-color: var(--white-color);
}

.product-category-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}
.product-content .product-info {
    width: 100%;
    border: 0px solid red;
}
.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    border: 0px solid blue;
    width: 100% !important;
    margin: 10px 0;
}

.product-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

/***********************************
************************************
********* / 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);
    }
}