header {
    padding: 15px 0;
    background-color: var(--green-3);
    /* border-bottom: 1px solid var(--orange-1); */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

header .header {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

header .header .col-1 {
    margin: auto 0;
}

header .header .col-1 a {
    text-decoration: none;
}

header .header .col-1 a button {
    padding: 8px 30px;
    border: 1px solid var(--orange-1);
    border-radius: 0.5rem;
    background-color: transparent;
    color: var(--green-5);
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

header .header .col-1 a button:hover {
    background-color: var(--green-4);
    border: 1px solid var(--orange-2);
}

header .header .col-1 a button .fa {
    padding-right: 5px;
    font-weight: 600;
}

header .header .col-2 {
    width: 20%;
    margin: auto 0;
}

header .header .col-2 a {
    text-decoration: none;
}

header .header .col-2 a img {
    width: 100%;
    height: 100%;
    filter: brightness(1);
    transition: 0.3s;
}

header .header .col-2 a img:hover {
    filter: brightness(0.8);
}

/* <---> */

#searchResult {
    color: var(--green-5);
    text-align: center;
}

.search-result {
    color: var(--green-5);
    text-align: center;
}

.search-result a {
    text-decoration: none;
}

.search-result a button {
    padding: 0.5rem 1rem;
    margin: 0 15px;
    border: 1px solid var(--green-5);
    border-radius: 0.5rem;
    background-color: var(--green-3);
    color: var(--orange-1);
    cursor: pointer;
    transition: 0.3s;
}

.search-result a button:hover {
    background-color: var(--green-5);
    color: var(--green-3);
}

#product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    column-count: 4;
    padding: 20px 0;
}

#product-list .product {
    /* Fixed width for 4 columns with gap */
    flex: 0 0 calc(25% - 20px);
    /* Fixed width for 3 columns with gap */
    /* flex: 0 0 calc(33.3333% - 13.33px); */
    margin-bottom: 20px; /* Space below each item */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    background-color: var(--green-3); /* Background color for cards */
    border: 1px solid var(--grey-1); /* Light border */
    border-radius: 8px; /* Rounded corners */
    /* padding: 10px; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    position: relative; /* Position relative for overlay */
    /* text-align: center; */
    transition: 0.3s;
}

#product-list .product:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); /* Subtle shadow for depth */
}

#product-list .product img {
    width: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    filter: brightness(1);
    transition: 0.3s;
}

#product-list .product:hover img {
    filter: brightness(0.9);
}

#product-list .product h3 {
    text-align: left;
    color: var(--green-5);
    padding: 0 20px;
}

#product-list .product p {
    text-align: left;
    font-size: 14px;
    line-height: 21px;
    padding: 0 20px;
}

#product-list .product h4 {
    text-align: right;
    color: var(--orange-1);
    padding: 0 20px;
}

/* <---> */

@media screen and (max-width: 414px) {
    header .header {
        width: 90%;
    }
    header .header .col-1 a button {
        padding: 6px 20px;
        font-size: 12px;
    }
    header .header .col-2 {
        width: 50%;
    }
    
    #product-list {
        display: block;
        flex-wrap: unset;
        justify-content: unset;
        column-count: unset;
    }
}