body {
    background-color: #333;
}

/* ===== Start of Product Card Styles ===== */
.product-card {
    margin-bottom: 20px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
/* ===== End of Product Card Styles ===== */

/* ===== Start of Card Styles ===== */
.product-card .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.2s;
}
/* ===== End of Card Styles ===== */

/* ===== Start of Image Styles ===== */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
/* ===== End of Image Styles ===== */

/* ===== Start of Product Info Styles ===== */
.product-info {
    text-align: center;
    margin-top: auto;
    padding: 10px;
}

.product-info h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
/* ===== End of Product Info Styles ===== */

/* ===== Start of Card Hover Styles ===== */
.product-card:hover {
    transform: scale(1.02);
}

.product-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* ===== End of Card Hover Styles ===== */

/* ===== Start of Header Content Styles ===== */
.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 0;
}
/* ===== End of Header Content Styles ===== */

/* ===== Start of Logo Styles ===== */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 80px;
    height: auto;
    margin-right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
/* ===== End of Logo Styles ===== */

/* ===== Start of Search Bar Styles ===== */
.search-bar {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.search-bar input {
    width: 100%;
    max-width: 600px;
    padding: 10px 20px;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.search-bar input:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #4285f4; /* Google blue */
}

.search-bar button {
    margin-left: 10px;
    padding: 10px 20px;
    font-size: 18px;
    color: white;
    background-color: #4285f4; /* Google blue */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar button:hover {
    background-color: #357ae8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-bar button:focus {
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* ===== End of Search Bar Styles ===== */

/* ===== Start of Animation Styles ===== */
@keyframes fadeSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-card.fade-out {
    animation: fadeSlideOut 0.5s forwards;
}

.product-card.fade-in {
    animation: fadeSlideIn 0.5s forwards;
}
/* ===== End of Animation Styles ===== */

/* ===== Start of Hidden Product Card Styles ===== */
.product-card.hidden {
    display: none !important;
}
/* ===== End of Hidden Product Card Styles ===== */

/* ===== Start of Loading Spinner Styles ===== */
#loading {
    text-align: center;
    margin: 20px 0;
}

.hidden {
    display: none;
}
/* ===== End of Loading Spinner Styles ===== */

/* ===== Start of Mobile Styles ===== */
@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .search-bar {
        width: 100%;
    }
}
/* ===== End of Mobile Styles ===== */
