.cart-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    z-index: 100;
    height: 50px;
}

.cart-content {
    margin-top: 50px;
    padding-bottom: 120px;
}

.cart-tabs {
    background: #fff;
    display: flex;
    border-bottom: 1px solid #eee;
}

.cart-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.cart-tab.active {
    color: #333;
    font-weight: bold;
}

.cart-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #ff4757;
}

.cart-items {
    background: #f5f5f5;
}

.shop-section {
    background: #fff;
    margin-bottom: 10px;
}

.shop-header {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-info {
    display: flex;
    align-items: center;
}

.shop-checkbox {
    margin-right: 10px;
}

.shop-name {
    font-size: 14px;
    color: #333;
}

.shop-badge {
    background: #ff4757;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 5px;
}

.cart-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.item-checkbox {
    margin-right: 10px;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80px;
}

.item-title {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.item-price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.item-price {
    color: #ff4757;
    font-weight: bold;
    font-size: 16px;
}

.item-original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 5px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 40px;
    height: 30px;
    border: none;
    text-align: center;
    font-size: 14px;
}

.recommendations {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}

.recommendations-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.recommendation-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
}

.recommendation-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 8px;
}

.recommendation-title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 5px;
}

.recommendation-price {
    color: #ff4757;
    font-weight: bold;
    font-size: 14px;
}

.cart-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-all {
    display: flex;
    align-items: center;
}

.select-all input {
    margin-right: 8px;
}

.cart-total {
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff4757;
}

.checkout-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}