.container {
    max-width: 1200px;
    margin: 7rem auto;
    overflow: hidden;
    padding: var(--main-padding-box);
}

#categoryTitle {
    color: var(--main-text-color);
    font-size: 3.2rem;
    text-align: center;
    padding: 0rem 0rem 7rem 0rem;
    font-weight: 400;
}

#productsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

@media (max-width: 769px) {
    .container {
        margin: 7rem 0.8rem;
        padding: 0rem;
    }
    
    #productsContainer {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

.product-card {
    cursor: pointer;
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    /* height: 350px; */
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.product-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    left: -100%;
    transition: all 0.5s ease;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 100%);
}

.product-card h3 span {
    font-size: 1.2rem;
    font-weight: 300;
    color: white;
    margin: 0rem 0rem 2rem 2rem;
    position: relative;
}

.product-card h3:hover {
    left: 0%;
    opacity: 1;
    
}

.product-card p {
    color: white;
    overflow: hidden;
    position: absolute;
    bottom: 3.6rem;
    left: 2rem;
}

.product-card p span {
    position: relative;
    left: 100%;
    opacity: 0;
    transition: left 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

.product-card:hover p span {
    left: 0;
    opacity: 0.8;
}

#showMoreBtn {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid var(--main-text-color);
    background-color: transparent;
    padding: 0.8rem 4rem;
    margin: 4rem auto;  
    font-size: 1rem;
    font-weight: 450;
    color: var(--main-text-color);
    overflow: hidden;
    z-index: 10;
    width: fit-content;
    cursor: pointer;
    position: relative;
    left: 50%;
    transform: translateX(-50%);

}

#showMoreBtn:hover {
    color: rgb(41, 41, 41);
    border-color: rgb(41, 41, 41);
}

#showMoreBtn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--main-text-color);
    left: 0%;
    top: 0;
    z-index: -1;
    transition: clip-path 0.3s ease-out;
    clip-path: circle(0.4% at 0 100%);
}

#showMoreBtn:hover::before  {
    transition: clip-path 0.3s ease-out;
    clip-path: circle(141.2% at 0 100%);
}