/* ============================================
   CART PAGE - Styles
   ============================================ */

/* Cart Page */
.cart-page {
    padding: 8rem 4rem 4rem;
    min-height: 80vh;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-header {
    margin-bottom: 3rem;
    text-align: center;
}

.cart-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.cart-subtitle {
    font-size: 0.85rem;
    color: var(--grey);
}

/* Cart Content */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--black-light);
    transition: all var(--transition-normal);
}

.cart-item-image {
    width: 120px;
    height: 150px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.cart-item-image .product-placeholder {
    font-size: 2rem;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-category {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cart-item-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.cart-item-variant {
    font-size: 0.8rem;
    color: var(--grey);
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.cart-item-remove:hover {
    color: var(--error);
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.cart-item-price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
}

/* Quantity Selector */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(201, 169, 98, 0.3);
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.qty-btn:hover {
    background: rgba(201, 169, 98, 0.1);
    color: var(--gold);
}

.qty-input {
    width: 50px;
    height: 36px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(201, 169, 98, 0.3);
    border-right: 1px solid rgba(201, 169, 98, 0.3);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Continue Shopping */
.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 1rem;
    transition: opacity var(--transition-normal);
}

.continue-shopping:hover {
    opacity: 0.8;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: var(--black-light);
    padding: 2rem;
    border: 1px solid rgba(201, 169, 98, 0.1);
}

.summary-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.summary-row span:first-child {
    color: var(--grey);
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.total-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.shipping-value {
    color: var(--success);
}

/* Tax Info */
.tax-info {
    font-size: 0.75rem;
    color: var(--grey);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Secure Badge */
.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--grey);
}

.secure-badge svg {
    color: var(--gold);
}

/* Cart Reassurance */
.cart-reassurance {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--black-light);
}

.reassurance-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.reassurance-item h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.reassurance-item p {
    font-size: 0.75rem;
    color: var(--grey);
}

/* Sur-Mesure CTA in Cart */
.cart-surmesure {
    padding: 5rem 4rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--black-light) 0%, var(--black) 100%);
    border-top: 1px solid rgba(201, 169, 98, 0.1);
}

.cart-surmesure .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cart-surmesure .cta-description {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .cart-page {
        padding: 6rem 2rem 3rem;
    }

    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: relative;
        top: 0;
    }

    .cart-surmesure {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .cart-page {
        padding: 5rem 1.5rem 2rem;
    }

    .cart-title {
        font-size: 2rem;
    }

    .cart-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .cart-item-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .cart-surmesure {
        padding: 3rem 1.5rem;
    }
}
