/*
 * PRECISE Bespoke Award Manufacturing - Cart Page Styles
 * 
 * This file contains styles specific to the cart page (cart.php)
 */

.cart-page h1 {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.empty-cart-message {
    text-align: center;
    padding: var(--space-xxl);
    background-color: var(--clr-background-card);
    border-radius: var(--br-md);
    box-shadow: var(--shadow-light);
    margin: var(--space-xl) auto;
    max-width: 700px;
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-light), var(--shadow-inset-crystal);
}

.cart-items {
    background-color: var(--clr-background-card);
    border-radius: var(--br-md);
    box-shadow: var(--shadow-light);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-light), var(--shadow-inset-crystal);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--clr-border-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: var(--br-sm);
    border: 1px solid var(--clr-border-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex-grow: 1;
}

.item-details h3 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.3rem;
}

.item-details h3 a {
    color: var(--clr-text-main);
    text-decoration: none;
}

.item-details h3 a:hover {
    color: var(--clr-green-blue);
    text-decoration: none;
}

.item-price {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: var(--space-xs);
}

.customization-summary {
    background-color: rgba(var(--clr-sky-blue), 0.1);
    border: 1px solid rgba(var(--clr-sky-blue), 0.2);
    border-radius: var(--br-md);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9em;
    color: var(--clr-text-main);
    box-shadow: var(--shadow-light);
}

.customization-summary ul {
    list-style: disc;
    margin: 0.5em 0 0.5em 1.5em;
}

.customization-summary ul li {
    margin-bottom: 0.2em;
}

.item-quantity-control {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.quantity-input {
    width: 70px;
    padding: 0.5rem;
    border: 1px solid var(--clr-border-light);
    border-radius: var(--br-sm);
    text-align: center;
    font-size: 1rem;
}

.item-subtotal {
    font-weight: bold;
    font-size: 1.3rem;
    text-align: right;
    flex-shrink: 0;
    width: 150px;
    color: var(--clr-green-blue);
}

.item-actions {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
}

.cart-summary {
    background-color: var(--clr-background-card);
    border-radius: var(--br-md);
    box-shadow: var(--shadow-light);
    padding: var(--space-lg);
    text-align: right;
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-light), var(--shadow-inset-crystal);
}

.cart-summary h2 {
    margin-top: 0;
    color: var(--clr-denim);
    font-size: 2.2rem;
}

.cart-actions {
    margin-top: var(--space-lg);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
}

