/* Main Container */
.cart-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 70px 70px 70px;
}

/* Breadcrumb */
.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
}
.cart-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.cart-breadcrumb a:hover {
    color: var(--secondary-color);
}
.cart-breadcrumb i {
    font-size: 12px;
    color: var(--text-muted);
}
.cart-breadcrumb span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Two column layout */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* LEFT COLUMN: Cart items */
.cart-items-section {
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.section-header {
    padding: 24px 28px 16px 28px;
    border-bottom: 1px solid var(--border-light);
}

.section-header h2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--secondary-color);
    font-size: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 6px;
}

/* Cart items list */
.cart-items-list {
    padding: 0 24px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
    flex-wrap: wrap;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 2;
    min-width: 200px;
}

.cart-product-image {
    width: 80px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.item-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.item-meta span {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-muted);
    padding: 2px 10px;
    border-radius: 20px;
}

.item-meta .material-tag {
    background: var(--faded-primary);
    color: var(--button-primary);
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 44px;
    padding: 4px 8px;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-light);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--bg-muted);
}

.quantity-num {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
}

.item-total {
    font-weight: 700;
    font-size: 17px;
    min-width: 85px;
    text-align: right;
    color: var(--primary-color);
}

.item-labels {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 60px;
    text-align: center;
}

.remove-item {
    background: transparent;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: 40px;
    transition: all 0.2s;
    width: 36px;
}

.remove-item:hover {
    color: var(--danger-color);
    background: #fff2f0;
}

/* Empty cart state */
.empty-state {
    text-align: center;
    padding: 60px 28px;
}
.empty-state i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 18px;
}
.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* RIGHT COLUMN: Order summary */
.order-summary {
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 28px;
    position: sticky;
    top: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}

.summary-row.shipping {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 2px solid var(--border-light);
    color: var(--secondary-color);
}

.billing-currency-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background-color: var(--faded-primary);
    border-left: 3px solid var(--button-primary);
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.4;
}

.billing-currency-notice i {
    color: var(--button-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.billing-currency-notice strong {
    color: var(--text-light);
    font-weight: 600;
}

.checkout-btn {
    background: var(--button-primary);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 48px;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 24px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background: #0d852b;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.clear-cart-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    width: 100%;
    padding: 12px;
    border-radius: 48px;
    font-family: var(--main-font);
    font-weight: 500;
    margin-top: 12px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
}

.clear-cart-btn:hover {
    background: var(--bg-muted);
    border-color: #ccc;
}

/* Quick add suggestions */
.quick-suggestions {
    margin-top: 32px;
    background: #fefaf5;
    border-radius: 20px;
    padding: 18px;
    border: 1px solid #ffe8db;
}

.quick-suggestions h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.suggestion-item i {
    font-size: 12px;
    color: var(--button-primary);
}

.suggestion-item:hover {
    background: var(--button-primary);
    color: white;
    border-color: var(--button-primary);
}
.suggestion-item:hover i {
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .cart-wrapper {
        padding: 24px 24px 50px 24px;
    }
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .order-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .cart-wrapper {
        padding: 16px 16px 40px 16px;
    }
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        position: relative;
        padding: 20px 0;
    }
    .item-info {
        gap: 12px;
    }
    .item-quantity {
        justify-content: space-between;
        width: 100%;
        margin-top: 8px;
    }
    .item-total {
        text-align: left;
        margin-top: 8px;
        font-size: 16px;
    }
    .item-labels {
        text-align: left;
        margin-top: 4px;
    }
    .remove-item {
        position: absolute;
        top: 12px;
        right: 8px;
    }
    .section-header {
        padding: 16px 20px 12px 20px;
    }
    .section-header h2 {
        font-size: 18px;
    }
    .cart-items-list {
        padding: 0 16px;
    }
}

/* Toast message */
.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1a1a1a;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}