/* Highlights the active link for the 'products' page in the navigation bar */
.container .nav .nav-items ul .products a {
    color: #eca049;

    /* Creates glowing text effects */
    text-shadow: 0px 3px 8px #eca049;
    text-shadow: 1px 1px 2px #232126;

    text-decoration: none;
}

/* Main body container */
.container .body {
    margin: 120px auto;
    width: 100%;
}

/* Section header styles */
.container .body .header {
    text-align: center;
    font-size: 40px;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: system-ui;
    margin-bottom: 30px;
    text-shadow: 2px 4px 16px #eca049;
}

/* Highlighted text in the header */
.container .body .header span {
    color: #eca049;
    text-shadow: 2px 1px 2px white;
}

/* Container for products section */
.container .body .products {
    margin: 40px auto;
    width: 82%;
    height: 220px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Individual product cards */
.container .body .products .product1,
.container .body .products .product2,
.container .body .products .product3 {
    width: 400px;
    height: 470px;
    background-color: #232126;
    border: 1px solid black;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    align-content: space-evenly;
}

/* Product header icons container */
.container .body .products .product1 .product-items,
.container .body .products .product2 .product-items,
.container .body .products .product3 .product-items {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 27% 0;
}

/* Icons in the product items section */
.container .body .products .product-items i {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Product image container */
.container .body .products .product-image {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Product title */
.container .body .products h4 {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 20px;
}

.container .body .products h4 a {
    all: unset;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline animation on hover */
.container .body .products h4 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #eca049;
    transition: width 0.3s ease;
}

.container .body .products h4 a:hover {
    color: #ffffff;
}

.container .body .products h4 a:hover::after {
    width: 100%;
    /* Expand underline */
}

/* Product rating section */
.container .body .products .product-rate {
    order: 4;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Product rating stars */
.container .body .products .product-rate i {
    margin-right: 2px;
}

/* Product price display */
.container .body .products .price {
    order: 7;
    font-size: 20px;
}

/* Adds a price after the product description */
.container .body .products .price::after {
    content: "$20.99";
    margin-left: 4px;
    font-size: small;
    text-decoration: line-through;
}