/* Basic styles for the website */
/* Basic styles for the website */
body {
    font-family: 'Lexend', Arial, sans-serif; /* Use Lexend font */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Primary background color */
}

header {
    background-color: #336699;
    color: #FFDBB5; /* Header text color */
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #EFCA08; /* Optional: Add a border for better visibility */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

main {
    padding: 20px;
}

h1, h2 {
    color: #F7FFF7;
}

.product-section {
    margin-right: 300px; /* Leave space for cart */
}

.product-listing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 250px; /* Square size */
    height: 250px; /* Square size */
    border: 2px solid #ccc; /* Product outline color */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}


.product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px; /* Rounded edges for the image */
}

.description {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

button {
    background: none;
    color: #333;
    border: 2px solid #333; /* Button outline color */
    padding: 10px 20px;
    border-radius: 12px; /* Rounded button edges */
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #ddd; /* Hover effect for buttons */
}

/* Cart fixed to the right */
#cart-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

#cart {
    margin-top: 20px;
}

#cart p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-select {
    width: 50px;
}

.delete-btn {
    background: none;
    color: red;
    border: 2px solid red;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 8px; /* Rounded Delete button */
}

.delete-btn:hover {
    background-color: #fdd; /* Hover color for Delete button */
}

#cart-total {
    margin-top: 20px;
    font-weight: bold;
}

#cart-description {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

#checkout-button {
    background: none;
    color: #333;
    border: 2px solid #333; /* Checkout button outline color */
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 12px; /* Rounded Checkout button */
}

#checkout-button:hover {
    background-color: #ddd; /* Hover color for Checkout button */
}

/* Responsive design */
@media (max-width: 768px) {
    .product-listing {
        flex-direction: column;
        align-items: center;
    }
    
    .product-section {
        margin-right: 0;
    }

    #cart-container {
        width: 100%;
        height: auto;
        position: relative;
        top: unset;
        right: unset;
        margin-top: 20px;
    }
    
    footer {
        position: relative;
    }
}

}

header {
    background-color: #333;
    color: #EFCA08; /* Header text color */
    padding: 20px;
    text-align: center;
	text-color: #00000;
    border-bottom: 2px solid #EFCA08; /* Optional: Add a border for better visibility */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

main {
    padding: 20px;
}

h1, h2 {
    color: #00000;
}

.product-section {
    margin-right: 300px; /* Leave space for cart */
}

.product-listing {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 250px; /* Square size */
    height: 400px; /* Square size */
    border: 2px solid #ccc; /* Product outline color */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px; /* Rounded edges for the image */
}

.description {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

button {
    background: none;
    color: #333;
    border: 2px solid #333; /* Button outline color */
    padding: 10px 20px;
    border-radius: 12px; /* Rounded button edges */
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #ddd; /* Hover effect for buttons */
}

/* Cart fixed to the right */
#cart-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

#cart {
    margin-top: 20px;
}

#cart p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-select {
    width: 50px;
}

.delete-btn {
    background: none;
    color: red;
    border: 2px solid red;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 8px; /* Rounded Delete button */
}

.delete-btn:hover {
    background-color: #fdd; /* Hover color for Delete button */
}

#cart-total {
    margin-top: 20px;
    font-weight: bold;
}

#cart-description {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

#checkout-button {
    background: none;
    color: #333;
    border: 2px solid #333; /* Checkout button outline color */
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 12px; /* Rounded Checkout button */
}

#checkout-button:hover {
    background-color: #ddd; /* Hover color for Checkout button */
}

/* Responsive design */
@media (max-width: 768px) {
    .product-listing {
        flex-direction: column;
        align-items: center;
    }
    
    .product-section {
        margin-right: 0;
    }

    #cart-container {
        width: 100%;
        height: auto;
        position: relative;
        top: unset;
        right: unset;
        margin-top: 20px;
    }
    
    footer {
        position: relative;
    }
}
