/* Main content container styling */
.container .body {
    margin-top: 100px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 100px;
}

/* Header text styling */
.container .body .header {
    text-align: center;
    font-size: 35px;
    font-weight: bolder;
    font-family: system-ui;
    margin-bottom: 50px;
    text-shadow: 2px 6px 8px #eca049;
}

/* Special text highlight within the header */
.container .body .header span {
    color: #eca049;
    text-shadow: 2px 1px 2px white;
}

/* Global "table" column settings */
.product {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.column-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #dddddd3c;
    padding-bottom: 20px;
    font-weight: bold;
}

.column-labels label {
    flex: 1;
    text-align: center;
}

/* Product image styling */
.product-image img {
    max-width: 100px;
    max-height: 100px;
}

/* Product column layout */
.product-image,
.product-details,
.product-price,
.product-quantity,
.product-removal,
.product-line-price {
    flex: 1;
    text-align: center;
}

/* Product details styling */
.product-details {
    text-align: left;
    padding: 0 10px;
}

.product-details .product-title {
    font-size: 20px;
    font-weight: bold;
}

/* Product title link styling */
.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 .shopping-cart .product .product-details .product-title a {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.container .body .shopping-cart .product .product-details .product-title a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #eca049;
    transition: width 0.3s ease;
}

.container .body .shopping-cart .product .product-details .product-title a:hover {
    color: #ffffff;
}

.container .body .shopping-cart .product .product-details .product-title a:hover::after {
    width: 100%;
}

/* Product quantity input styling */
.product .product-quantity input {
    background-color: black;
    color: white;
    border: 1px solid #cccccc6a;
    border-radius: 5px;
    padding: 4px;
    font-size: 14px;
}

/* Product description styling */
.product-details .product-description {
    margin-top: 20px;
    font-size: 14px;
    font-style: italic;
    color: rgb(204, 242, 242);
    text-transform: lowercase;
}

/* Product price and line price styling */
.product-price,
.product-line-price {
    font-weight: bold;
}

/* Product quantity input width */
.product-quantity input {
    width: 50px;
    text-align: center;
}

/* Remove product button styling */
.remove-product {
    padding: 5px 10px;
    background-color: #c66;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.remove-product:hover {
    background-color: #a44;
}

/* Totals section styling */
.totals {
    text-align: right;
    margin-top: 30px;
}

.totals .totals-item {
    display: flex;
    justify-content: flex-end;
    padding: 5px 0;
    font-size: 1em;
}

.totals .totals-item label {
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

.totals .totals-value {
    flex: 0.3;
    text-align: right;
}

/* Checkout button styling */
.checkout {
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin-right: 8rem;
}

.checkout:hover {
    background-color: #494;
}

/* Footer positioning */
footer {
    position: absolute;
    bottom: -130px !important;
}