/* Highlights the active navigation link for the 'menu' page */
.container .nav .nav-items ul .menu a {
    color: #eca049;
    text-shadow: 0px 3px 8px #eca049;
    text-shadow: 1px 1px 2px #232126;
    text-decoration: none;
}

/* Main body container for products */
.container .body {
    margin: 130px auto 100px;
    width: 80%;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-template-rows: repeat(2, 300px);
    grid-template-areas:
        "1st 1st 1st 2nd 2nd 2nd 3rd 3rd 3rd 4th 4th 4th"
        "5th 5th 5th 6th 6th 6th";
}
    
/* Styling for each product card */
.container .body div {
    background-color: #232126;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-evenly;
}

/* Product images */
.container .body div img {
    width: 100px;
    height: 100px;
}

/* Product titles */
.container .body div h4 {
    width: 100%;
    margin: -15px auto 0;
    text-align: center;
}

/* Product descriptions */
.container .body div p {
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

/* Adds a price after the product description */
.container .body div p::after {
    content: "$20.99";
    margin-left: 4px;
    font-size: small;
    font-weight: 100;
    text-decoration: line-through;
}

/* Custom grid area assignments */
.container .body .product1 {
    grid-area: 1st;
}

.container .body .product2 {
    grid-area: 2nd;
}

.container .body .product3 {
    grid-area: 3rd;
}

.container .body .product4 {
    grid-area: 4th;
}

.container .body .product5 {
    grid-area: 5th;
}

.container .body .product6 {
    grid-area: 6th;
}

/* Removing link styling of product names */
.container .body div a {
    all: unset;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline animation on hover */
.container .body div a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #eca049;
    transition: width 0.3s ease;
}

.container .body div a:hover {
    color: #ffffff;
}

.container .body div a:hover::after {
    width: 100%;
}

/* Button styles */
.container .body button {
    padding: 12px 30px;
    font-size: 15px;
    background-color: #eca049;
    color: white;
    box-shadow: 1px 1px 6px 1px #eca049;
}

/* Hover effect for buttons */
.container .body button:hover {
    background-color: #232126;
    color: #eca049;
    border: none;
}

/* Footer positioning */
footer {
    position: absolute;
    bottom: -150px !important;
}