/* ===== GIỎ HÀNG ===== */

.gh-main {
    padding: 28px 135px 60px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.gh-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gh-right {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
}

/* ===== CONTROL BAR ===== */
.gh-control-bar {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gh-check-all-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    user-select: none;
}

/* ===== CUSTOM CHECKBOX ===== */
.gh-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #d8eaff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
    background: #fff;
}

.gh-checkbox i {
    font-size: 11px;
    color: #fff;
    display: none;
}

.gh-checkbox.checked {
    background: #7ABEFA;
    border-color: #7ABEFA;
}

.gh-checkbox.checked i {
    display: block;
}

/* Nút xóa đã chọn */
.gh-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.15s;
}

.gh-delete-btn i {
    font-size: 20px;
}

.gh-delete-btn:hover {
    color: #e53935;
}

/* ===== ITEM LIST ===== */
#ghItemList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== ITEM CARD ===== */
.gh-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: box-shadow 0.15s;
    border: 1.5px solid transparent;
}

.gh-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.gh-item.selected {
    border-color: #7ABEFA;
    box-shadow: 0 2px 12px rgba(122, 190, 250, 0.20);
}

.gh-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.gh-item-info {
    flex: 1;
}

.gh-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.4;
}

.gh-item-detail {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

/* ===== SUMMARY CARD ===== */
.gh-summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gh-summary-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.gh-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #444;
}

.gh-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.gh-btn-checkout {
    border: 1.5px solid #7ABEFA;
    background: #fff;
    color: #7ABEFA;
    border-radius: 10px;
    padding: 13px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 6px;
}

.gh-btn-checkout:hover {
    background: #7ABEFA;
    color: #fff;
}

/* ===== EMPTY STATE ===== */
.gh-empty {
    text-align: center;
    padding: 70px 20px;
    color: #aaa;
}

.gh-empty i {
    font-size: 52px;
    margin-bottom: 18px;
    color: #cce4ff;
    display: block;
}

.gh-empty p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #888;
}

.gh-empty a {
    color: #7ABEFA;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.gh-empty a:hover {
    text-decoration: underline;
}
