.cart-page {
    background: linear-gradient(to bottom, #fdfbf6 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.cart-header {
    background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(138, 122, 63, 0.15);
}

.cart-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-header h1 i {
    font-size: 28px;
}

.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.95;
}

.cart-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cart-breadcrumb a:hover {
    opacity: 0.8;
}

.cart-breadcrumb span {
    opacity: 0.7;
}

.alert-modern {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-modern i {
    font-size: 20px;
}

.alert-modern-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.alert-modern-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.alert-modern .close {
    color: white;
    opacity: 0.8;
    font-size: 24px;
    font-weight: 300;
}

.cart-item-card {
    background: white;
    border: 2px solid #e5d9c3;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-item-card:hover {
    border-color: #8a7a3f;
    box-shadow: 0 4px 16px rgba(138, 122, 63, 0.12);
    transform: translateY(-2px);
}

.cart-item-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e5d9c3;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-name:hover {
    color: #8a7a3f;
}

.cart-item-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cart-item-unit-price {
    font-size: 20px;
    font-weight: 700;
    color: #8a7a3f;
}

.cart-item-original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.cart-item-discount-badge {
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.quantity-value {
    background: #faf6ed;
    border: 2px solid #e5d9c3;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    color: #8a7a3f;
    min-width: 60px;
    text-align: center;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.total-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: #8a7a3f;
}

.cart-item-remove {
    margin-left: auto;
}

.btn-remove {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #ef4444;
    background: white;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
}

.btn-remove:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.cart-summary-section {
    margin-top: 40px;
}

.cart-summary-card {
    background: white;
    border: 2px solid #e5d9c3;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 160px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5d9c3;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
}

.summary-row.discount {
    color: #10b981;
    font-weight: 600;
}

.summary-row.total {
    border-top: 2px solid #e5d9c3;
    margin-top: 10px;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 700;
}

.summary-total-label {
    color: #2f2f2f;
    font-size: 20px;
}

.summary-total-price {
    color: #8a7a3f;
    font-size: 28px;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(138, 122, 63, 0.3);
    margin-top: 20px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 122, 63, 0.4);
    color: white;
}

.btn-continue-shopping {
    width: 100%;
    background: white;
    color: #8a7a3f;
    border: 2px solid #8a7a3f;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-continue-shopping:hover {
    background: #faf6ed;
    transform: translateY(-2px);
    color: #6f6134;
}

.empty-cart-container {
    background: white;
    border: 2px solid #e5d9c3;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.empty-cart-icon {
    font-size: 80px;
    color: #e5d9c3;
    margin-bottom: 24px;
}

.empty-cart-title {
    font-size: 24px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 12px;
}

.empty-cart-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.btn-start-shopping {
    background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(138, 122, 63, 0.3);
}

.btn-start-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 122, 63, 0.4);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-page {
        padding: 20px 0;
    }

    .cart-header {
        padding: 20px 0;
        margin-bottom: 24px;
    }

    .cart-header h1 {
        font-size: 24px;
    }

    .cart-header h1 i {
        font-size: 22px;
    }

    .cart-breadcrumb {
        font-size: 13px;
    }

    .cart-item-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .cart-item-content {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
    }

    .cart-item-name {
        font-size: 16px;
    }

    .cart-item-price-row {
        flex-wrap: wrap;
    }

    .cart-item-unit-price {
        font-size: 18px;
    }

    .cart-item-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cart-item-quantity {
        justify-content: space-between;
    }

    .cart-item-total {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        background: #faf6ed;
        border-radius: 8px;
    }

    .total-label {
        font-size: 14px;
    }

    .total-price {
        font-size: 20px;
    }

    .cart-item-remove {
        margin-left: 0;
    }

    .btn-remove {
        width: 100%;
        height: 44px;
    }

    .cart-summary-card {
        position: static;
        padding: 20px;
        margin-top: 24px;
    }

    .summary-title {
        font-size: 18px;
    }

    .summary-total-label {
        font-size: 18px;
    }

    .summary-total-price {
        font-size: 24px;
    }

    .empty-cart-container {
        padding: 40px 20px;
    }

    .empty-cart-icon {
        font-size: 60px;
    }

    .empty-cart-title {
        font-size: 20px;
    }
}