.cart-section {
    padding: 20px;
    background: #f8f9fa;
    min-height: 60vh;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    background: #4a4a4a;
    color: white;
}

.cart-header h1 {
    font-size: 22px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.clean-basket {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.clean-basket:hover {
    background: rgba(255, 107, 107, 0.1);
}

.cart-main-content {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: #f8f9fa;
}

.cart-items-section {
    flex: 2;
}

.donation-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8e9ea;
    transition: all 0.3s ease;
}

.donation-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.item-image {
    width: 60px;
    height: 60px;
    background: #701f27;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.item-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.item-donor {
    font-size: 12px;
    color: #888;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #666;
}

.quantity-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.quantity-display {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.item-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.remove-btn {
    color: #e74c3c;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.remove-btn:hover {
    color: #c0392b;
}

.cart-summary-section {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    border: 1px solid #e8e9ea;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.complete-btn {
    width: 100%;
    background: #701f27;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.complete-btn:hover {
    background: #ffffff;
    color: #701F27;
    outline: solid 1px #701F27;
    transform: translateY(-2px);
}

.continue-btn {
    width: 100%;
    background: transparent;
    color: #666;
    border: none;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.continue-btn:hover {
    color: #333;
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}

@media (max-width: 970px) {
    .cart-section {
        padding: 10px;
    }

    .cart-main-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .cart-header {
        padding: 15px 20px;
    }

    .cart-header h1 {
        font-size: 20px;
    }

    .donation-item {
        gap: 12px;
        padding: 15px;
    }

    .item-image {
        width: 50px;
        height: 50px;
        font-size: 10px;
    }

    .item-title {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .item-subtitle {
        font-size: 12px;
    }

    .item-donor {
        font-size: 10px;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .quantity-display {
        width: 30px;
        font-size: 14px;
    }

    .item-price {
        font-size: 14px;
    }

    .remove-btn {
        font-size: 16px;
    }

    .cart-summary-section {
        padding: 20px;
    }
}

@media (max-width: 468px) {
    .donation-item {
        gap: 8px;
        padding: 12px;
    }

    .item-image {
        width: 40px;
        height: 40px;
        font-size: 9px;
    }

    .item-title {
        font-size: 16px;
    }

    .item-subtitle {
        font-size: 13px;
    }

    .item-donor {
        font-size: 11px;
    }

    .item-controls {
        gap: 8px;
    }

    .quantity-controls {
        gap: 6px;
    }

    .quantity-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .quantity-display {
        width: 24px;
        font-size: 12px;
    }

    .item-price {
        font-size: 14px;
    }
}
