@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

body {
    font-family: 'Poppins', sans-serif !important;
}

.gallery-container {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
}

.inner-page-main .inner-title .wrapper .title {
    font-size: 40px;
    font-weight: 700;
    color: green;
    background: url('../static/assets/home_page_images/hero_section.png');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 15rem;
    width: auto;
    margin: 0;
    padding: 0;
}

.category-container {
    display: flex;
    overflow: hidden;
    margin: 0 10px;
    padding: 10px;
    margin-bottom: 20px;
    white-space: nowrap;
    width: 100%;
    max-width: 79%;
    position: relative;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-container {
    scrollbar-width: none;
}

.category-button {
    background-color: white;
    border: 1px solid green;
    color: black;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    padding: 10px 20px;
    margin-right: 10px;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
}

.category-button:hover {
    background-color: green;
    color: white;
    transition: .5s ease;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 275px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card h3 {
    margin: 10px 0;
    font-size: 16px;
    text-align: left;
    padding: 0 10px;
}

.pagination {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.pagination button {
    padding: 10px 15px;
    border: none;
    background-color: green;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
}

.pagination button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-container {
        max-width: 90%;
    }

    .product-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .inner-page-main .inner-title .wrapper .title {
        font-size: 30px;
        height: 12rem;
    }

    .category-container {
        flex-direction: row;
        align-items: center;
        display: flex;
        overflow: hidden;
        margin: 0 10px;
        padding: 5px;
        margin-bottom: 20px;
        white-space: nowrap;
        width: 100%;
        max-width: auto;
        position: relative;
    }

    .category-button {
        margin-bottom: 10px;
        width: 50%;
        text-align: center;
        font-size: 8px;
    }

    .product-card {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .inner-page-main .inner-title .wrapper .title {
        font-size: 24px;
        height: 10rem;
    }

    .category-container {
        padding: 5px;
        max-width: 100%;
    }

    .category-button {
        font-size: 12px;
        padding: 8px 15px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-card h3 {
        font-size: 14px;
        padding: 0 5px;
    }

    .pagination button {
        padding: 8px 10px;
    }
}
