/* Cart */
.cart-section h1 { margin-bottom: 2rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }

.cart-items { display: flex; flex-direction: column; gap: 0.75rem; }
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1rem;
}
.cart-item-image { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 700; margin-bottom: 0.25rem; }
.cart-item-type { font-size: 0.85rem; color: var(--text-muted); }
.cart-item-price { font-weight: 800; font-size: 1.1rem; color: var(--primary); white-space: nowrap; }
.cart-item-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    opacity: 0.6;
    transition: opacity var(--transition);
}
.cart-item-remove:hover { opacity: 1; }

.cart-summary-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 80px;
}
.cart-summary-card h3 { margin-bottom: 1rem; }
.summary-line { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.95rem; }
.summary-total { font-weight: 800; font-size: 1.15rem; border-top: 2px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; }

.checkout-form { margin: 1.5rem 0; }
.checkout-form h4 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.checkout-form .form-group { margin-bottom: 0.75rem; }
.checkout-form input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
}
.checkout-form input:focus { outline: none; border-color: var(--primary); }
.checkout-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.cart-trust { margin-top: 1rem; text-align: center; }
.cart-trust p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.25rem; }

/* Checkout result */
.checkout-result { padding: 3rem 0; }
.result-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
}
.result-icon { font-size: 3rem; margin-bottom: 1rem; }
.result-success .result-icon { color: var(--green); }
.result-cancel .result-icon { font-size: 4rem; }
.result-card h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.result-card p { color: var(--text-muted); margin-bottom: 0.5rem; }
.result-order-id { font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.result-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; }

/* Downloads */
.download-section { margin: 1.5rem 0; text-align: left; }
.download-section h3 { margin-bottom: 0.75rem; }
.download-list { display: flex; flex-direction: column; gap: 0.5rem; }
.download-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.download-item img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.download-info { flex: 1; }
.download-info strong { display: block; font-size: 0.9rem; }
.download-info span { font-size: 0.8rem; color: var(--text-muted); }
.print-notice { background: #fef3c7; padding: 1rem; border-radius: var(--radius-sm); margin: 1rem 0; text-align: left; }

/* Orders table */
.orders-table { background: var(--bg-white); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.account-actions { margin-top: 2rem; }

/* Order detail */
.order-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.order-items-list { display: flex; flex-direction: column; gap: 0.75rem; }
.order-item-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-bottom: 1px solid var(--border-light); }
.order-item-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.order-item-info { flex: 1; }
.order-item-info strong { display: block; font-size: 0.9rem; }
.order-item-info span { font-size: 0.8rem; color: var(--text-muted); }
.order-item-info small { display: block; font-size: 0.75rem; color: var(--text-light); }
.order-item-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
