/* 顶部区域 */
.geng-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
}

.geng-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #333;
}

.geng-location i {
    font-size: 16px;
    color: #666;
}

.geng-manage {
    font-size: 14px;
    color: #666;
}

/* 标签切换 */
.geng-tab-bar {
    display: flex;
    background: #fff;
    padding: 0 15px;
    border-bottom: 1px solid #f5f5f5;
}

.geng-tab {
    padding: 12px 0;
    margin-right: 20px;
    font-size: 14px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.geng-tab.active {
    color: #333;
    font-weight: 500;
}

.geng-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0089dc;
    border-radius: 1px;
}

/* 空购物车 */
.geng-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
}

.geng-empty-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.geng-empty-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.geng-empty-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.geng-empty-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.geng-browse-btn {
    padding: 8px 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

/* 底部结算栏 */
.geng-checkout-bar {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #fff;
    border-top: 1px solid #f5f5f5;
}

/* 复选框样式 */
.geng-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.geng-checkbox input {
    display: none;
}

.geng-checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.geng-checkbox input:checked + .geng-checkmark {
    background: #0089dc;
    border-color: #0089dc;
}

.geng-checkbox input:checked + .geng-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.geng-label-text {
    font-size: 14px;
    color: #333;
}

.geng-total {
    flex: 1;
    text-align: right;
    margin-right: 15px;
    font-size: 14px;
}

.geng-total .price {
    font-size: 18px;
    font-weight: bold;
    color: #ff2b2b;
}

.geng-checkout-btn {
    padding: 8px 24px;
    background: #0089dc;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.geng-checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 适配安全区域 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .geng-checkout-bar {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
} 